{
  "id": "2023/1117",
  "url": "https://opencryptology.org/2023/1117",
  "original_url": "https://eprint.iacr.org/2023/1117",
  "title": "Mask Compression: High-Order Masking on Memory-Constrained Devices",
  "authors": [
    "Markku-Juhani O. Saarinen",
    "Mélissa Rossi"
  ],
  "affiliations": null,
  "abstract": "Masking is a well-studied method for achieving provable security against side-channel attacks. In masking, each sensitive variable is split into $d$ randomized shares, and computations are performed with those shares. In addition to the computational overhead of masked arithmetic, masking also has a storage cost, increasing the requirements for working memory and secret key storage proportionally with $d$.\n\nIn this work, we introduce mask compression. This conceptually simple technique is based on standard, non-masked symmetric cryptography. Mask compression allows an implementation to dynamically replace individual shares of large arithmetic objects (such as polynomial rings) with $\\kappa$-bit cryptographic seeds (or temporary keys) when they are not in computational use. Since $\\kappa$ does not need to be larger than the security parameter (e.g., $\\kappa=256$ bits) and each polynomial share may be several kilobytes in size, this radically reduces the memory requirement of high-order masking. Overall provable security properties can be maintained by using appropriate gadgets to manage the compressed shares. We describe gadgets with Non-Inteference (NI) and composable Strong-Non Interference (SNI) security arguments.\n\nMask compression can be applied in various settings, including symmetric cryptography, code-based cryptography, and lattice-based cryptography. It is especially useful for cryptographic primitives that allow quasilinear-complexity masking and hence are practically capable of very high masking orders. We illustrate this with a $d=32$ (Order-31) implementation of the recently introduced lattice-based signature scheme Raccoon on an FPGA platform with limited memory resources.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Mask Compression: High-Order Masking on Memory-Constrained Devices” by Markku-Juhani O. Saarinen, Mélissa Rossi, Cryptology ePrint Archive, Paper 2023/1117, https://eprint.iacr.org/2023/1117. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-07-18T08:01:21Z",
    "updated": "2023-07-18T08:01:21Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1117.pdf",
    "sha256": "b548b894ddf0c3801d742b3c99af01b1d71cae21059a9ff4063ef227f6f2de65",
    "size": 817981,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/1117/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1117.pdf",
      "size": 817981,
      "sha256": "b548b894ddf0c3801d742b3c99af01b1d71cae21059a9ff4063ef227f6f2de65",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260110131053id_/https://eprint.iacr.org/2023/1117.pdf",
      "captured_at": "2026-01-10T13:10:53Z",
      "size": 808065
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1117.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 817981
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1117,\n      author = {Markku-Juhani O. Saarinen and Mélissa Rossi},\n      title = {Mask Compression: High-Order Masking on Memory-Constrained Devices},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1117},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1117}\n}"
}
