Home
last modified time | relevance | path

Searched refs:CryptoType (Results 1 – 5 of 5) sorted by relevance

/system/vold/
DCryptoType.h29 struct CryptoType { struct
35 constexpr CryptoType() : CryptoType(nullptr, nullptr, 0xFFFFFFFF) {} in CryptoType() argument
36 constexpr CryptoType set_keysize(size_t size) const { in set_keysize() argument
37 return CryptoType(this->config_name, this->kernel_name, size); in set_keysize()
39 constexpr CryptoType set_config_name(const char* property) const { in set_config_name() argument
40 return CryptoType(property, this->kernel_name, this->keysize); in set_config_name()
42 constexpr CryptoType set_kernel_name(const char* crypto) const { in set_kernel_name() argument
43 return CryptoType(this->config_name, crypto, this->keysize); in set_kernel_name()
55 constexpr CryptoType(const char* property, const char* crypto, size_t ksize) in CryptoType() argument
61 const CryptoType& lookup_crypto_algorithm(const CryptoType table[], int table_len,
[all …]
DCryptoType.cpp27 const CryptoType& lookup_crypto_algorithm(const CryptoType table[], int table_len, in lookup_crypto_algorithm()
28 const CryptoType& default_alg, const char* property) { in lookup_crypto_algorithm()
DMetadataCrypt.cpp60 struct CryptoType cipher = invalid_crypto_type;
72 constexpr CryptoType supported_crypto_types[] = {aes_256_xts, adiantum};
78 constexpr CryptoType legacy_aes_256_xts =
79 CryptoType().set_config_name("aes-256-xts").set_kernel_name("AES-256-XTS").set_keysize(64);
237 static const CryptoType& lookup_cipher(const std::string& cipher_name) { in lookup_cipher()
DAndroid.bp113 "CryptoType.cpp",
Dcryptfs.cpp77 using android::vold::CryptoType;
304 constexpr CryptoType aes_128_cbc = CryptoType()
309 constexpr CryptoType supported_crypto_types[] = {aes_128_cbc, android::vold::adiantum};
316 static const CryptoType& get_crypto_type() { in get_crypto_type()
320 static CryptoType crypto_type = in get_crypto_type()