再论广义Mersenne数
Generalised Mersenne Numbers Revisited
摘要:
广义梅森数(Generalized Mersenne Numbers,GMN)由Solinas在1999年定义,并在NIST(FIPS 186-2)和SECG标准中用于椭圆曲线密码学。它们的形式是这样的,模约简是非常有效的,从而使它们成为模乘法实现的有吸引力的选择。然而,剩余乘法效率的问题似乎被忽视了。渐近地,使用循环而不是线性卷积,剩余乘法模梅森数是整数乘法的两倍;这个属性不适用于素数GMN,除非它们是梅森形式。在这项工作中,我们利用了另一种广义的梅森数的模拟上述属性-因此,相同的效率比-持有,即使在位长度的教科书乘法是最佳的,同时也保持非常有效的减少。此外,我们提出的素数是丰富的任何位长,而GMN是极其罕见的。我们的乘法和减少算法也可以很容易地并行化,使我们的算法特别适合于硬件实现。此外,我们提出的字段表示也自然地防止侧信道攻击,包括定时攻击,简单功率分析和差分功率分析,这在许多加密场景中是必不可少的,在组播到GMN。
英文摘要:
Generalised Mersenne Numbers (GMNs) were defined by Solinas in 1999 and feature in the NIST (FIPS 186-2) and SECG standards for use in elliptic curve cryptography. Their form is such that modular reduction is extremely efficient, thus making them an attractive choice for modular multiplication implementation. However, the issue of residue multiplication efficiency seems to have been overlooked. Asymptotically, using a cyclic rather than a linear convolution, residue multiplication modulo a Mersenne number is twice as fast as integer multiplication; this property does not hold for prime GMNs, unless they are of Mersenne's form. In this work we exploit an alternative generalisation of Mersenne numbers for which an analogue of the above property --- and hence the same efficiency ratio --- holds, even at bitlengths for which schoolbook multiplication is optimal, while also maintaining very efficient reduction. Moreover, our proposed primes are abundant at any bitlength, whereas GMNs are extremely rare. Our multiplication and reduction algorithms can also be easily parallelised, making our arithmetic particularly suitable for hardware implementation. Furthermore, the field representation we propose also naturally protects against side-channel attacks, including timing attacks, simple power analysis and differential power analysis, which is essential in many cryptographic scenarios, in constrast to GMNs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。