Home
last modified time | relevance | path

Searched refs:pbkdf2param (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/crypto/pkcs8/
Dp5_pbev2.c311 PBKDF2PARAM *pbkdf2param = NULL; in PKCS5_v2_PBKDF2_keyivgen() local
326 pbkdf2param = d2i_PBKDF2PARAM(NULL, &pbuf, plen); in PKCS5_v2_PBKDF2_keyivgen()
327 if (pbkdf2param == NULL || pbuf != param->value.sequence->data + plen) { in PKCS5_v2_PBKDF2_keyivgen()
337 if (pbkdf2param->keylength != NULL && in PKCS5_v2_PBKDF2_keyivgen()
338 ASN1_INTEGER_get(pbkdf2param->keylength) != (int) key_len) { in PKCS5_v2_PBKDF2_keyivgen()
343 if (pbkdf2param->prf != NULL && in PKCS5_v2_PBKDF2_keyivgen()
344 OBJ_obj2nid(pbkdf2param->prf->algorithm) != NID_hmacWithSHA1) { in PKCS5_v2_PBKDF2_keyivgen()
349 if (pbkdf2param->salt->type != V_ASN1_OCTET_STRING) { in PKCS5_v2_PBKDF2_keyivgen()
354 if (pbkdf2param->iter->type != V_ASN1_INTEGER) { in PKCS5_v2_PBKDF2_keyivgen()
358 long iterations = ASN1_INTEGER_get(pbkdf2param->iter); in PKCS5_v2_PBKDF2_keyivgen()
[all …]