{
  "id": "2022/505",
  "url": "https://opencryptology.org/2022/505",
  "original_url": "https://eprint.iacr.org/2022/505",
  "title": "Riding the Waves Towards Generic Single-Cycle Masking in Hardware",
  "authors": [
    "Rishub Nagpal",
    "Barbara Gigerl",
    "Robert Primas",
    "Stefan Mangard"
  ],
  "affiliations": null,
  "abstract": "Research on the design of masked cryptographic hardware circuits in the\npast has mostly focused on reducing area and randomness requirements. However,\nmany embedded devices like smart cards and IoT nodes also need to meet certain\nperformance criteria, which is why the latency of masked hardware circuits also\nrepresents an important metric for many practical applications.\nThe root cause of latency in masked hardware circuits is the need for additional register stages that synchronize the propagation of shares. Otherwise, glitches would violate the basic assumptions of the used masking scheme. This issue can be addressed\nto some extent, e.g., by using lightweight cryptographic algorithms with low-degree\nS-boxes, however, many applications still require the usage of schemes with higher-\ndegree S-boxes like AES. Several recent works have already proposed solutions that\nhelp reduce this latency yet they either come with noticeably increased area/randomness requirements, limitations on masking orders, or specific assumptions on the\ngeneral architecture of the crypto core.\nIn this work, we introduce a generic and efficient method for designing single-cycle\nglitch-resistant (higher-order) masked hardware of cryptographic S-boxes. We refer\nto this technique as (generic) Self-Synchronized Masking (“SESYM”). The main\nidea of our approach is to replace register stages with a partial dual-rail encoding\nof masked signals that ensures synchronization within the circuit. More concretely,\nwe show that WDDL gates and Muller C-elements can be used in combination with\nstandard masking schemes to design single-cycle S-box circuits that, especially in\ncase of higher-degree S-boxes, have noticeably lower requirements in terms of area\nand online randomness. We apply our method to DOM-based S-boxes of Ascon and\nAES and compare the resulting circuits to existing latency optimized circuits based\non TI, GLM, and LMDPL. The latency of all three designs is reduced to single-cycle\noperation and are $d^\\text{th}$ -order secure. Compared to GLM-masked Ascon, our approach\ncomes with a 6.4 times reduction in online randomness for all protection orders.\nCompared to 1st-order LMDPL-masked AES, our approach achieves comparable\nresults, while it is more generic, amongst others, by also supporting higher-order\ndesigns. We also underline the practical protection of our constructions against\npower analysis attacks via empirical and formal verification approaches.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Riding the Waves Towards Generic Single-Cycle Masking in Hardware” by Rishub Nagpal, Barbara Gigerl, Robert Primas, Stefan Mangard, Cryptology ePrint Archive, Paper 2022/505, https://eprint.iacr.org/2022/505. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-04-28T08:07:53Z",
    "updated": "2022-10-17T12:40:58Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/505.pdf",
    "sha256": "cc2e85178eca9b97ce50c7116a6e64464c90fe9fda65b0e5326c05fca3d7d8b5",
    "size": 982014,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/505/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/505.pdf",
      "size": 982014,
      "sha256": "cc2e85178eca9b97ce50c7116a6e64464c90fe9fda65b0e5326c05fca3d7d8b5",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/505/versions/20220528T195330Z.pdf",
      "captured_at": "2022-05-28T19:53:30Z",
      "label": "copy captured 2022-05-28",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220528195330id_/https://eprint.iacr.org/2022/505.pdf",
      "size": 710853,
      "sha256": "5788b8b94790cd8ff97a8001c2f73984e208eb97b42b15441179f28c8fb6dacd",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/505/versions/20220428T091954Z.pdf",
      "captured_at": "2022-04-28T09:19:54Z",
      "label": "copy captured 2022-04-28",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220428091954id_/https://eprint.iacr.org/2022/505.pdf",
      "size": 706824,
      "sha256": "5ff815aa823f8d8b03efa1292ee9cf0a32e5ae9e281ff2c995ba8ce407960671",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/505.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 982014
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20230326015422id_/https://eprint.iacr.org/2022/505.pdf",
      "captured_at": "2023-03-26T01:54:22Z",
      "size": 957206
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/505,\n      author = {Rishub Nagpal and Barbara Gigerl and Robert Primas and Stefan Mangard},\n      title = {Riding the Waves Towards Generic Single-Cycle Masking in Hardware},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/505},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/505}\n}"
}
