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,
371 * Refer to "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)"
373 * "Cryptographic Extraction and Key Derivation: The HKDF Scheme"
377 * The scheme HKDF is specified as:
378 * HKDF(XTS, SKM, CTXinfo, L) = K(1) | K(2) | ... | K(t)
391 * HKDF-Extract(salt, IKM) -> PRK
393 * HKDF-Expand(PRK, info, L) -> OKM
395 static int HKDF(OSSL_LIB_CTX *libctx, const EVP_MD *evp_md,
410 /* Step 1: HKDF-Extract(salt, IKM) -> PRK */
415 /* Step 2: HKDF-Expand(PRK, info, L) -> OKM */
423 * Refer to "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)"
428 * HKDF-Extract(salt, IKM) -> PRK
467 * Refer to "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)"
472 * HKDF-Expand(PRK, info, L) -> OKM