{
  "id": "2024/755",
  "url": "https://opencryptology.org/2024/755",
  "original_url": "https://eprint.iacr.org/2024/755",
  "title": "Efficient Second-Order Masked Software Implementations of Ascon in Theory and Practice",
  "authors": [
    "Barbara Gigerl",
    "Florian Mendel",
    "Martin Schläffer",
    "Robert Primas"
  ],
  "affiliations": null,
  "abstract": "In this paper, we present efficient protected software implementations of the authenticated cipher Ascon, the recently announced winner of the NIST standardization process for lightweight cryptography.\nOur implementations target theoretical and practical security against second-order power analysis attacks.\n  \nFirst, we propose an efficient second-order extension of a previously presented first-order masking of the Keccak S-box that does not require online randomness.\nThe extension itself is inspired by a previously presented second-order masking of an AND-XOR construction.\nWe then discuss implementation tricks that further improve performance and reduce the chance of unintended combination of shares during the execution of masked software on microprocessors.\nThis allows us to retain the theoretic protection orders of masking in practice with low performance overhead, which we also confirm via TVLA on ARM microprocessors.\nThe formal correctness of our designs is additionally verified using Coco on the netlist of a RISC-V IBEX core.\n  \nWe benchmark our masked software designs on 32-bit ARM and RISC-V microprocessor platforms.\nOn both platforms, we can perform Ascon-128 authenticated encryption with a throughput of about 300 or 550 cycles/byte when operating on 2 or 3 shares.\nWhen utilizing a leveled implementation technique, the throughput of our masked implementations generally increases to about 90 cycles/byte.\n  \nWe publish our masked software implementations together with a generic software framework for evaluating performance and side-channel resistance of various masked cryptographic implementations.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Efficient Second-Order Masked Software Implementations of Ascon in Theory and Practice” by Barbara Gigerl, Florian Mendel, Martin Schläffer, Robert Primas, Cryptology ePrint Archive, Paper 2024/755, https://eprint.iacr.org/2024/755. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-05-17T08:31:24Z",
    "updated": "2024-05-17T08:31:24Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/755.pdf",
    "sha256": "1ecf1b0e80a3237d4cfeb35cffc73aedb742ee4d29998cc5857436f3a0435033",
    "size": 3261725,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/755/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/755.pdf",
      "size": 3261725,
      "sha256": "1ecf1b0e80a3237d4cfeb35cffc73aedb742ee4d29998cc5857436f3a0435033",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/755.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 3261725
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260307211636id_/https://eprint.iacr.org/2024/755.pdf",
      "captured_at": "2026-03-07T21:16:36Z",
      "size": 3230766
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/755,\n      author = {Barbara Gigerl and Florian Mendel and Martin Schläffer and Robert Primas},\n      title = {Efficient Second-Order Masked Software Implementations of Ascon in Theory and Practice},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/755},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/755}\n}"
}
