1. 18 Aug, 2017 1 commit
  2. 17 Jun, 2017 1 commit
    • bigbiff bigbiff's avatar
      twrpDigest refactor · 56cf5646
      bigbiff bigbiff authored
      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
  3. 28 Feb, 2017 1 commit
  4. 28 Dec, 2016 1 commit
  5. 30 Nov, 2016 1 commit
    • James Christopher Adduono's avatar
      MD5 verification sanity · 79ae093c
      James Christopher Adduono authored
      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)
  6. 05 Feb, 2016 1 commit
  7. 03 Feb, 2016 1 commit
  8. 29 Jan, 2016 1 commit