{
  "id": "2025/2165",
  "url": "https://opencryptology.org/2025/2165",
  "original_url": "https://eprint.iacr.org/2025/2165",
  "title": "Extending and Accelerating Inner Product Masking with Fault Detection via Instruction Set Extension",
  "authors": [
    "Songqiao Cui",
    "Geng Luo",
    "Junhan Bao",
    "Josep Balasch",
    "Ingrid Verbauwhede"
  ],
  "affiliations": null,
  "abstract": "Inner product masking is a well-studied masking countermeasure against side-channel attacks. IPM-FD further extends the IPM scheme with fault detection capabilities. However, implementing IPM-FD in software especially on embedded devices results in high computational overhead. Therefore, in this work we perform a detailed analysis of all building blocks for IPM-FD scheme and propose a Masked Processing Unit to accelerate all operations, for example multiplication and IPM-FD specific Homogenization. We can then offload these computational extensive operations with dedicated hardware support. With only $4.05\\%$ and $4.01\\%$ increase in Look-Up Tables and Flip-Flops (Random Number Generator excluded), respectively, compared with baseline CV32E40p RISC-V core, we can achieve up to $16.55\\times$ speed-up factor with optimal configuration. We then practically evaluate the side-channel security via uni- and bivariate Test Vector Leakage Assessment which exhibits no leakage. Finally, we use two different methods to simulate the injected fault and confirm the fault detection capability of up to $k-1$ faults, with $k$ being the replication factor.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Extending and Accelerating Inner Product Masking with Fault Detection via Instruction Set Extension” by Songqiao Cui, Geng Luo, Junhan Bao, Josep Balasch, Ingrid Verbauwhede, Cryptology ePrint Archive, Paper 2025/2165, https://eprint.iacr.org/2025/2165. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-11-28T15:53:33Z",
    "updated": "2025-11-28T15:53:33Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/2165.pdf",
    "sha256": "70341a31a7799de2e4f3b3b8f0f182e84086f12d18edfaea4756b5a7701e0ad7",
    "size": 1661067,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/2165/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/2025/2165.pdf",
      "size": 1661067,
      "sha256": "70341a31a7799de2e4f3b3b8f0f182e84086f12d18edfaea4756b5a7701e0ad7",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/2165.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1661067
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260419173239id_/https://eprint.iacr.org/2025/2165.pdf",
      "captured_at": "2026-04-19T17:32:39Z",
      "size": 1645253
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/2165,\n      author = {Songqiao Cui and Geng Luo and Junhan Bao and Josep Balasch and Ingrid Verbauwhede},\n      title = {Extending and Accelerating Inner Product Masking with Fault Detection via Instruction Set Extension},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/2165},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/2165}\n}"
}
