summaryrefslogtreecommitdiff
path: root/libfscrypt
diff options
context:
space:
mode:
authorNathan Huckleberry <nhuck@google.com>2022-11-18 18:52:55 +0000
committerNathan Huckleberry <nhuck@google.com>2022-11-18 18:52:55 +0000
commit70a63a14517297970f02def5487c1caf15575f51 (patch)
treedbd96c435a8d0f6659ccce5babe2f2535bcb8b81 /libfscrypt
parent0dc11ad901801115bc38142a4e8151888447ecc7 (diff)
downloadextras-70a63a14517297970f02def5487c1caf15575f51.tar.gz
Remove unnecessary HCTR2 macro in libfscrypt
The HCTR2 definition is no longer needed since the 6.0 kernel headers were pulled into Android in change I282de83f23b432bef58214108a93700bdadddf0f Bug: 233652475 Test: Ensured that code still compiles and CTS test still passes Change-Id: I331128a2f8f20a39d41a984902732d19511b8d1e
Diffstat (limited to 'libfscrypt')
-rw-r--r--libfscrypt/fscrypt.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libfscrypt/fscrypt.cpp b/libfscrypt/fscrypt.cpp
index 677017a6..174cecad 100644
--- a/libfscrypt/fscrypt.cpp
+++ b/libfscrypt/fscrypt.cpp
@@ -39,9 +39,6 @@
using namespace std::string_literals;
-/* This can be removed once this macro is available in <linux/fscrypt.h> */
-#define FSCRYPT_MODE_AES_256_HCTR2 10
-
/* modes not supported by upstream kernel, so not in <linux/fscrypt.h> */
#define FSCRYPT_MODE_AES_256_HEH 126
#define FSCRYPT_MODE_PRIVATE 127