Home
last modified time | relevance | path

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

/system/vold/
Dcryptfs.cpp67 static CryptoType crypto_type = in get_crypto_type() local
70 return crypto_type; in get_crypto_type()
105 auto crypto_type = get_crypto_type(); in cryptfs_setup_ext_volume() local
106 if (key.size() != crypto_type.get_keysize()) { in cryptfs_setup_ext_volume()
108 crypto_type.get_keysize()); in cryptfs_setup_ext_volume()
141 auto target = std::make_unique<DmTargetCrypt>(0, nr_sec, crypto_type.get_kernel_name(), in cryptfs_setup_ext_volume()
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()