package hkdf

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module HkdfSource

RFC 5869 specifies a HMAC-based Extract-and-Expand Key Derivation Function (HKDF), which is abstracted over a specific hash function.

Sourcemodule type S = sig ... end

Given a Hash function, get the HKDF

convenience extract hash salt ikm where the hash has to be provided explicitly

Sourceval expand : hash:Mirage_crypto.Hash.hash -> prk:Cstruct.t -> ?info:Cstruct.t -> int -> Cstruct.t

convenience expand hash prk info len where the hash has to be provided explicitly

OCaml

Innovation. Community. Security.