DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
sha3.h File Reference

Keccak-f[1600] sponge: SHA3-256, SHA3-512, SHAKE128, SHAKE256 (FIPS 202). More...

#include "ServerConfig.h"

Go to the source code of this file.

Detailed Description

Keccak-f[1600] sponge: SHA3-256, SHA3-512, SHAKE128, SHAKE256 (FIPS 202).

The symmetric primitives ML-KEM (FIPS 203) is built on: G = SHA3-512, H = SHA3-256, the matrix XOF = SHAKE128, and the noise PRF = SHAKE256. Zero-heap, endian-independent (the sponge state is addressed as a little-endian byte string regardless of host byte order), no external dependency.

One-shot helpers cover fixed-length digests and arbitrary SHAKE output. For an incremental XOF (ML-KEM samples the public matrix by squeezing three bytes at a time) absorb once with shake128_absorb() then pull with keccak_squeeze() as many times as needed.

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file sha3.h.