Lines Matching refs:keylen
24 const EVP_MD *digest, int keylen, unsigned char *out, in ossl_pkcs5_pbkdf2_hmac_ex() argument
60 if (EVP_KDF_derive(kctx, out, keylen, params) != 1) in ossl_pkcs5_pbkdf2_hmac_ex()
77 0, keylen, out, keylen); in ossl_pkcs5_pbkdf2_hmac_ex()
84 int saltlen, int iter, const EVP_MD *digest, int keylen, in PKCS5_PBKDF2_HMAC() argument
88 keylen, out, NULL, NULL); in PKCS5_PBKDF2_HMAC()
94 int keylen, unsigned char *out) in PKCS5_PBKDF2_HMAC_SHA1() argument
101 digest, keylen, out, NULL, NULL); in PKCS5_PBKDF2_HMAC_SHA1()
188 unsigned int keylen = 0; in PKCS5_v2_PBKDF2_keyivgen_ex() local
198 keylen = EVP_CIPHER_CTX_get_key_length(ctx); in PKCS5_v2_PBKDF2_keyivgen_ex()
199 OPENSSL_assert(keylen <= sizeof(key)); in PKCS5_v2_PBKDF2_keyivgen_ex()
215 keylen = t; in PKCS5_v2_PBKDF2_keyivgen_ex()
219 if (kdf->keylength && (ASN1_INTEGER_get(kdf->keylength) != (int)keylen)) { in PKCS5_v2_PBKDF2_keyivgen_ex()
255 keylen, key, libctx, propq)) in PKCS5_v2_PBKDF2_keyivgen_ex()
259 OPENSSL_cleanse(key, keylen); in PKCS5_v2_PBKDF2_keyivgen_ex()