发表状态 | 已发表Published |
题名 | Revisiting Keccak and Dilithium Implementations on ARMv7-M |
作者 | |
发表日期 | 2024-03-12 |
发表期刊 | IACR Transactions on Cryptographic Hardware and Embedded Systems
![]() |
ISSN/eISSN | 25692925 |
卷号 | 2024期号:2页码:1-24 |
摘要 | Keccak is widely used in lattice-based cryptography (LBC) and its impact to the overall running time in LBC scheme can be predominant on platforms lacking dedicated SHA-3 instructions. This holds true on embedded devices for Kyber and Dilithium, two LBC schemes selected by NIST to be standardized as quantum-safe cryptographic algorithms. While extensive work has been done to optimize the polynomial arithmetic in these schemes, it was generally assumed that Keccak implementations were already optimal and left little room for enhancement. In this paper, we revisit various optimization techniques for both Keccak and Dilithium on two ARMv7-M processors, i.e., Cortex-M3 and M4. For Keccak, we improve its efficiency using two architecture-specific optimizations, namely lazy rotation and memory access pipelining, on ARMv7-M processors. These optimizations yield performance gains of up to 24.78% and 21.4% for the largest Keccak permutation instance on Cortex-M3 and M4, respectively. As for Dilithium, we first apply the multi-moduli NTT for the small polynomial multiplication ct on Cortex-M3. Then, we thoroughly integrate the efficient Plantard arithmetic to the 16-bit NTTs for computing the small polynomial multiplications cs and ct on Cortex-M3 and M4. We show that the multi-moduli NTT combined with the efficient Plantard arithmetic could obtain significant speed-ups for the small polynomial multiplications of Dilithium on Cortex-M3. Combining all the aforementioned optimizations for both Keccak and Dilithium, we obtain 15.44% ∼ 23.75% and 13.94% ∼ 15.52% speed-ups for Dilithium on Cortex-M3 and M4, respectively. Furthermore, we also demonstrate that the Keccak optimizations yield 13.35% to 15.00% speed-ups for Kyber, and our Keccak optimizations decrease the proportion of time spent on hashing in Dilithium and Kyber by 2.46% ∼ 5.03% on Cortex-M4. |
关键词 | ARMv7-M Dilithium Keccak lattice-based cryptography Plantard arithmetic |
DOI | 10.46586/tches.v2024.i2.1-24 |
URL | 查看来源 |
语种 | 英语English |
Scopus入藏号 | 2-s2.0-85187790297 |
引用统计 | |
文献类型 | 期刊论文 |
条目标识符 | https://repository.uic.edu.cn/handle/39GCC9TT/11485 |
专题 | 理工科技学院 |
通讯作者 | Chen, Donglong |
作者单位 | 1.Guangdong Provincial Key Laboratory IRADSBNU-HKBU United International College,Zhuhai,China 2.Hong Kong Baptist University,Hong Kong 3.Paris, France 4.Nanjing University of Aeronautics and Astronautics,Nanjing,China 5.Zhejiang Lab,Hangzhou,China 6.Sun Yat-sen University,Zhuhai,China 7.City University of Hong Kong,Hong Kong 8.Iǧdır University,Merkez,Turkey 9.University of California Santa Barbara,Santa Barbara,United States |
第一作者单位 | 北师香港浸会大学 |
通讯作者单位 | 北师香港浸会大学 |
推荐引用方式 GB/T 7714 | Huang, Junhao,Adomnicăi, Alexandre,Zhang, Jipenget al. Revisiting Keccak and Dilithium Implementations on ARMv7-M[J]. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2024, 2024(2): 1-24. |
APA | Huang, Junhao., Adomnicăi, Alexandre., Zhang, Jipeng., Dai, Wangchen., Liu, Yao., .. & Chen, Donglong. (2024). Revisiting Keccak and Dilithium Implementations on ARMv7-M. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2024(2), 1-24. |
MLA | Huang, Junhao,et al."Revisiting Keccak and Dilithium Implementations on ARMv7-M". IACR Transactions on Cryptographic Hardware and Embedded Systems 2024.2(2024): 1-24. |
条目包含的文件 | 条目无相关文件。 |
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。
修改评论