Lines Matching refs:prf_nid
44 unsigned char *aiv, int prf_nid,
93 if ((prf_nid == -1) &&
94 EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_PBE_PRF_NID, 0, &prf_nid) <= 0) {
95 prf_nid = NID_hmacWithSHA256;
112 pbe2->keyfunc = PKCS5_pbkdf2_set_ex(iter, salt, saltlen, prf_nid, keylen,
150 unsigned char *aiv, int prf_nid) in PKCS5_pbe2_set_iv() argument
152 return PKCS5_pbe2_set_iv_ex(cipher, iter, salt, saltlen, aiv, prf_nid, in PKCS5_pbe2_set_iv()
165 int prf_nid, int keylen, in PKCS5_pbkdf2_set_ex() argument
210 if (prf_nid > 0 && prf_nid != NID_hmacWithSHA1) { in PKCS5_pbkdf2_set_ex()
214 X509_ALGOR_set0(kdf->prf, OBJ_nid2obj(prf_nid), V_ASN1_NULL, NULL); in PKCS5_pbkdf2_set_ex()
242 int prf_nid, int keylen) in PKCS5_pbkdf2_set() argument
244 return PKCS5_pbkdf2_set_ex(iter, salt, saltlen, prf_nid, keylen, NULL); in PKCS5_pbkdf2_set()