Searched refs:crypto_type (Results 1 – 4 of 4) sorted by relevance
85 constexpr bool isValidCryptoType(size_t max_keylen, const CryptoType& crypto_type) { in isValidCryptoType() argument86 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()
319 static CryptoType crypto_type = in get_crypto_type() local322 return crypto_type; in get_crypto_type()1958 auto crypto_type = get_crypto_type(); in cryptfs_setup_ext_volume() local1959 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()
1123 std::string crypto_type = android::base::GetProperty("ro.crypto.type", ""); in do_load_persist_props() local1124 if (crypto_state == "encrypted" && crypto_type == "block") { in do_load_persist_props()
387 optional string crypto_type = 22; field