arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1310.2332cs.SCcs.CRcs.NImath.AC
收藏

中间求解F4计算GF上密码分析的Grobner基(2)

Middle-Solving F4 to Compute Grobner bases for Cryptanalysis over GF(2)

Heliang Huang, Wansu Bao

摘要:

代数密码分析通常需要通过求解多项式方程组来恢复秘密密钥。Faugere的F4算法是解决这一问题的著名Grobner基算法。然而,基于Grobner基的代数攻击存在一个严重的缺陷,即如果不能求出多项式方程组的Grobner基,就无法得到任何信息。本文深入研究了GF(2)上的F4算法。通过用S-多项式代替临界对,按一定步骤计算场方程的产生式的范式,避免了F4算法计算过程中的“冗余”约简子.通过对F4算法的逻辑稍加修改,对算法中出现的一元多项式进行求解,然后在每次迭代时将求解变量的值回代。我们称我们的改进为中间解决F4。中间求解的启发式策略克服了代数攻击的缺点,很好地适应了代数攻击。它以前从未被应用于Grobner基算法。对隐场方程实例和经典基准测试(Cyclic 6,Gonnet 83)的实验表明,Middle-Solving F4比Faugere的F4速度更快,占用的内存更少。

英文摘要:

Algebraic cryptanalysis usually requires to recover the secret key by solving polynomial equations. Faugere's F4 is a well-known Grobner bases algorithm to solve this problem. However, a serious drawback exists in the Grobner bases based algebraic attacks, namely, any information won't be got if we couldn't work out the Grobner bases of the polynomial equations system. In this paper, we in-depth research the F4 algorithm over GF(2). By using S-polynomials to replace critical pairs and computing the normal form of the productions with respect to the field equations in certain steps, many "redundant" reductors are avoided during the computation process of the F4 algorithm. By slightly modifying the logic of F4 algorithm, we solve the univariate polynomials appeared in the algorithm and then back-substitute the values of the solved variables at each iteration of the algorithm. We call our improvements Middle-Solving F4. The heuristic strategy of Middle-Solving overcomes the drawback of algebraic attacks and well suits algebraic attacks. It has never been applied to the Grobner bases algorithm before. Experiments to some Hidden Field Equation instances and some classical benchmarks (Cyclic 6, Gonnet83) show that Middle-Solving F4 is faster and uses less memory than Faugere's F4.

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

↑