Home
last modified time | relevance | path

Searched refs:crypto_type (Results 1 – 4 of 4) sorted by relevance

/aosp12/system/vold/
H A DCryptoType.h85 constexpr bool isValidCryptoType(size_t max_keylen, const CryptoType& crypto_type) { in isValidCryptoType() argument
86 return ((crypto_type.get_config_name() != nullptr) && in isValidCryptoType()
87 (crypto_type.get_kernel_name() != nullptr) && in isValidCryptoType()
88 (crypto_type.get_keysize() <= max_keylen)); in isValidCryptoType()
H A Dcryptfs.cpp319 static CryptoType crypto_type = in get_crypto_type() local
322 return crypto_type; in get_crypto_type()
1958 auto crypto_type = get_crypto_type(); in cryptfs_setup_ext_volume() local
1959 if (key.size() != crypto_type.get_keysize()) { in cryptfs_setup_ext_volume()
1961 crypto_type.get_keysize()); in cryptfs_setup_ext_volume()
1973 ext_crypt_ftr.keysize = crypto_type.get_keysize(); in cryptfs_setup_ext_volume()
1974 strlcpy((char*)ext_crypt_ftr.crypto_type_name, crypto_type.get_kernel_name(), in cryptfs_setup_ext_volume()
/aosp12/system/core/init/
H A Dbuiltins.cpp1123 std::string crypto_type = android::base::GetProperty("ro.crypto.type", ""); in do_load_persist_props() local
1124 if (crypto_state == "encrypted" && crypto_type == "block") { in do_load_persist_props()
/aosp12/frameworks/base/core/proto/android/os/
H A Dsystem_properties.proto387 optional string crypto_type = 22; field