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

Runs all PQ-WB-KEM experiments in sequence for reproducibility. More...

Go to the source code of this file.

Namespaces

namespace  run_all
 

Functions

Path run_all.get_project_root ()
 Return the project root directory.
 
 run_all.main ()
 Run every experiment and write the JSON summary.
 
int run_all.run_python_script (str script_path, str description)
 Run a Python script as a subprocess.
 

Variables

list run_all.EXPERIMENTS
 
int run_all.LIBOQS_MISSING_EXIT_CODE = 3
 
str run_all.WALLCLOCK_OUTPUT = f"wallclock_statistics_{detect_env()}.json"
 

Detailed Description

Runs all PQ-WB-KEM experiments in sequence for reproducibility.

Output Files

Usage

python run_all.py
Note
A missing experiment script is a hard error, not a silent skip: the manifest and exit code report exactly which producers ran. Deterministic (seeded) experiments regenerate byte-identical outputs; wall-clock and native-benchmark experiments are machine-dependent and flagged as such. If liboqs-python is absent, the native ML-KEM-768 baseline is recorded as an explicit skip (a host prerequisite, not a deterministic experiment) so the seeded experiments still report success; running baseline_benchmark.py on its own still exits non-zero.
Author
Ugur Coruh

Definition in file run_all.py.