View Source ecies_kdf (ecies v1.1.0)
Summary
Functions
NIST SP 800-56 Concatenation Key Derivation Function (see section 5.8.1).
HMAC-based Extract-and-Expand Key Derivation Function (HKDF)
The ANSI-X9.63-KDF key derivation function.
Functions
-spec concat_kdf(Hash, Key, Info, Length) -> Result when Hash :: atom(), Key :: binary(), Info :: binary(), Length :: pos_integer(), Result :: binary().
-spec hkdf(Hash, Key, Salt, Info, Length) -> Result when Hash :: atom(), Key :: binary(), Salt :: binary(), Info :: binary(), Length :: pos_integer(), Result :: binary().
HMAC-based Extract-and-Expand Key Derivation Function (HKDF)
See RFC 5869 and RFC 8418-spec kdf(Hash, Key, Info, Length) -> Result when Hash :: atom(), Key :: binary(), Info :: binary(), Length :: pos_integer(), Result :: binary().
The ANSI-X9.63-KDF key derivation function.
See RFC 8418