code wiki / hmac

topic: hmac

18 modules sharing the hmac name family (derived from the tree's prefix discipline).

The hmac topic family provides cryptographic message authentication mechanisms using HMAC with various hash functions, ensuring data integrity and authenticity. hmac_md5 and hmac_sha1 offer legacy and standardized HMAC implementations, while hmac_sha512 supports stronger security with SHA-512. Modules like nx_hmac and nx_hmac_drbg_wasm integrate HMAC with SHA-256 for modern applications, including key derivation and random bit generation, supporting diverse use cases within the Nishi sovereign ecosystem.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
hmac.nx############################################################################################1102
hmac_md5.nxHMAC with MD5 (RFC 2104). 1042
hmac_sha1.nxHMAC with SHA-1 (RFC 2104 + FIPS 198-1). 1212
hmac_sha384.nxHMAC-SHA-384 (RFC 2104 / FIPS 198-1). 852
hmac_sha512.nxHMAC-SHA-512 (RFC 2104 / FIPS 198-1). 752
nx_hmac.nxHMAC-SHA-256 (RFC 2104, FIPS 198-1). 1554
nx_hmac_alloc_ab.nxWITHIN-SUBJECT A/B: does hoisting HMAC's scratch change anything MEASURABLE?1194
nx_hmac_candidate_t187.nxHMAC-SHA-256 (RFC 2104, FIPS 198-1). 1554
nx_hmac_drbg_wasm.nxHMAC-DRBG with SHA-256 per NIST SP 800-90A ยง10.1.2.45512
nx_hmac_extvec_gate.nxHMAC-SHA-256 vs RFC 4231, ALL SEVEN published test cases.27611
nx_hmac_md5.nxHMAC with MD5 (RFC 2104).1012
nx_hmac_sha1.nxHMAC with SHA-1 (RFC 2104 + FIPS 198-1).2034
nx_hmac_sha256_wasm.nxHMAC-SHA-256 (RFC 2104) for WAT target.3838
nx_hmac_sha384.nxHMAC-SHA-384 (RFC 2104 / FIPS 198-1).942
nx_hmac_sha384_wasm.nxHMAC-SHA-384 (RFC 2104 + 4231) for WAT target.33912
nx_hmac_sha512.nxHMAC-SHA-512 (RFC 2104 / FIPS 198-1).842
nx_hmac_sha512_wasm.nxHMAC-SHA-512 (RFC 2104 + 4231) for WAT target.32712
nx_hmac_workspace_adapter_t187.nx312