arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1702.07737cs.ITmath.IT
收藏

广义Reed-Solomon码的译码及其在RLCE加密方案中的应用

Decoding Generalized Reed-Solomon Codes and Its Application to RLCE Encryption Schemes

Yongge Wang

摘要:

本文比较了在64位CPU上实现抗量子公钥加密方案RLCE的各种算法的效率。通过优化有限域上多项式和矩阵运算的各种算法,我们得到了几个有趣的(甚至是令人惊讶的)结果。例如,众所周知(例如,Moenck 1976 \cite{moenck1976practical}),Karatsuba的算法优于15阶及以上的经典多项式乘法算法(实际上,Karatsuba的算法仅优于35阶及以上的经典多项式乘法算法)。我们的实验表明,64位优化的Karatsuba算法将仅优于64位优化的经典多项式乘法算法的次数为115和以上的有限域$GF(2^{10})$上的多项式。第二个有趣(令人惊讶)的结果表明,64位优化的Chien搜索算法可以执行所有其他64位优化的多项式求根算法,例如有限域$GF(2^{10})$上所有次数的多项式的BTA和FFT。第三个有趣的(令人惊讶的)结果表明,对于有限域$GF(2^{10})$上的维数为750及以上的矩阵,64位优化的Strassen矩阵乘法算法仅优于64位优化的经典矩阵乘法算法。应该注意的是,现有的文献和实践推荐Strassen矩阵乘法算法用于40维及以上的矩阵。所有实验都是在64位MacBook Pro上进行的,采用i7 CPU和单线程C代码。应该注意的是,报告的结果应该适用于64位或更大位的CPU架构。对于32位或更小位的CPU,这些结果可能不适用。本文所涉及的算法的源代码和库可以在http://quantumca.org/上获得。

英文摘要:

This paper compares the efficiency of various algorithms for implementing quantum resistant public key encryption scheme RLCE on 64-bit CPUs. By optimizing various algorithms for polynomial and matrix operations over finite fields, we obtained several interesting (or even surprising) results. For example, it is well known (e.g., Moenck 1976 \cite{moenck1976practical}) that Karatsuba's algorithm outperforms classical polynomial multiplication algorithm from the degree 15 and above (practically, Karatsuba's algorithm only outperforms classical polynomial multiplication algorithm from the degree 35 and above ). Our experiments show that 64-bit optimized Karatsuba's algorithm will only outperform 64-bit optimized classical polynomial multiplication algorithm for polynomials of degree 115 and above over finite field $GF(2^{10})$. The second interesting (surprising) result shows that 64-bit optimized Chien's search algorithm ourperforms all other 64-bit optimized polynomial root finding algorithms such as BTA and FFT for polynomials of all degrees over finite field $GF(2^{10})$. The third interesting (surprising) result shows that 64-bit optimized Strassen matrix multiplication algorithm only outperforms 64-bit optimized classical matrix multiplication algorithm for matrices of dimension 750 and above over finite field $GF(2^{10})$. It should be noted that existing literatures and practices recommend Strassen matrix multiplication algorithm for matrices of dimension 40 and above. All our experiments are done on a 64-bit MacBook Pro with i7 CPU and single thread C codes. It should be noted that the reported results should be appliable to 64 or larger bits CPU architectures. For 32 or smaller bits CPUs, these results may not be applicable. The source code and library for the algorithms covered in this paper are available at http://quantumca.org/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑