summaryrefslogtreecommitdiffstats
path: root/twrpDigestDriver.hpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-06-17twrpDigest refactorbigbiff bigbiff1-16/+12
This patch is to refactor twrpDigest using polymorphism and inheritance to use the same call patterns for creating and reading a digest. Now a library. Use SHA2 from libcrypto. SHA2 is default if device has libcrypto. Change string MD5 everywhere to use digest or Digest instead. Updated string tags to digest. Translation will be required. Switch out digest code into a driver class from partitionmanager. SHA2 is better for digest creation due to decreased collision space compared to MD5 and SHA1. See https://en.wikipedia.org/wiki/SHA-2 Change-Id: I74b5546789990b12aa4ce2e389d25f80a3fe213f
2014-04-15Add find file class to search for filesEthan Yonker1-16/+14
Scan a folder for a file based on file name. First scan the files in the current path, then search real directories and finally search symlinks in that order. Goal is to locate important sysfs files for things like brightness, battery capacity, lun files, etc This implementation just scans for the brightness file for the LCD Change-Id: I8ed3e74a2e2851d58b443718b6e92b50a5491f08
2013-10-24Update licenses to all matchDees Troy1-0/+1
Change-Id: I3be70a897e563658736b2dec3a9ea2697b69b225
2013-10-22Update licenses to all matchDees Troy1-0/+1
2013-08-24Unify indentation and little clean-up in TWRP filesVojtech Bocek1-12/+15
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2013-03-17trying to fix md5bigbiff bigbiff1-1/+1
Change-Id: I4ec037f76aa965bc818afe924942adbe9a080b36
2013-03-07use md5.c for computation of md5sumsbigbiff bigbiff1-11/+18
create a framework for computing digests and reading digests in TWRP add space for backwards compatibility with bb md5sum Change-Id: Ia18e3f430eed5eba22e5052d39b9b8d88ecd4536
2013-02-07Add write buffer for tar writesDees_Troy1-0/+28
update fuse to 2.9.2 catch return from unlink so that we don't print error messages when things work Change-Id: I1115039a0fa5d9d73f78ef1abd79755d7ffd9d96