Searched refs:osalt (Results 1 – 1 of 1) sorted by relevance
228 ASN1_OCTET_STRING *osalt = NULL; in PKCS5_pbkdf2_set() local232 if(!(osalt = M_ASN1_OCTET_STRING_new())) in PKCS5_pbkdf2_set()235 kdf->salt->value.octet_string = osalt; in PKCS5_pbkdf2_set()240 if (!(osalt->data = OPENSSL_malloc (saltlen))) in PKCS5_pbkdf2_set()243 osalt->length = saltlen; in PKCS5_pbkdf2_set()246 memcpy (osalt->data, salt, saltlen); in PKCS5_pbkdf2_set()247 else if (!RAND_bytes(osalt->data, saltlen)) in PKCS5_pbkdf2_set()