Lines Matching refs:kdf
204 PBKDF2PARAM *kdf = NULL; in PKCS5_pbkdf2_set() local
207 if(!(kdf = PBKDF2PARAM_new())) in PKCS5_pbkdf2_set()
212 kdf->salt->value.octet_string = osalt; in PKCS5_pbkdf2_set()
213 kdf->salt->type = V_ASN1_OCTET_STRING; in PKCS5_pbkdf2_set()
230 if(!ASN1_INTEGER_set(kdf->iter, iter)) in PKCS5_pbkdf2_set()
237 if(!(kdf->keylength = M_ASN1_INTEGER_new())) in PKCS5_pbkdf2_set()
239 if(!ASN1_INTEGER_set (kdf->keylength, keylen)) in PKCS5_pbkdf2_set()
246 kdf->prf = X509_ALGOR_new(); in PKCS5_pbkdf2_set()
247 if (!kdf->prf) in PKCS5_pbkdf2_set()
249 X509_ALGOR_set0(kdf->prf, OBJ_nid2obj(prf_nid), in PKCS5_pbkdf2_set()
266 if(!ASN1_item_pack(kdf, ASN1_ITEM_rptr(PBKDF2PARAM), in PKCS5_pbkdf2_set()
271 PBKDF2PARAM_free(kdf); in PKCS5_pbkdf2_set()
276 PBKDF2PARAM_free(kdf); in PKCS5_pbkdf2_set()