Home
last modified time | relevance | path

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

/system/vold/
DCryptoType.h85 constexpr bool isValidCryptoType(size_t max_keylen, const CryptoType& crypto_type) { in isValidCryptoType() argument
88 (crypto_type.get_keysize() <= max_keylen)); in isValidCryptoType()
96 constexpr bool validateSupportedCryptoTypes(size_t max_keylen, const CryptoType types[], in validateSupportedCryptoTypes() argument
98 return len == 0 || (isValidCryptoType(max_keylen, types[len - 1]) && in validateSupportedCryptoTypes()
99 validateSupportedCryptoTypes(max_keylen, types, len - 1)); in validateSupportedCryptoTypes()
Dcryptfs.cpp2709 unsigned int max_keylen; in cryptfs_setfield() local
2733 max_keylen = strlen(fieldname); in cryptfs_setfield()
2736 max_keylen += 1 + log10(num_entries); in cryptfs_setfield()
2738 if (max_keylen > PROPERTY_KEY_MAX - 1) { in cryptfs_setfield()