11 const std::string &salt) {
18 uint8_t hash[OUTPUT_SIZE]) {
20 assert(info.size() <= 128);
21 static const uint8_t one[1] = {1};
23 .
Write((
const uint8_t *)info.data(), info.size())
void Expand32(const std::string &info, uint8_t hash[OUTPUT_SIZE])
CHKDF_HMAC_SHA256_L32(const uint8_t *ikm, size_t ikmlen, const std::string &salt)
A hasher class for HMAC-SHA-256.
CHMAC_SHA256 & Write(const uint8_t *data, size_t len)
void Finalize(uint8_t hash[OUTPUT_SIZE])