diff options
author | Greg Kaiser <gkaiser@google.com> | 2018-08-01 12:34:32 -0700 |
---|---|---|
committer | Greg Kaiser <gkaiser@google.com> | 2018-08-07 10:15:19 -0700 |
commit | 270e90f033dd412206697e3a27aee76c24038c33 (patch) | |
tree | 1c76bbb0922d53896dd561604936000f6fa57a1d | |
parent | ae2e19dd96e47a084eac09c3b3095b3bef427415 (diff) | |
download | core-270e90f033dd412206697e3a27aee76c24038c33.tar.gz core-270e90f033dd412206697e3a27aee76c24038c33.tar.bz2 core-270e90f033dd412206697e3a27aee76c24038c33.zip |
Revert "Support Speck encryption."
This reverts commit 49c27c5cb2c48ce4665affe2b3086077c768a9ae.
Remove the Speck encryption support. It was eventually
decided not to allow Speck in Android P, so this code
is no longer needed and wasn't used outside of testing.
Bug: 112009351
Test: Confirmed AES continues to work with FBE.
Change-Id: Ia5458143be5687fff8d541d8fa2c8ee24a369da4
-rw-r--r-- | fs_mgr/fs_mgr_fstab.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs_mgr/fs_mgr_fstab.cpp b/fs_mgr/fs_mgr_fstab.cpp index 68cc530dd..c9fb7aa57 100644 --- a/fs_mgr/fs_mgr_fstab.cpp +++ b/fs_mgr/fs_mgr_fstab.cpp @@ -114,21 +114,17 @@ static struct flag_list fs_mgr_flags[] = { #define EM_ICE 2 #define EM_AES_256_CTS 3 #define EM_AES_256_HEH 4 -#define EM_SPECK_128_256_XTS 5 -#define EM_SPECK_128_256_CTS 6 static const struct flag_list file_contents_encryption_modes[] = { {"aes-256-xts", EM_AES_256_XTS}, - {"speck128/256-xts", EM_SPECK_128_256_XTS}, {"software", EM_AES_256_XTS}, /* alias for backwards compatibility */ - {"ice", EM_ICE}, /* hardware-specific inline cryptographic engine */ + {"ice", EM_ICE}, /* hardware-specific inline cryptographic engine */ {0, 0}, }; static const struct flag_list file_names_encryption_modes[] = { {"aes-256-cts", EM_AES_256_CTS}, {"aes-256-heh", EM_AES_256_HEH}, - {"speck128/256-cts", EM_SPECK_128_256_CTS}, {0, 0}, }; |