Lines Matching refs:salt
81 ASN1_SIMPLE(PBKDF2PARAM, salt, ASN1_ANY),
117 unsigned char *salt, int saltlen, in PKCS5_pbe2_set_iv() argument
183 pbe2->keyfunc = PKCS5_pbkdf2_set(iter, salt, saltlen, prf_nid, keylen); in PKCS5_pbe2_set_iv()
220 unsigned char *salt, int saltlen) in PKCS5_pbe2_set() argument
222 return PKCS5_pbe2_set_iv(cipher, iter, salt, saltlen, NULL, -1); in PKCS5_pbe2_set()
225 X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen, in PKCS5_pbkdf2_set() argument
237 kdf->salt->value.octet_string = osalt; in PKCS5_pbkdf2_set()
238 kdf->salt->type = V_ASN1_OCTET_STRING; in PKCS5_pbkdf2_set()
247 if (salt) in PKCS5_pbkdf2_set()
248 memcpy (osalt->data, salt, saltlen); in PKCS5_pbkdf2_set()
349 if (pbkdf2param->salt->type != V_ASN1_OCTET_STRING) { in PKCS5_v2_PBKDF2_keyivgen()
377 pbkdf2param->salt->value.octet_string->data, in PKCS5_v2_PBKDF2_keyivgen()
378 pbkdf2param->salt->value.octet_string->length, in PKCS5_v2_PBKDF2_keyivgen()