Lines Matching defs:salt
62 unsigned char *salt;
209 * H(x) = HMAC-hash(salt, x) OR
210 * H(x) = KMAC#(salt, x, outbits, CustomString='KDF')
215 const unsigned char *salt, size_t salt_len,
239 if (!EVP_MAC_init(ctx_init, salt, salt_len, NULL))
308 OPENSSL_clear_free(ctx->salt, ctx->salt_len);
373 /* H(x) = HMAC(x, salt, hash) */
382 /* H(x) = KMACzzz(x, salt, custom) */
393 /* If no salt is set then use a default_salt of zeros */
394 if (ctx->salt == NULL || ctx->salt_len <= 0) {
395 ctx->salt = OPENSSL_zalloc(default_salt_len);
396 if (ctx->salt == NULL) {
404 ctx->salt, ctx->salt_len,
484 if (!sskdf_set_buffer(&ctx->salt, &ctx->salt_len, p))