Lines Matching refs:keyfunc
74 ASN1_SIMPLE(PBE2PARAM, keyfunc, X509_ALGOR),
181 X509_ALGOR_free(pbe2->keyfunc); in PKCS5_pbe2_set_iv()
183 pbe2->keyfunc = PKCS5_pbkdf2_set(iter, salt, saltlen, prf_nid, keylen); in PKCS5_pbe2_set_iv()
185 if (!pbe2->keyfunc) in PKCS5_pbe2_set_iv()
228 X509_ALGOR *keyfunc = NULL; in PKCS5_pbkdf2_set() local
280 keyfunc = X509_ALGOR_new(); in PKCS5_pbkdf2_set()
281 if (!keyfunc) in PKCS5_pbkdf2_set()
284 keyfunc->algorithm = (ASN1_OBJECT*) OBJ_nid2obj(NID_id_pbkdf2); in PKCS5_pbkdf2_set()
288 if(!(keyfunc->parameter = ASN1_TYPE_new())) in PKCS5_pbkdf2_set()
292 &keyfunc->parameter->value.sequence)) in PKCS5_pbkdf2_set()
294 keyfunc->parameter->type = V_ASN1_SEQUENCE; in PKCS5_pbkdf2_set()
297 return keyfunc; in PKCS5_pbkdf2_set()
302 X509_ALGOR_free(keyfunc); in PKCS5_pbkdf2_set()
414 if (OBJ_obj2nid(pbe2param->keyfunc->algorithm) != NID_id_pbkdf2) { in PKCS5_v2_PBE_keyivgen()
434 pbe2param->keyfunc->parameter, in PKCS5_v2_PBE_keyivgen()