Searched refs:supported_crypto_types (Results 1 – 2 of 2) sorted by relevance
/aosp12/system/vold/ |
H A D | MetadataCrypt.cpp | 66 constexpr CryptoType supported_crypto_types[] = {aes_256_xts, adiantum}; variable 68 static_assert(validateSupportedCryptoTypes(64, supported_crypto_types, 69 array_length(supported_crypto_types)), 181 if (cipher_name.empty()) return supported_crypto_types[0]; in lookup_cipher() 182 for (size_t i = 0; i < array_length(supported_crypto_types); i++) { in lookup_cipher() 183 if (cipher_name == supported_crypto_types[i].get_config_name()) { in lookup_cipher() 184 return supported_crypto_types[i]; in lookup_cipher()
|
H A D | cryptfs.cpp | 308 constexpr CryptoType supported_crypto_types[] = {aes_128_cbc, android::vold::adiantum}; variable 310 static_assert(validateSupportedCryptoTypes(MAX_KEY_LEN, supported_crypto_types, 311 array_length(supported_crypto_types)), 320 lookup_crypto_algorithm(supported_crypto_types, array_length(supported_crypto_types), in get_crypto_type()
|