Publication:
ISA Extensions for Finite Field Arithmetic Accelerating Kyber and NewHope on RISC-V

dc.authorscopusid43261000900
dc.authorscopusid57321521900
dc.authorscopusid57220891181
dc.authorscopusid35726982300
dc.authorscopusid57195944973
dc.contributor.authorAlkım, E.
dc.contributor.authorEvkan, H.
dc.contributor.authorLahr, N.
dc.contributor.authorNiederhagen, R.
dc.contributor.authorPetri, R.
dc.date.accessioned2025-12-11T00:24:00Z
dc.date.issued2020
dc.departmentOndokuz Mayıs Üniversitesien_US
dc.department-temp[Alkım] Erdem, Fraunhofer Institute for Secure Information Technology SIT, Darmstadt, Hessen, Germany, Department of Computer Engineering, Ondokuz Mayis Üniversitesi, Samsun, Turkey; [Evkan] Hülya, Fraunhofer Institute for Secure Information Technology SIT, Darmstadt, Hessen, Germany; [Lahr] Norman, Fraunhofer Institute for Secure Information Technology SIT, Darmstadt, Hessen, Germany; [Niederhagen] Ruben, Fraunhofer Institute for Secure Information Technology SIT, Darmstadt, Hessen, Germany; [Petri] Richard, Fraunhofer Institute for Secure Information Technology SIT, Darmstadt, Hessen, Germanyen_US
dc.description.abstractWe present and evaluate a custom extension to the RISC-V instruction set for finite field arithmetic. The result serves as a very compact approach to software-hardware co-design of PQC implementations in the context of small embedded processors such as smartcards. The extension provides instructions that implement finite field operations with subsequent reduction of the result. As small finite fields are used in various PQC schemes, such instructions can provide a considerable speedup for an otherwise software-based implementation. Furthermore, we create a prototype implementation of the presented instructions for the extendable VexRiscv core, integrate the result into a chip design, and evaluate the design on two different FPGA platforms. The effectiveness of the extension is evaluated by using the instructions to optimize the Kyber and NewHope key-encapsulation schemes. To that end, we also present an optimized software implementation for the standard RISC-V instruction set for the polynomial arithmetic underlying those schemes, which serves as basis for comparison. Both variants are tuned on an assembler level to optimally use the processor pipelines of contemporary RISC-V CPUs. The result shows a speedup for the polynomial arithmetic of up to 85% over the basic software implementation. Using the custom instructions drastically reduces the code and data size of the implementation without introducing runtime-performance penalties at a small cost in circuit size. When used in the selected schemes, the custom instructions can be used to replace a full general purpose multiplier to achieve very compact implementations. © 2020, Ruhr-University of Bochum. All rights reserved.en_US
dc.identifier.doi10.13154/tches.v2020.i3.219-242
dc.identifier.endpage242en_US
dc.identifier.issn2569-2925
dc.identifier.issue3en_US
dc.identifier.scopus2-s2.0-85098281577
dc.identifier.scopusqualityQ1
dc.identifier.startpage219en_US
dc.identifier.urihttps://doi.org/10.13154/tches.v2020.i3.219-242
dc.identifier.urihttps://hdl.handle.net/20.500.12712/36305
dc.identifier.volume2020en_US
dc.language.isoenen_US
dc.publisherRuhr-University of Bochumen_US
dc.relation.ispartofIACR Transactions on Cryptographic Hardware and Embedded Systemsen_US
dc.relation.publicationcategoryMakale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanıen_US
dc.rightsinfo:eu-repo/semantics/closedAccessen_US
dc.subjectISA Extensionen_US
dc.subjectKyberen_US
dc.subjectLattice-Based Cryptoen_US
dc.subjectNewHopeen_US
dc.subjectPQCen_US
dc.subjectRISC-Ven_US
dc.titleISA Extensions for Finite Field Arithmetic Accelerating Kyber and NewHope on RISC-Ven_US
dc.typeArticleen_US
dspace.entity.typePublication

Files