Module EverCrypt.HKDF
Agile, multiplexing interface for HKDF
Supports the same hashing algorithms as EverCrypt.HMAC.
val extract : alg:SharedDefs.HashDefs.alg -> salt:bytes -> ikm:bytes -> bytesextract alg salt ikmcomputes a pseudorandom key using hashing algorithmalgwith input key materialikmand saltsalt.
val expand : alg:SharedDefs.HashDefs.alg -> prk:bytes -> info:bytes -> size:int -> bytesexpand alg prk info sizeexpands the pseudorandom keyprkusing hashing algorithmalg, taking the info stringinfointo account and returns a buffer ofsizebytes.
module Noalloc : sig ... endVersions of these functions which write their output in a buffer passed in as an argument