Home
last modified time | relevance | path

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

/openssl/crypto/asn1/
H A Dp5_pbev2.c188 ASN1_OCTET_STRING *osalt = NULL; in PKCS5_pbkdf2_set_ex() local
194 if ((osalt = ASN1_OCTET_STRING_new()) == NULL) { in PKCS5_pbkdf2_set_ex()
199 kdf->salt->value.octet_string = osalt; in PKCS5_pbkdf2_set_ex()
208 if ((osalt->data = OPENSSL_malloc(saltlen)) == NULL) in PKCS5_pbkdf2_set_ex()
212 osalt->length = saltlen; in PKCS5_pbkdf2_set_ex()
215 memcpy(osalt->data, salt, saltlen); in PKCS5_pbkdf2_set_ex()
216 } else if (RAND_bytes_ex(libctx, osalt->data, saltlen, 0) <= 0) { in PKCS5_pbkdf2_set_ex()

Completed in 4 milliseconds