HKDF_extract

HKDF_extract computes a HKDF PRK (as specified by RFC 5869) from initial keying material |secret| and salt |salt| using |digest|, and outputs |out_len| bytes to |out_key|. The maximum output size is |EVP_MAX_MD_SIZE|. It returns one on success and zero on error.

extern (C) nothrow @nogc
int
HKDF_extract
(
core.stdc.stdint.uint8_t* out_key
,
size_t* out_len
,,
const(core.stdc.stdint.uint8_t)* secret
,
size_t secret_len
,
const(core.stdc.stdint.uint8_t)* salt
,
size_t salt_len
)

Meta