Lines Matching defs:kdf
157 PBKDF2PARAM *kdf = NULL;
213 if(!(kdf = d2i_PBKDF2PARAM(NULL, &pbuf, plen)) ) {
221 /* Now check the parameters of the kdf */
223 if(kdf->keylength && (ASN1_INTEGER_get(kdf->keylength) != (int)keylen)){
229 if(kdf->prf && (OBJ_obj2nid(kdf->prf->algorithm) != NID_hmacWithSHA1)) {
234 if(kdf->salt->type != V_ASN1_OCTET_STRING) {
241 salt = kdf->salt->value.octet_string->data;
242 saltlen = kdf->salt->value.octet_string->length;
243 iter = ASN1_INTEGER_get(kdf->iter);
247 PBKDF2PARAM_free(kdf);
252 PBKDF2PARAM_free(kdf);