TY - GEN
T1 - A scalable SIMD RISC-V based processor with customized vector extensions for CRYSTALS-kyber
AU - Li, Huimin
AU - Mentens, Nele
AU - Picek, Stjepan
PY - 2022
Y1 - 2022
N2 - This paper uses RISC-V vector extensions to speed up lattice-based operations in architectures based on HW/SW co-design. We analyze the structure of the number-theoretic transform (NTT), inverse NTT (INTT), and coefficient-wise multiplication (CWM) in CRYSTALS-Kyber, a lattice-based key encapsulation mechanism. We propose 12 vector extensions for CRYSTALS-Kyber multiplication and four for finite field operations in combination with two optimizations of the HW/SW interface. This results in a speed-up of 141.7, 168.7, and 245.5 times for NTT, INTT, and CWM, respectively, compared with the baseline implementation, and a speed-up of over four times compared with the state-of-the-art HW/SW co-design using RV32IMC.
AB - This paper uses RISC-V vector extensions to speed up lattice-based operations in architectures based on HW/SW co-design. We analyze the structure of the number-theoretic transform (NTT), inverse NTT (INTT), and coefficient-wise multiplication (CWM) in CRYSTALS-Kyber, a lattice-based key encapsulation mechanism. We propose 12 vector extensions for CRYSTALS-Kyber multiplication and four for finite field operations in combination with two optimizations of the HW/SW interface. This results in a speed-up of 141.7, 168.7, and 245.5 times for NTT, INTT, and CWM, respectively, compared with the baseline implementation, and a speed-up of over four times compared with the state-of-the-art HW/SW co-design using RV32IMC.
KW - ISA extension
KW - lattice-based cryptography
KW - polynomial operation
KW - RISC-V
KW - SIMD processor
KW - vector instruction
UR - http://www.scopus.com/inward/record.url?scp=85137511443&partnerID=8YFLogxK
U2 - 10.1145/3489517.3530552
DO - 10.1145/3489517.3530552
M3 - Conference contribution
AN - SCOPUS:85137511443
T3 - Proceedings - Design Automation Conference
SP - 733
EP - 738
BT - Proceedings of the 59th ACM/IEEE Design Automation Conference, DAC 2022
PB - IEEE
T2 - 59th ACM/IEEE Design Automation Conference, DAC 2022
Y2 - 10 July 2022 through 14 July 2022
ER -