Lines Matching defs:HKDF
49 static int HKDF(OSSL_LIB_CTX *libctx, const EVP_MD *evp_md,
63 /* Settable context parameters that are common across HKDF and the TLS KDF */
176 return HKDF(libctx, md, ctx->salt, ctx->salt_len,
379 * Refer to "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)"
381 * "Cryptographic Extraction and Key Derivation: The HKDF Scheme"
385 * The scheme HKDF is specified as:
386 * HKDF(XTS, SKM, CTXinfo, L) = K(1) | K(2) | ... | K(t)
399 * HKDF-Extract(salt, IKM) -> PRK
401 * HKDF-Expand(PRK, info, L) -> OKM
403 static int HKDF(OSSL_LIB_CTX *libctx, const EVP_MD *evp_md,
418 /* Step 1: HKDF-Extract(salt, IKM) -> PRK */
423 /* Step 2: HKDF-Expand(PRK, info, L) -> OKM */
431 * Refer to "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)"
436 * HKDF-Extract(salt, IKM) -> PRK
475 * Refer to "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)"
480 * HKDF-Expand(PRK, info, L) -> OKM