文章详情

题名 · 作者 · 摘要 · 关键词 · DOI · 参考文献

面向ARM平台的Kyber算法性能优化研究

常洺赫

(电信科学技术研究院,北京 100191)

栏目:计算机技术 · 第 2026 年第 18 期 · 页码:125-130,135 · 2096-4706(2026)18-0125-07 · 中图分类号:TP309.7 · 文献标识码:A · DOI:10.19850/j.cnki.2096-4706.2026.18.022

摘要

随着量子计算的发展,传统公钥密码体制面临严峻挑战。NIST标准化的基于格密码的Kyber算法是后量子时代密钥封装机制的核心标准。然而,Kyber算法的参考实现在资源受限的ARM嵌入式平台上存在计算效率低、指令并行度差及访存开销大等问题。针对上述瓶颈,开展了面向微架构的实现优化研究。采用Union双视图数据布局与缓存行对齐策略,结合高级单指令多数据扩展(NEON)的8路并行数论变换及Keccak循环展开方法,在Rockchip RK3399(ARM Cortex-A72)平台进行了测试。结果显示,不同安全等级下密钥生成、封装与解封装等关键操作的CPU周期下降55.6%~62.4%,吞吐量提升125.2%~166.1%。研究表明,数据布局与指令级并行协同优化可显著提升后量子密码在资源受限平台上的部署效率。

关键词

后量子密码;Kyber;ARM架构;NEON向量化;性能优化

参考文献

  1. [1] Shor P W. Algorithms for Quantum Computation: Discrete Logarithms and Factoring [C]//Proceedings 35th Annual Symposium on Foundations of Computer Science,1994:124-134.
  2. [2] Bisheh-Niasar M,Azarderakhsh R,Mozaffari-Kermani M. A Monolithic Hardware Implementation of Kyber: Comparing Apples to Apples in PQC Candidates [C]//International Conference on Cryptology and Information Security in Latin America,2021:108-126.
  3. [3] Bernstein D J. Post-quantum Cryptography [M]//Encyclopedia of Cryptography, Security and Privacy.Cham:Springer Nature Switzerland,2025:1846-1847.
  4. [4] Kaiser S,Tosun A S,Korkmaz T. Edge System Design Using Containers and Unikernels for IoT Applications [PP/OL].arXiv:2412.03032[cs.DC].https://arxiv.org/abs/2412.03032.
  5. [5] Chen X H,Hung L H,Cordingly R,et al. X86 vs. ARM64: An Investigation of Factors Influencing Serverless Performance [C]//Proceedings of the 9th International Workshop on Serverless Computing,2023:7-12.
  6. [6] Becker H,Hwang V,Kannwischer M J,et al. Neon NTT: Faster Dilithium, Kyber, and Saber on Cortex-A72 and Apple M1 [J].IACR Transactions on Cryptographic Hardware and Embedded Systems,2022(1):221-244.
  7. [7] 赵新颖.后量子密码算法DILITHIUM和KYBER的优化及应用 [D].西安:西安电子科技大学,2023.
  8. [8] Kannwischer M J,Rijneveld J,Schwabe P,et al. pqm4: Testing and Benchmarking NISTPQC on ARM Cortex-M4 [C]//Proceedings of the 2nd NISTPQC Standardization Conference,2019.
  9. [9] Kannwischer M J,Schwabe P,Stebila D,et al. Improving Software Quality in Cryptography Standardization Projects [C]//2022 IEEE European Symposium on Security and Privacy Workshops (EuroS&PW),2022:19-30.
  10. [10] Open Quantum Safe Project. Liboqs: C Library for Quantum-Safe Cryptography [EB/OL].[2026-03-11].https://github.com/open-quantum-safe/liboqs.

作者简介

常洺赫(2002—),男,汉族,山西晋中人,硕士研究生在读,研究方向:密码学。