96 Commits (72fb1a6d6c02cc01868a2b2e74342d0b8ae683e6)

Author SHA1 Message Date
Pavel Grafov e2e2d308df Zero memory used for encryuption keys.
7 years ago
Pavel Grafov b350ed02d5 Drop inode and page caches after evicting CE key.
7 years ago
Jeff Sharkey d794526962 Fully switch to mke2fs; set policies everywhere.
7 years ago
Rubin Xu 2436e27717 Add secdiscard command for secure deletion of files
7 years ago
Elliott Hughes c3bda18bda Switch to libkeyutils.
7 years ago
Paul Crowley f71ace310e Refactor to lay the groundwork for metadata encryption
7 years ago
Daniel Rosenberg 8ad0bef7b5 Revert "Stop dropping caches now we have kernel fix"
7 years ago
Eric Biggers fa4039b162 vold: unlink ext4 encryption keys rather than revoking them
7 years ago
Calin Juravle 4c4958d706 Merge "Vold: Clean up code related to foreign dex use" am: 61a7d1a815 am: aaa95fbdfe
7 years ago
Calin Juravle 3a68f14192 Vold: Clean up code related to foreign dex use
7 years ago
Eric Biggers b45caafbcc vold: allow specifying HEH filenames encryption
7 years ago
Andrew Scull 7ec25c715f Evict CE keys on request or when a user is removed.
8 years ago
Paul Crowley 4f70554179 Merge "Remove misleading comment (b/26948053)"
8 years ago
Paul Crowley 99360d76e5 Remove misleading comment (b/26948053)
8 years ago
Tao Bao 985d0805e7 Merge "Update the header path for ext4_utils." am: 6a18a6ddb5 am: 4759d1d637
8 years ago
Tao Bao 989fec2769 Update the header path for ext4_utils.
8 years ago
Paul Crowley 25a713873c Don't try to fixate CE keys for ephemeral users
8 years ago
Paul Crowley ab0b56aef3 Don't fail if a key we want to delete is already deleted
8 years ago
Paul Crowley abc253884f Don't evict keys when we delete users
8 years ago
Jeff Sharkey d24aeda425 Only restorecon CE storage after unlocked.
8 years ago
Paul Lawrence 6abe6831b5 Stop dropping caches now we have kernel fix
8 years ago
Paul Lawrence 6e41059734 Set encryption mode in mode file
8 years ago
Paul Lawrence 3ae29e7740 Revert "Add fileencrypted=software/ice to fstab options"
8 years ago
Paul Crowley 8fd77a05cc Two phases to set the password for disk encryption
8 years ago
Paul Crowley a363036b44 Two phases to set the password for disk encryption
8 years ago
Paul Lawrence 01f1bc7254 Add fileencrypted=software/ice to fstab options
8 years ago
Paul Crowley 44ddebaac0 Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev
8 years ago
Paul Crowley cfa03d4a4c Merge "e4crypt_is_native has been moved into system/extras." into nyc-dev
8 years ago
Paul Crowley 26642bf7bf Revert "Two phases to set the password for disk encryption"
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 4e44272c3d Two phases to set the password for disk encryption
8 years ago
Paul Crowley 92c5eeb467 Two phases to set the password for disk encryption
8 years ago
Paul Lawrence 85e3d8cd50 Drop caches after installing key policy to avoid cache clashes
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