Lines Matching defs:kdf
240 PBKDF2PARAM *kdf = NULL;
262 if(!(kdf = d2i_PBKDF2PARAM(NULL, &pbuf, plen)) ) {
269 /* Now check the parameters of the kdf */
271 if(kdf->keylength && (ASN1_INTEGER_get(kdf->keylength) != (int)keylen)){
277 if (kdf->prf)
278 prf_nid = OBJ_obj2nid(kdf->prf->algorithm);
295 if(kdf->salt->type != V_ASN1_OCTET_STRING) {
302 salt = kdf->salt->value.octet_string->data;
303 saltlen = kdf->salt->value.octet_string->length;
304 iter = ASN1_INTEGER_get(kdf->iter);
311 PBKDF2PARAM_free(kdf);