Searched refs:crypto_type (Results 1 – 2 of 2) sorted by relevance
67 static CryptoType crypto_type = in get_crypto_type() local70 return crypto_type; in get_crypto_type()105 auto crypto_type = get_crypto_type(); in cryptfs_setup_ext_volume() local106 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()
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()