| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I13c1b6be4e1f7dcd026bfaa03d0c097200d498ba
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We can use switches and enums to make things more understandable
and work with results in a more sensible manner.
PS2: Move file MD5 verification and error handling into
a separate function to reduce code.
PS3: Default to false in Check_Restore_File_MD5 function
Change-Id: Id3ee0bb444cf13be67bb5dec2c43f7c26a86b954
(cherry picked from commit 5c3950716e5c7c6279efd5f3f338d6d22e5215e2)
|
|
|
|
| |
Change-Id: Iabd66596c0d1b83935c4adc4ac048f3881284269
|
|
|
|
|
|
|
|
|
| |
add more strings
and fixes my mistakes in crowdin
ps2 remove whitespace
Change-Id: If79e61fba5c1b2e54be29286b23a1b418095b07c
|
|
|
|
| |
Change-Id: I949fe4bd99d2a4471fef3e3967980a6163943e71
|
|
- PS2: generic xml instead android xml
- PS3: formatting
Change-Id: I4c552e172d670278ab2bad1897ceb89b7ee7fec2
|