Skip to main content

Module hazmat

Module hazmat 

Source
Expand description

Deterministic internal FIPS 203 algorithms (Section 6) for ACVP/KAT validation.

Hazardous Materials (requires Cargo feature hazmat): Never pass static, predictable, or reused seeds in production. Prefer the randomized [Kem] trait methods instead.

Functionsยง

decaps_internal
ML-KEM.Decaps_internal(dk, c) (FIPS 203, Algorithm 18).
encaps_internal
ML-KEM.Encaps_internal(ek, m) (FIPS 203, Algorithm 17).
keygen_internal
ML-KEM.KeyGen_internal(d, z) (FIPS 203, Algorithm 16).