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
scaling_analysis.py File Reference

White-box overhead scaling across ML-KEM parameter sets and masking orders. More...

Go to the source code of this file.

Namespaces

namespace  scaling_analysis
 

Functions

 scaling_analysis._load_measured_footprints ()
 Read the measured construction footprints from the committed experiment JSONs.
 
tuple scaling_analysis.calculate_decaps_time_ms (int k)
 Estimated decapsulation time in ms for module rank k.
 
Dict[str, Any] scaling_analysis.calculate_higher_order_masking (int base_shares, int target_shares)
 Overhead of raising masking order for table-based white-box.
 
int scaling_analysis.calculate_ntt_tables (int k)
 NTT table count for module rank k.
 
float scaling_analysis.calculate_overhead_factor (int k)
 White-box overhead factor for module rank k.
 
tuple scaling_analysis.calculate_table_size_mb (int k)
 Deployment core-footprint envelope in MB for module rank k.
 
int scaling_analysis.calculate_target_ram_mb (int k)
 Minimum recommended RAM (MB) for deployment.
 
 scaling_analysis.main ()
 Compute scaling analysis, print tables, and write JSON output.
 

Variables

 scaling_analysis._FP_A
 
 scaling_analysis._FP_B
 
dict scaling_analysis.ML_KEM_PARAMS
 
dict scaling_analysis.WB_CONSTANTS
 

Detailed Description

White-box overhead scaling across ML-KEM parameter sets and masking orders.

Note
Table-size, overhead and timing figures are analytical projections scaled from the ML-KEM-768 baseline, not independent end-to-end measurements.

Output Files

Usage

Author
Ugur Coruh

Definition in file scaling_analysis.py.