Searched refs:known_salt (Results 1 – 1 of 1) sorted by relevance
/openssl/crypto/pkcs12/ |
H A D | p12_mutl.c | 446 unsigned char *known_salt = NULL; in PKCS12_set_pbmac1_pbkdf2() local 474 known_salt = OPENSSL_malloc(saltlen); in PKCS12_set_pbmac1_pbkdf2() 475 if (known_salt == NULL) in PKCS12_set_pbmac1_pbkdf2() 478 if (RAND_bytes_ex(NULL, known_salt, saltlen, 0) <= 0) { in PKCS12_set_pbmac1_pbkdf2() 486 alg = PKCS5_pbkdf2_set(iter, salt ? salt : known_salt, saltlen, prf_nid, keylen); in PKCS12_set_pbmac1_pbkdf2() 490 if (pkcs12_setup_mac(p12, iter, salt ? salt : known_salt, saltlen, in PKCS12_set_pbmac1_pbkdf2() 527 OPENSSL_free(known_salt); in PKCS12_set_pbmac1_pbkdf2()
|
Completed in 4 milliseconds