{
  "id": "2026/1306",
  "url": "https://opencryptology.org/2026/1306",
  "original_url": "https://eprint.iacr.org/2026/1306",
  "title": "TETRIS: Automated Design Space Exploration of Randomness–Latency Trade-offs in Masked Hardware",
  "authors": [
    "Nilotpola Sarma",
    "Tapish Patidar",
    "Nupur Brahamanya",
    "Chandan Karfa"
  ],
  "affiliations": null,
  "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.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“TETRIS: Automated Design Space Exploration of Randomness–Latency Trade-offs in Masked Hardware” by Nilotpola Sarma, Tapish Patidar, Nupur Brahamanya, Chandan Karfa, Cryptology ePrint Archive, Paper 2026/1306, https://eprint.iacr.org/2026/1306. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-06-23T08:39:40Z",
    "updated": "2026-08-17T11:10:52Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/1306.pdf",
    "sha256": "593461994e0cffa7f89f084e373366b3b8f439364f30f93ee0804aa527287610",
    "size": 1307120,
    "source": "wayback",
    "source_date": "2026-08-21T22:35:05Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/1306/versions/20260821T223505Z.pdf",
      "captured_at": "2026-08-21T22:35:05Z",
      "label": "copy captured 2026-08-21",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260821223505id_/https://eprint.iacr.org/2026/1306.pdf",
      "size": 1307120,
      "sha256": "593461994e0cffa7f89f084e373366b3b8f439364f30f93ee0804aa527287610",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260821223505id_/https://eprint.iacr.org/2026/1306.pdf",
      "captured_at": "2026-08-21T22:35:05Z",
      "size": 1241865
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/1306,\n      author = {Nilotpola Sarma and Tapish Patidar and Nupur Brahamanya and Chandan Karfa},\n      title = {TETRIS: Automated Design Space Exploration of Randomness–Latency Trade-offs in Masked Hardware},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1306},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/1306}\n}"
}
