summaryrefslogtreecommitdiffstats
path: root/twrpDigest/twrpDigest.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-06-17twrpDigest refactorbigbiff bigbiff1-17/+15
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
2016-01-29Replace fix permissions with fix contexts for emulated storageEthan Yonker1-13/+16
Fix permissions rarely fixed anything on more recent versions of Android and usually made things worse. Instead we will replace it with a more dumbed down option that should fix contexts on /data/media with a few improvements to ensure that contexts get fixed for multiple users and on adopted storage. Change-Id: If5523781936a0b04196e2ad871cae767ebae2583
2015-10-16Allow text to scale to fitEthan Yonker1-6/+13
Change-Id: Iacd4bb78f551b51d092ecde09521b5541e7dadcd
2013-10-24Update licenses to all matchDees Troy1-0/+18
Change-Id: I3be70a897e563658736b2dec3a9ea2697b69b225
2013-10-22Update licenses to all matchDees Troy1-0/+18
2013-02-07Add write buffer for tar writesDees_Troy1-0/+7
update fuse to 2.9.2 catch return from unlink so that we don't print error messages when things work Change-Id: I1115039a0fa5d9d73f78ef1abd79755d7ffd9d96