Dyber's ML-KEM core implements the complete NIST FIPS 203 Module-Lattice Key Encapsulation Mechanism: ML-KEM.KeyGen, ML-KEM.Encaps and ML-KEM.Decaps with implicit rejection, in one compact core per parameter set. ML-KEM-512, ML-KEM-768 and ML-KEM-1024 (CNSA 2.0) come from one source; the parameter set is a component parameter.
Footprint (Agilex® 7 AGIA027, Quartus® Prime Pro Edition Design Software Version 25.3, measured): 17,248 to 18,247 ALMs (about 2% of the device), 25 DSP blocks and 2 to 3 M20K blocks, with Fmax of 252 to 260 MHz. At 250 MHz an ML-KEM-768 core performs about 52,000 KeyGen, 40,000 Encaps and 34,000 Decaps operations per second (cycle counts from RTL simulation over the NIST ACVP vectors).
Architecture: polynomials are held in banked RAM, a 4-lane NTT works in place, the matrix A is regenerated from its seed on the fly, and every hash (SHA3-256/512, SHAKE128/256) runs on one shared Keccak-f[1600]. Decapsulation takes the sa...
Dyber's ML-KEM core implements the complete NIST FIPS 203 Module-Lattice Key Encapsulation Mechanism: ML-KEM.KeyGen, ML-KEM.Encaps and ML-KEM.Decaps with implicit rejection, in one compact core per parameter set. ML-KEM-512, ML-KEM-768 and ML-KEM-1024 (CNSA 2.0) come from one source; the parameter set is a component parameter.
Footprint (Agilex® 7 AGIA027, Quartus® Prime Pro Edition Design Software Version 25.3, measured): 17,248 to 18,247 ALMs (about 2% of the device), 25 DSP blocks and 2 to 3 M20K blocks, with Fmax of 252 to 260 MHz. At 250 MHz an ML-KEM-768 core performs about 52,000 KeyGen, 40,000 Encaps and 34,000 Decaps operations per second (cycle counts from RTL simulation over the NIST ACVP vectors).
Architecture: polynomials are held in banked RAM, a 4-lane NTT works in place, the matrix A is regenerated from its seed on the fly, and every hash (SHA3-256/512, SHAKE128/256) runs on one shared Keccak-f[1600]. Decapsulation takes the same sequence of states for valid and invalid ciphertexts; the final key selection is a single register load, with no branch on secret data. No vendor primitives, single clock.
Integration: an AXI4-Lite slave (64 KB window) with an interrupt, packaged as a Platform Designer component. The host writes the operation and its inputs, starts the core, and reads the outputs on interrupt or status. KeyGen returns ek and dk_PKE; the host forms the full decapsulation key with SHA3-256.
Verification: all 180 official NIST ACVP vectors (25 KeyGen, 25 Encaps and 10 Decaps at each parameter set, including modified ciphertexts) pass byte-exact through the AXI4-Lite interface, with a Questa regression included in the package. The same core and register map have passed all 180 vectors on hardware in Dyber's FPGA evaluation kit.