|
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)
|
Share-level statistics for 3-share arithmetic masking (Theorem 2 empirics). More...
Go to the source code of this file.
Namespaces | |
| namespace | share_statistics |
Functions | |
| share_statistics.main () | |
| Compute the three share statistics and write results/share_statistics.json. | |
| share_statistics.three_share (secret, rng) | |
| Split a secret into three additive shares over Z_q. | |
Variables | |
| int | share_statistics.N = 256 |
| int | share_statistics.NUM_TRACES = 10000 |
| int | share_statistics.Q = 3329 |
| int | share_statistics.SEED = 42 |
Share-level statistics for 3-share arithmetic masking (Theorem 2 empirics).
Reports (1) share uniformity as a chi-square goodness-of-fit p-value over Z_q, (2) joint independence as max |Pearson| between a share pair and the secret, and (3) table-output leakage as max |Pearson| between the masked output and the secret. Deterministic (seed 42); written to results/share_statistics.json.
results/share_statistics.json - Statistical uniformity and independence tests on masking sharesDefinition in file share_statistics.py.