面向任意静态模数的硬件实现中面积高效的模约简
Area Efficient Modular Reduction in Hardware for Arbitrary Static Moduli
AI总结:
针对后量子密码硬件实现中模约简面积开销高的问题,提出一种无需乘法、适配任意静态模数的模约简方法,大幅降低面积,支持并行流水线与常数时间执行,适配密码安全需求。
摘要:
模约简是众多后量子密码方案中的关键运算,包括Kyber密钥交换方案与Dilithium签名方案均有应用。但该运算计算开销较大,会成为硬件实现中的性能瓶颈。针对这一问题,本文提出一种可在硬件中高效计算任意静态模数模约简的新方法。与Barrett约简、Montgomery约简等其他常用方法不同,该方法无需任何乘法运算,其高性能与低面积消耗不依赖于特定模数的性质。该方法的核心优势在于极低的面积消耗:针对Kyber和Dilithium场景,相比优化后的Barrett实现面积降低60%,相比通用Barrett实现面积最高降低90%。此外,该方法非常适合并行化与流水线实现,硬件资源消耗随运算位宽线性增长。所有运算均可在模数的位宽下完成,无需达到待约简数的位宽,这缩短了进位链,可实现更高的时钟频率。同时,该方法可在常数时间内执行,这对于可能遭受计时攻击以窃取密钥信息的密码应用而言至关重要。
英文摘要:
Modular reduction is a crucial operation in many post-quantum cryptographic schemes, including the Kyber key exchange method or Dilithium signature scheme. However, it can be computationally expensive and pose a performance bottleneck in hardware implementations. To address this issue, we propose a novel approach for computing modular reduction efficiently in hardware for arbitrary static moduli. Unlike other commonly used methods such as Barrett or Montgomery reduction, the method does not require any multiplications. It is not dependent on properties of any particular choice of modulus for good performance and low area consumption. Its major strength lies in its low area consumption, which was reduced by 60% for optimized and up to 90% for generic Barrett implementations for Kyber and Dilithium. Additionally, it is well suited for parallelization and pipelining and scales linearly in hardware resource consumption with increasing operation width. All operations can be performed in the bit-width of the modulus, rather than the size of the number being reduced. This shortens carry chains and allows for faster clocking. Moreover, our method can be executed in constant time, which is essential for cryptography applications where timing attacks can be used to obtain information about the secret key.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。