66 Commits (cfa03d4a4c53acf41dca2c41a2efd00de06043bb)

Author SHA1 Message Date
Paul Crowley cfa03d4a4c Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev
8 years ago
Paul Crowley d402389290 Revert "Two phases to set the password for disk encryption"
8 years ago
Paul Crowley 4d2d5244d6 e4crypt_is_native has been moved into system/extras.
8 years ago
Paul Crowley 92c5eeb467 Two phases to set the password for disk encryption
8 years ago
Jeff Sharkey be70c9ae22 Consistent creation/destruction of user data.
8 years ago
Paul Crowley 71ee662ec3 Don't fail if the CE key isn't loaded in destroy_user_key
8 years ago
Paul Crowley df528a7011 Run clang-format over ext4crypt related code
8 years ago
Paul Crowley a051eb7a22 Use pointers not references for out arguments
8 years ago
Paul Crowley d9b9295b8c Fix memory leak in generate_key wrapper. Other fixes.
8 years ago
Paul Crowley ad8e26297b Merge "Use a proper key length for the mode." into nyc-dev
8 years ago
Paul Crowley 2199069aca Use a proper key length for the mode.
8 years ago
Calin Juravle d1ee944f08 Prepare profile directories only for the internal storage
8 years ago
Calin Juravle 493f5aa160 Create profile folder for foreign dex markers.
8 years ago
Calin Juravle 79f55a461f Prepare user profile folder
8 years ago
Paul Crowley ad2eb64413 Log a warning if old creds passed to change_user_key don't work.
9 years ago
Paul Crowley 63c18d3ba9 Add scrypt-based password stretching.
9 years ago
Paul Crowley 76107cb3f4 Prefer bool returns to int throughout
9 years ago
Paul Crowley 38132a1f66 Refactor now that global DE has been reworked
9 years ago
Paul Crowley 57eedbf8cb Fix some "false" returns to be "-1" where appropriate in e4crypt_enable
9 years ago
Jeff Sharkey 695d928286 e4crypt_unlock_user_key no longer likes nullptr.
9 years ago
Paul Crowley f7a0d007d2 Add new argument to unlock_user_key, fixing merge-caused error.
9 years ago
Paul Crowley 5c025bd9a5 Merge "Password security for FBE disk encryption keys" into nyc-dev
9 years ago
Paul Crowley 0572080814 Password security for FBE disk encryption keys
9 years ago
Jeff Sharkey 0754a45539 Emulation fixes: mics dirs, recover after disable.
9 years ago
Jeff Sharkey 47695b29af Allow callers to prepare CE/DE user storage.
9 years ago
Paul Lawrence f10544df96 Remove unencrypted_properties
9 years ago
Paul Lawrence 5a06a6481b Fix minor issues with previous change
9 years ago
Paul Lawrence aec34dfb1d Use consistent method for device key
9 years ago
Paul Lawrence 7b6b565fa0 Remove support for non-default root passwords in FBE
9 years ago
Paul Crowley b92f83c051 Add support for per-user DE keys.
9 years ago
Paul Crowley b1f3d242dd Refactor of Ext4Crypt.cpp in preparation for DE keys
9 years ago
Paul Crowley 8fb12fd835 Add init_user0 command.
9 years ago
Paul Crowley ea62e26ad3 Create disk encryption keys only when FBE enabled
9 years ago
Paul Crowley 13ffd8ef7a Improvements to the key storage module
9 years ago
Paul Crowley 1ef255816c Use a keymaster-based key storage module
9 years ago
Paul Crowley a042cb5761 Don't fail on unlock if we're not even emulating FBE
9 years ago
Paul Crowley 285956fe11 Rework FBE crypto to match the N way of doing things
9 years ago
Jeff Sharkey 7a9dd95cbc Offer to enforce "locked" state using SELinux.
9 years ago
Jeff Sharkey d2d7bffd0c Create /data/media directory for new users.
9 years ago
Lenka Trochtova 9ad4369ce8 Fix a bug in passing parameters to prepare_user_storage.
9 years ago
Paul Crowley 27cbce9214 Rename functions with a system/extras name collision.
9 years ago
Paul Lawrence ff9097f560 Fix create_user_key to take 3 params
9 years ago
Lenka Trochtova 395039f007 Introduce support for ephemeral users.
9 years ago
Jeff Sharkey fc505c3ff6 Emulate media encryption, always chmod to unlock.
9 years ago
Elliott Hughes 6bf0547ccc resolve merge conflicts of b7d5a47cec to master.
9 years ago
Elliott Hughes 7e128fbe21 Track rename from base/ to android-base/.
9 years ago
Jeff Sharkey a597d0a424 Use the right system property name.
9 years ago
Jeff Sharkey c79fb89a10 Switch to new FBE emulation property.
9 years ago
Paul Crowley 5512c50c09 Merge "Add --no-unlink option to secdiscard for testing."
9 years ago
Jeff Sharkey d2c96e7883 New granular encryption commands for framework.
9 years ago