Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
signet::forge::crypto::detail::hkdf Namespace Reference

Functions

std::array< uint8_t, 32 > hmac_sha256 (const uint8_t *key, size_t key_size, const uint8_t *data, size_t data_size)
 HMAC-SHA256 (RFC 2104): keyed hash for HKDF.
 

Function Documentation

◆ hmac_sha256()

std::array< uint8_t, 32 > signet::forge::crypto::detail::hkdf::hmac_sha256 ( const uint8_t *  key,
size_t  key_size,
const uint8_t *  data,
size_t  data_size 
)
inline

HMAC-SHA256 (RFC 2104): keyed hash for HKDF.

HMAC(K, text) = H((K ^ opad) || H((K ^ ipad) || text))

Definition at line 44 of file hkdf.hpp.