Documentation

Cryptlib.Primitives.KDF.HKDF

HKDF (RFC 5869), over any Hash #

RFC 5869 §2.2 Extract. An empty salt stands for digestSize zero bytes.

Equations
Instances For

    RFC 5869 §2.3 Expand: iterated HMAC over (PRK, T(i-1) ‖ info ‖ i), truncated to len.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      Instances For
        theorem Cryptlib.Primitives.KDF.HKDF.expand_size (H : Hash.Hash.Hash) (prk info : ByteArray) (len : Nat) :
        (expand H prk info len).size = len

        Expand-only HKDF as a KDF, the raw input keying material used directly as the PRK.

        Equations
        Instances For