Lines Matching refs:keylen
34 size_t keylen, uint64_t N, uint64_t r,
48 size_t keylen = 0; in PKCS5_pbe2_set_scrypt() local
112 keylen = EVP_CIPHER_get_key_length(cipher); in PKCS5_pbe2_set_scrypt()
118 pbe2->keyfunc = pkcs5_scrypt_set(salt, saltlen, keylen, N, r, p); in PKCS5_pbe2_set_scrypt()
157 size_t keylen, uint64_t N, uint64_t r, in pkcs5_scrypt_set() argument
197 if (keylen > 0) { in pkcs5_scrypt_set()
203 if (ASN1_INTEGER_set_int64(sparam->keyLength, keylen) == 0) { in pkcs5_scrypt_set()
244 size_t keylen = 0; in PKCS5_v2_scrypt_keyivgen_ex() local
267 keylen = t; in PKCS5_v2_scrypt_keyivgen_ex()
274 || (spkeylen != keylen)) { in PKCS5_v2_scrypt_keyivgen_ex()
294 keylen, libctx, propq) == 0) in PKCS5_v2_scrypt_keyivgen_ex()
298 if (keylen) in PKCS5_v2_scrypt_keyivgen_ex()
299 OPENSSL_cleanse(key, keylen); in PKCS5_v2_scrypt_keyivgen_ex()