Searched refs:osalt (Results 1 – 1 of 1) sorted by relevance
230 ASN1_OCTET_STRING *osalt = NULL; in PKCS5_pbkdf2_set() local234 if(!(osalt = M_ASN1_OCTET_STRING_new())) in PKCS5_pbkdf2_set()237 kdf->salt->value.octet_string = osalt; in PKCS5_pbkdf2_set()242 if (!(osalt->data = OPENSSL_malloc (saltlen))) in PKCS5_pbkdf2_set()245 osalt->length = saltlen; in PKCS5_pbkdf2_set()248 memcpy (osalt->data, salt, saltlen); in PKCS5_pbkdf2_set()249 else if (!RAND_bytes(osalt->data, saltlen)) in PKCS5_pbkdf2_set()