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()
2727 unsigned int max_keylen; in cryptfs_setfield() local2751 max_keylen = strlen(fieldname); in cryptfs_setfield()2754 max_keylen += 1 + log10(num_entries); in cryptfs_setfield()2756 if (max_keylen > PROPERTY_KEY_MAX - 1) { in cryptfs_setfield()