Module hacl::hazmat::hkdf::sha2_256::vec

source ·
Expand description

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 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.