HKDF_expand

HKDF_expand computes a HKDF OKM (as specified by RFC 5869) of length |out_len| from the PRK |prk| and info |info| using |digest|, and outputs the result to |out_key|. It returns one on success and zero on error.

extern (C) nothrow @nogc
int
HKDF_expand
(
core.stdc.stdint.uint8_t* out_key
,
size_t out_len
,,
const(core.stdc.stdint.uint8_t)* prk
,
size_t prk_len
,
const(core.stdc.stdint.uint8_t)* info
,
size_t info_len
)

Meta