|
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)
|
Functions | |
| Dict[str, Any] | calculate_dca_security_bits (int num_traces, float measured_correlation, int num_shares) |
| DCA security in bits from measured correlation. | |
| Dict[str, Any] | calculate_table_footprint (int table_size_bytes) |
| Byte-read footprint of the protected core, as an engineering magnitude. | |
| Dict[str, Any] | load_experimental_results (str results_dir) |
| Load DCA and overhead JSON results if present. | |
| tuple | load_measured_footprints (str results_dir) |
| Derive the two construction footprints from the committed measurements. | |
| main () | |
| Compute all bounds, print the summary, and write the JSON output. | |
Variables | |
| dict | ML_KEM_768_PARAMS |
| dict | WB_PARAMS |
| Dict[str, Any] concrete_security_bounds.calculate_dca_security_bits | ( | int | num_traces, |
| float | measured_correlation, | ||
| int | num_shares | ||
| ) |
DCA security in bits from measured correlation.
| num_traces | Traces used in the DCA simulation. |
| measured_correlation | Correlation rho of the correct-key hypothesis. |
| num_shares | Number of masking shares. |
Definition at line 58 of file concrete_security_bounds.py.
Referenced by main().
Here is the caller graph for this function:| Dict[str, Any] concrete_security_bounds.calculate_table_footprint | ( | int | table_size_bytes | ) |
Byte-read footprint of the protected core, as an engineering magnitude.
| table_size_bytes | Total table storage in bytes, taken from the measured artifacts. |
Definition at line 114 of file concrete_security_bounds.py.
Referenced by main().
Here is the caller graph for this function:| Dict[str, Any] concrete_security_bounds.load_experimental_results | ( | str | results_dir | ) |
Load DCA and overhead JSON results if present.
| results_dir | Directory holding the experiment JSON files. |
Definition at line 139 of file concrete_security_bounds.py.
Referenced by main().
Here is the caller graph for this function:| tuple concrete_security_bounds.load_measured_footprints | ( | str | results_dir | ) |
Derive the two construction footprints from the committed measurements.
| results_dir | Directory holding the experiment JSON files. |
A = measured base table (whitebox_reference.json, A_shared_full_table) plus the measured encoding sublayer (whitebox_encoded.json); B likewise with the baked per-component table. Absence is a hard error – no value is hardcoded or substituted.
Definition at line 160 of file concrete_security_bounds.py.
Referenced by main().
Here is the caller graph for this function:| concrete_security_bounds.main | ( | void | ) |
Compute all bounds, print the summary, and write the JSON output.
Definition at line 194 of file concrete_security_bounds.py.
References calculate_dca_security_bits(), calculate_table_footprint(), load_experimental_results(), load_measured_footprints(), and main().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| dict concrete_security_bounds.ML_KEM_768_PARAMS |
Definition at line 40 of file concrete_security_bounds.py.
| dict concrete_security_bounds.WB_PARAMS |
Definition at line 53 of file concrete_security_bounds.py.