compact_distributions - ChairImpSec/PROLEAD GitHub Wiki

Type

Boolean

Default

false

Description

Specifies whether PROLEAD evaluates a design in normal mode or compact mode.

  • Normal Mode: All observations made by the adversary are fully stored in the contingency tables.

Consideration of Observations in Normal Mode

  • Compact Mode: Only the Hamming weight of the observations is stored, resulting in a more concise table.

Consideration of Observations in Compact Mode

Impact

  • Normal Mode: Provides highly accurate results but can lead to rapid growth of the contingency table and increased memory (RAM) usage.
  • Compact Mode: Reduces memory usage by storing less detailed data, which means that leakages can be overseen compared to normal mode.

Examples

Evaluation in Normal Mode

"performance": {
    "compact_distributions": false
}

This configuration uses normal mode.

Evaluation in Compact Mode

"performance": {
    "compact_distributions": true
}

This configuration uses compact mode.