Meaning
Embedded cryptographic systems require protective measures against attacks that monitor the physical characteristics of the chip during operation. To secure sensitive data, register masking applies a random value or mask to the secret data before it is stored in registers, ensuring that the physical power consumption remains uncorrelated with the cryptographic key.
Cryptographic Defense
Side-channel analysis exploits the relationship between data transitions inside digital logic and the measured power or electromagnetic emissions. By using register masking, the actual values processed by the circuit are randomized throughout the computation. This randomization forces the power consumption to represent the masked values rather than the actual key, which prevents adversaries from extracting the key through differential power analysis.
Overhead Tradeoff
Implementing randomized computation pathways increases the silicon area and power budget of the design. The register masking technique requires additional logic to generate and manage the random mask values, alongside the registers that hold the masks themselves. This additional hardware increases the gate count and power consumption of the secure module.
Verification Method
Leakage assessment tests check for any remaining correlation between the processed data and the physical measurements. These tests use statistical evaluations like the t-test to confirm that the register masking is fully effective across all operations.