Abstract
The CRYSTAL-Kyber algorithm is the only Public-key Encryption algorithm selected by the National Institute of Standards and Technology (NIST) in the third round of the Post-Quantum Cryptography (PQC) Standardization Process. Hardware architectures for the CRYSTAL-Kyber cryptosystem must be designed to hasten the execution of the operands of cryptographic algorithms, particularly high-order polynomial multiplication. All operands are reduced modularly to produce finite groups, rings, or fields. This paper utilizes an optimized variant of the Barret reduction algorithm, combined with a bit-correction module, to calculate the precision of the estimated quotient q̂. As a result, only one conditional subtraction is required without DSPs. The proposed structure is simulated and synthesized using Xilinx Vivado 2021.2 suite software and implemented on the Artix7 FPGA board, demonstrating that this design has the highest frequency achieving 239 MHz with an area of 75 LUTs, 50 FFs, and 28 Slices, respectively. The hardware efficiency metric is slightly higher than the K-RED design and significantly improved compared to other methods, at least \(1.53\times \), \(2.67\times \), and \(2.74\times \), respectively. This design is suitable for both NTT and Point-Wise-Multiplication (PWM) modes.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Xu, T., Cui, Y., Liu, D., Wang, C., Liu, W.: Lightweight and efficient hardware implementation for Saber using NTT multiplication. In: APCCAS, pp. 601–605, China, Shenzhen, November 2022
Xing, Y., Li, S.: A compact hardware implementation of CCA-secure key exchange mechanism CRYSTALS-KYBER on FPGA. TCHES 2021(2), 328–356 (2021)
Montgomery, P.L.: Modular multiplication without trial division. Math. Comput. 44(170), 519–521 (1985)
Barrett, P.: Implementing the Rivest Shamir and Adleman public key encryption algorithm on a standard digital signal processor. In: Odlyzko, A.M. (ed.) CRYPTO 1986. LNCS, vol. 263, pp. 311–323. Springer, Heidelberg (1987). https://doi.org/10.1007/3-540-47721-7_24
Liu, Z., Seo, H., Sinha Roy, S., Großschädl, J., Kim, H., Verbauwhede, I.: Efficient Ring-LWE encryption on 8-Bit AVR processors. In: Güneysu, T., Handschuh, H. (eds.) CHES 2015. LNCS, vol. 9293, pp. 663–682. Springer, Heidelberg (2015). https://doi.org/10.1007/978-3-662-48324-4_33
Longa, P., Naehrig, M.: Speeding up the number theoretic transform for faster ideal lattice-based cryptography. In: Foresti, S., Persiano, G. (eds.) CANS 2016. LNCS, vol. 10052, pp. 124–139. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-48965-0_8
Knezevic, M., Vercauteren, F., Verbauwhede, I.: Faster interleaved modular multiplication based on Barrett and Montgomery reduction methods. IEEE Trans. Comput. 59(12), 1715–1721 (2010)
Dang, V.B., Mohajerani, K., Gaj, K.: High-speed hardware architectures and FPGA benchmarking of CRYSTALS-Kyber, NTRU, and Saber. IEEE Trans. Comput. 72(2), 306–320 (2023)
Liu, W., Fan, S., Khalid, A., Rafferty, C., O’Neill, M.: Optimized schoolbook polynomial multiplication for compact lattice-based cryptography on FPGA. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. 27(10), 2459–2463 (2019)
Kundi, D.-e-S., Zhang, Y., Wang, C., Khalid, A., O’Neill, M., Liu, W.: Ultra high-speed polynomial multiplications for lattice-based cryptography on FPGAs. IEEE Trans. Emerg. Topics Comput. 10(4), 1993–2005 (2022)
Bisheh-Niasar, M., Azarderakhsh, R., Mozaffari-Kermani, M.: High-speed NTT-based polynomial multiplication accelerator for post-quantum cryptography. In: Proceedings of IEEE Symposium on Computer Arithmetic (ARITH), Lyngby, Denmark, pp. 94–101, June 2021
Itabashi, Y., Ueno, R., Homma, N.: Efficient modular polynomial multiplier for NTT accelerator of Crystals-Kyber. In: DSD, pp. 528–533, Spain, Maspalomas, August 2022
Guo, W., Li, S., Kong, L.: An efficient implementation of KYBER. IEEE Trans. Circuits Syst. II Express Briefs 69(3), 1562–1566 (2022)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Nguyen, TH., Pham, CK., Hoang, TT. (2023). A High-Speed Barret-Based Modular Multiplication with Bit-Correction for the CRYSTAL-KYBER Cryptosystem. In: Dao, NN., Thinh, T.N., Nguyen, N.T. (eds) Intelligence of Things: Technologies and Applications. ICIT 2023. Lecture Notes on Data Engineering and Communications Technologies, vol 188. Springer, Cham. https://doi.org/10.1007/978-3-031-46749-3_19
Download citation
DOI: https://doi.org/10.1007/978-3-031-46749-3_19
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-46748-6
Online ISBN: 978-3-031-46749-3
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)