{
  "id": "2026/1129",
  "url": "https://opencryptology.org/2026/1129",
  "original_url": "https://eprint.iacr.org/2026/1129",
  "title": "pSquare-hash: A Family of Tweakable Hash Functions for Physically Secure PQ Signatures",
  "authors": [
    "Lorenzo Grassi",
    "Mario Marhuenda-Beltrán",
    "Thorben Moos",
    "Fabian Schmid",
    "Matthias Johann Steiner",
    "Hailun Yan"
  ],
  "affiliations": null,
  "abstract": "In 2020 and 2024 respectively, NIST released a Special Publication (SP 800-208) and a Federal Information Processing Standard (FIPS 205) specifying hash-based signature schemes with natural quantum resistance thanks to their symmetric foundation. The former recommends the stateful hash-based signature schemes LMS and XMSS, whereas the latter standardizes their stateless counterpart SPHINCS+. While in principle all three constructions can be instantiated with any secure cryptographic hash function, the concrete instances recommended by NIST are currently limited to either the SHA-2 or the SHA-3 family. Building on the maturity of these standardized families is of course a sensible choice. Yet, we argue that neither is particularly well suited for this purpose, especially once physical security matters. As an alternative we suggest pSquare-hash, an arithmetization-oriented family of lightweight tweakable hash functions. We demonstrate that such dedicated tweakable constructions ideally suit the instantiation and security requirements of hash-based signature schemes, potentially leading to efficiency advantages over standard concatenation-based approaches through either a reduction of the permutation size or the number of calls. With respect to physical security, the presence of the tweak enables a clean separation between inputs that need to be protected against leakage/faults and those that are insensitive. The arithmetization-oriented nature and choice of prime enable the effective utilization of masking schemes with superior passive and active attack resistance (e.g., prime-field and/or inner-product masking) and keep the design suitable for zero-knowledge applications. We compare higher-order masked software (Cortex-M4) and hardware (NanGate 15 nm) implementations of pSquare-hash to equivalent SHA-2, SHA-3, SKINNY-Hash, Ascon-Hash and Poseidon2 instances and exhibit favorable characteristics whenever masking is applied.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“pSquare-hash: A Family of Tweakable Hash Functions for Physically Secure PQ Signatures” by Lorenzo Grassi, Mario Marhuenda-Beltrán, Thorben Moos, Fabian Schmid, Matthias Johann Steiner, Hailun Yan, Cryptology ePrint Archive, Paper 2026/1129, https://eprint.iacr.org/2026/1129. 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-01T13:59:02Z",
    "updated": "2026-06-05T06:41:30Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/1129.pdf",
    "sha256": "5d5cb29f8b39115b51fd6def001388b417827352fae9d202ae38e264fbdceeaa",
    "size": 1201326,
    "source": "wayback",
    "source_date": "2026-10-02T08:26:31Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/1129/versions/20261002T082631Z.pdf",
      "captured_at": "2026-10-02T08:26:31Z",
      "label": "copy captured 2026-10-02",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20261002082631id_/https://eprint.iacr.org/2026/1129.pdf",
      "size": 1201326,
      "sha256": "5d5cb29f8b39115b51fd6def001388b417827352fae9d202ae38e264fbdceeaa",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002082631id_/https://eprint.iacr.org/2026/1129.pdf",
      "captured_at": "2026-10-02T08:26:31Z",
      "size": 993305
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/1129,\n      author = {Lorenzo Grassi and Mario Marhuenda-Beltrán and Thorben Moos and Fabian Schmid and Matthias Johann Steiner and Hailun Yan},\n      title = {pSquare-hash: A Family of Tweakable Hash Functions for Physically Secure PQ Signatures},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1129},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/1129}\n}"
}
