Module Hacl_star__Hacl.HKDF_BLAKE2b
Portable C implementation of HKDF using BLAKE2b
type bytes
= Hacl_star.SharedDefs.CBytes.t
val extract : salt:bytes -> ikm:bytes -> bytes
extract salt ikm
computes a pseudorandom key using input key materialikm
and saltsalt
.
val expand : prk:bytes -> info:bytes -> size:int -> bytes
expand prk info size
expands the pseudorandom keyprk
, taking the info stringinfo
into account and returns a buffer ofsize
bytes.
module Noalloc : sig ... end
Versions of these functions which write their output in a buffer passed in as an argument