PQ-WB-KEM: White-Box ML-KEM-768 1.0
PQ-WB-KEM: Toward a White-Box Construction of ML-KEM-768 with Arithmetic Masking for M2M Communications - Mathematics (MDPI)
Loading...
Searching...
No Matches
Core Modules

Core implementation modules for PQ-WB-KEM white-box ML-KEM-768. More...

+ Collaboration diagram for Core Modules:

Modules

 Arithmetic Masking
 Three-share arithmetic masking for DCA resistance.
 
 NTT Domain Operations
 Number Theoretic Transform operations for ML-KEM.
 
 Table Construction
 Lookup table construction for the NTT-domain base multiply.
 

Files

file  encoding_layer_entropy.py
 Stored-bytes vs.
 
file  obfuscation_storage.py
 Measure the stored size of the two obfuscation layers wrapping the base multiply – the coefficient shuffle and the runtime masking.
 
file  whitebox_encoded.py
 Secret nonlinear I/O encoding layer over the base multiplication on the real NTT-domain secret; measures it against the NTT-linearity algebraic attack.
 
file  whitebox_reference.py
 Reference PQ-WB-KEM base multiplication on the real NTT-domain secret: build white-box tables (two constructions), verify correctness against the reference base multiply, measure serialized table size and masking overhead.
 

Detailed Description

Core implementation modules for PQ-WB-KEM white-box ML-KEM-768.

This group contains the fundamental building blocks of the white-box ML-KEM-768 implementation, including NTT operations, table generation, and masking schemes.

Overview

The core implementation provides:

Typical Workflow

  1. Build the base-multiply tables with whitebox_reference.py
  2. Add the output-encoding sublayer with whitebox_encoded.py
  3. Run baseline_benchmark.py for reference performance
  4. Verify DCA resistance with dca_simulation.py
  5. Calculate overhead with overhead_calculation.py