kyberlib 0.0.7

A robust, audit-friendly Rust implementation of FIPS 203 ML-KEM (the standardised CRYSTALS-Kyber post-quantum KEM).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub(crate) mod aes256ctr;
pub(crate) mod cbd;
pub(crate) mod fips202;
pub(crate) mod ntt;
pub(crate) mod poly;
pub(crate) mod polyvec;
pub(crate) mod reduce;
pub(crate) mod verify;

#[cfg(not(feature = "hazmat"))]
pub(crate) mod indcpa;

/// IND-CPA primitive layer beneath the CCA-secure KEM. Exposed only with
/// the `hazmat` feature; using this surface directly bypasses the
/// Fujisaki–Okamoto transform and is unsafe for production use.
#[cfg(feature = "hazmat")]
pub mod indcpa;