Module hacl::hazmat::hkdf::sha2_384

source ·

Modules§

  • This module uses heap allocated vectors for cases where the output length is not const.

Functions§

  • HKDF expand using the pre-key material prk and info. The output length is defined through the result type. Returns the key material in an array of length okm_len or Error::OkmTooLarge if the requested okm_len is too large.
  • HKDF extract using the salt, and the input key material ikm. Returns the pre-key material in an array of tag length.
  • HKDF using the salt, input key material ikm, info. The output length is defined through the result type. Calls extract and expand with the given input.