Searched refs:max_keylen (Results 1 – 2 of 2) sorted by relevance
85 constexpr bool isValidCryptoType(size_t max_keylen, const CryptoType& crypto_type) { in isValidCryptoType() argument88 (crypto_type.get_keysize() <= max_keylen)); in isValidCryptoType()96 constexpr bool validateSupportedCryptoTypes(size_t max_keylen, const CryptoType types[], in validateSupportedCryptoTypes() argument98 return len == 0 || (isValidCryptoType(max_keylen, types[len - 1]) && in validateSupportedCryptoTypes()99 validateSupportedCryptoTypes(max_keylen, types, len - 1)); in validateSupportedCryptoTypes()
2709 unsigned int max_keylen; in cryptfs_setfield() local2733 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()