|
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)
|
| ▼ c | |
| bench_liboqs.c | Liboqs ML-KEM-768 KeyGen/Encaps/Decaps wall-clock benchmark; emits the full arm64_benchmark.json / baseline schema to stdout so every field is measured or computed, never transcribed |
| build_arm64_benchmark.sh | |
| cache_effect.c | Measures the cache-miss penalty of the PQ-WB-KEM white-box table lookups |
| primitive_bench.c | Protected/direct timing ratio of the PQ-WB-KEM base multiplication on x86-64 and aarch64 |
| ▼ docs | |
| config | |
| ▼ python | |
| algebraic_attack_analysis.py | Algebraic attack resistance analysis for white-box ML-KEM |
| arm64_aggregate.py | Aggregate N independent qemu-aarch64 liboqs runs into mean +/- 95% CI |
| baseline_benchmark.py | ML-KEM-768 baseline KeyGen/Encaps/Decaps benchmark via liboqs |
| concrete_security_bounds.py | Engineering security-estimate calculator for white-box ML-KEM-768 |
| dca_simulation.py | DCA attack simulation against unmasked and n-share masked ML-KEM |
| encoding_layer_entropy.py | Stored-bytes vs |
| entry_determinacy.py | Entry-determinacy dichotomy for the white-box ML-KEM-768 table families: measures the entry-determinacy degree d and the minimal table-access budget M* at which an access-pattern-oblivious, table-access-bounded adversary attains Z=1 |
| obfuscation_storage.py | Measure the stored size of the two obfuscation layers wrapping the base multiply – the coefficient shuffle and the runtime masking |
| overhead_calculation.py | White-box ML-KEM-768 overhead analysis versus liboqs baseline |
| run_all.py | Runs all PQ-WB-KEM experiments in sequence for reproducibility |
| scaling_analysis.py | White-box overhead scaling across ML-KEM parameter sets and masking orders |
| share_statistics.py | Share-level statistics for 3-share arithmetic masking (Theorem 2 empirics) |
| table_extraction_witness.py | Entry-determinacy witness: recover the whole Construction-B baked table set from its minimum determining entries, and measure Construction A's zero-read secret exposure, using this repository's own table builder |
| wallclock_ci.py | Aggregate the platform-dependent (wall-clock) benchmarks over N runs -> mean +/- 95% CI |
| 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 |
| 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 |
| ▼ results | |
| algebraic_attack_analysis.json | |
| arm64_benchmark.json | |
| baseline_benchmark.json | |
| cache_effect.json | |
| concrete_security_bounds.json | |
| dca_simulation.json | |
| encoding_layer_entropy.json | |
| entry_determinacy.json | |
| experiment_summary.json | |
| ntt_verification.json | |
| obfuscation_storage.json | |
| overhead_calculation.json | |
| primitive_bench_aarch64_qemu.json | |
| primitive_bench_x86.json | |
| scaling_analysis.json | |
| share_statistics.json | |
| table_extraction_witness.json | |
| wallclock_statistics_windows.json | |
| wallclock_statistics_wsl.json | |
| whitebox_encoded.json | |
| whitebox_reference.json | |
| ▼ sage | |
| ntt_verification.sage | |
| ntt_verification.sage.py |