summaryrefslogtreecommitdiffstats
path: root/crypto/ext4crypt/HashPassword.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ext4crypt: support synthetic keys v3 on May updatePeter Cai2019-05-241-0/+8
| | | | | | | | | | | | Re-implemented SP800Derive in C++, which is added as the new key derivation function in Android 9.0 May update. From file services/core/java/com/android/server/locksettings/SP800Derive.java in frameworks/base. This is required to get TWRP working on any Android device that has a screen lock set up after the May update. Change-Id: I5c1a51b110033f2b0b75d5e36fd8098c05e95179
* Add spblob decrypt for secdis method (Pixel 1 non-weaver)Ethan Yonker2018-01-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Support decrypting Pixel 1 devices using secdis method with the gatekeeper instead of weaver. Add a bit of a dirty workaround to a permissions issue that the keystore presents because the keystore checks the uid of the calling process and refuses to let the root user add authorization tokens. We write the auth token to a file and start a separate service that runs under the system user. The service reads the token from the file and adds it to the keystore. You must define this service in your init.recovery.{hardware}.rc file: service keystore_auth /sbin/keystore_auth disabled oneshot user system group root seclabel u:r:recovery:s0 TWRP will run this service when needed. Change-Id: I0ff48d3355f03dc0be8e75cddb8b484bdef98772
* FBE for Pixel 2Ethan Yonker2017-11-281-0/+10
| | | | | | | | | | | | Includes various minor fixes for building in Android 8 trees with r23+ tag Update FBE extended header in libtar to version 2 and include the entire ext4_encryption_policy structure now after translating the policy. See this post for more details: https://plus.google.com/u/1/+DeesTroy/posts/i33ygUi7tiu Change-Id: I2af981e51f459b17fcd895fb8c2d3f6c8200e24b
* Support File Based EncryptionEthan Yonker2016-12-131-0/+24
Change-Id: Ib688ddd0c32d3999590cacd86b6d9b18eac336e9