Paper 2026/1306

TETRIS: Automated Design Space Exploration of Randomness–Latency Trade-offs in Masked Hardware

Nilotpola Sarma, Indian Institute of Technology Guwahati
Tapish Patidar, Indian Institute of Technology Guwahati
Nupur Brahamanya, Indian Institute of Technology Guwahati
Chandan Karfa, Indian Institute of Technology Guwahati
Abstract

Given a fixed security order, the randomness and latency of masked hardware present a trade-off. This trade-off has not been structurally examined well enough to enable an efficient search for a user-optimal (randomness/latency-efficient) masked design. Gadget-based masking simplifies masking by replacing each unmasked primitive circuit with a corresponding masked circuit, called a \textit{gadget}, to realize a larger masked design. These gadgets, in turn, have masking-order-dependent latency-randomness costs, lending a structure to the randomness and latency of gadget-based masked hardware. This structure enables automated Design-Space Exploration (DSE) of gadget-based masked hardware that takes in a user's constraints on randomness (or latency) to arrive at the latency (or randomness) optimal assignment of gadgets with less area and vice versa. This article introduces a software-level DSE approach, the basis of which is the two DSE algorithms - Minimize Latency under Randomness Constraints (MLRC) and Minimize Randomness under Latency Constraints (MRLC), which are duals of each other. While prior work optimizes masked hardware by formulating a global optimization based on the Boolean Satisfiability Problem (SAT), our results show that gadget-based masked hardware using Probe-Isolating Non-Interference (PINI) gadgets embodies a structured trade-off, enabling efficient heuristic-based solutions rather than relying on heavy global optimizations. This gives our tool comparable or superior area results in under a millisecond - a speedup of up to several orders of magnitude to the State-of-the-Art tools.

Note: This paper is conditionally accepted at CHES 2026.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
A minor revision of an IACR publication in TCHES 2026
Keywords
Power Side Channel SecurityMaskingLow-latency maskingLow-randomness maskingDesign Space Exploration
Contact author(s)
s nilotpola @ iitg ac in
p tapish @ iitg ac in
b nupur @ iitg ac in
ckarfa @ iitg ac in
History
2026-08-17: revised
2026-06-23: received
See all versions
Short URL
https://ia.cr/2026/1306
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2026/1306,
      author = {Nilotpola Sarma and Tapish Patidar and Nupur Brahamanya and Chandan Karfa},
      title = {{TETRIS}: Automated Design Space Exploration of Randomness–Latency Trade-offs in Masked Hardware},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1306},
      year = {2026},
      url = {https://eprint.iacr.org/2026/1306}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.