{
  "id": "2023/1505",
  "url": "https://opencryptology.org/2023/1505",
  "original_url": "https://eprint.iacr.org/2023/1505",
  "title": "PQ.V.ALU.E: Post-Quantum RISC-V Custom ALU Extensions on Dilithium and Kyber",
  "authors": [
    "Konstantina Miteloudi",
    "Joppe Bos",
    "Olivier Bronchain",
    "Björn Fay",
    "Joost Renes"
  ],
  "affiliations": null,
  "abstract": "This paper explores the challenges and potential solutions of implementing the recommended upcoming post-quantum cryptography standards (the CRYSTALS-Dilithium and CRYSTALS-Kyber algorithms) on resource constrained devices.\nThe high computational cost of polynomial operations, fundamental to cryptography based on ideal lattices, presents significant challenges in an efficient implementation.\nThis paper proposes a hardware/software co-design strategy using RISC-V extensions to optimize resource utilization and speed up the number-theoretic transformations (NTTs).\nThe primary contributions include a lightweight custom arithmetic logic unit (ALU), integrated into a 4-stage pipeline 32-bit RISC-V processor.\nThis ALU is tailored towards the NTT computations and supports modular arithmetic as well as NTT butterfly operations.\nFurthermore, an extension to the RISC-V instruction set is introduced, with ten new instructions accessing the custom ALU to perform the necessary operations.\nThe new instructions reduce the cycle count of the Kyber and Dilithium NTTs by more than 80% compared to optimized assembly, while being more lightweight than other works that exist in the literature.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“PQ.V.ALU.E: Post-Quantum RISC-V Custom ALU Extensions on Dilithium and Kyber” by Konstantina Miteloudi, Joppe Bos, Olivier Bronchain, Björn Fay, Joost Renes, Cryptology ePrint Archive, Paper 2023/1505, https://eprint.iacr.org/2023/1505. 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-10-02T14:32:47Z",
    "updated": "2024-01-10T14:20:53Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1505.pdf",
    "sha256": "153fffb36f1c475231553964417b209cb1457ff97052dad8ba51a0155abd8da5",
    "size": 580830,
    "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/1505/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/1505.pdf",
      "size": 580830,
      "sha256": "153fffb36f1c475231553964417b209cb1457ff97052dad8ba51a0155abd8da5",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/1505/versions/20231006T121831Z.pdf",
      "captured_at": "2023-10-06T12:18:31Z",
      "label": "copy captured 2023-10-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20231006121831id_/https://eprint.iacr.org/2023/1505.pdf",
      "size": 622176,
      "sha256": "aca3de6c8d3df8ee72813d0b9feb57aad7a3c5ed4f67158932d8d7e209e92379",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260101051611id_/https://eprint.iacr.org/2023/1505.pdf",
      "captured_at": "2026-01-01T05:16:11Z",
      "size": 459614
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1505.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 580830
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1505,\n      author = {Konstantina Miteloudi and Joppe Bos and Olivier Bronchain and Björn Fay and Joost Renes},\n      title = {PQ.V.ALU.E: Post-Quantum RISC-V Custom ALU Extensions on Dilithium and Kyber},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1505},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1505}\n}"
}
