arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.10294cs.CR
收藏

一种基于二次型攻击McEliece密码体制的新方法

A new approach based on quadratic forms to attack the McEliece cryptosystem

Alain Couvreur, Rocco Mora, Jean-Pierre Tillich

AI总结:

本文提出基于二次型矩阵子空间的新型代数方法,可构造适用于几乎所有密码学相关码参数的alternant/Goppa码区分器,并能在特定条件下实现对McEliece密码体制的多项式时间攻击。

摘要:

本文提出了一种攻击McEliece密码体制的新型代数方法。该方法的核心是引入一个表示二次型的矩阵子空间,这些二次型与密码体制所用码的对偶码中分量-wise乘积的二次关系相关联。根据码所在域的特征不同,该矩阵空间仅由对称矩阵或斜对称矩阵构成。研究证明,该矩阵空间中存在秩异常低的矩阵(根据域特征不同,秩为2或3),这类矩阵能够揭示码的秘密多项式结构,因此找到此类矩阵可用于恢复该密码方案的私钥。\n针对特征为2的情况,我们设计了一种专用方法,即使用Gröbner基(格罗布纳基)建模斜对称矩阵秩为2的条件。这使得我们能够用Gröbner基技术分析求解对应代数系统的复杂度。当该计算应用于与随机码相关联的斜对称矩阵空间时,其表现与应用于Goppa码或alternant码(交替码)相关联的空间时存在差异,这就形成了针对后一类码的区分器。我们给出了该区分器的复杂度界,其复杂度会根据码的参数在多项式和指数之间平滑插值。\n目前已有一种针对alternant/Goppa码的区分器[FGO+11],它具有多项式复杂度,但仅适用于较窄的参数范围。本文提出的新区分器在[FGO+11]适用的参数范围内同样具有多项式复杂度,而与前者不同的是,它几乎适用于所有与密码学相关的码参数。此外,当Goppa码可通过[FGO+11]的方法区分且其次数小于q-1(其中q为码的字母表大小)时,我们利用该矩阵空间实现了对McEliece密码体制的多项式时间攻击。

英文摘要:

We bring in here a novel algebraic approach for attacking the McEliece cryptosystem. It consists in introducing a subspace of matrices representing quadratic forms. Those are associated with quadratic relationships for the component-wise product in the dual of the code used in the cryptosystem. Depending on the characteristic of the code field, this space of matrices consists only of symmetric matrices or skew-symmetric matrices. This matrix space is shown to contain unusually low-rank matrices (rank $2$ or $3$ depending on the characteristic) which reveal the secret polynomial structure of the code. Finding such matrices can then be used to recover the secret key of the scheme. We devise a dedicated approach in characteristic $2$ consisting in using a Gröbner basis modeling that a skew-symmetric matrix is of rank $2$. This allows to analyze the complexity of solving the corresponding algebraic system with Gröbner bases techniques. This computation behaves differently when applied to the skew-symmetric matrix space associated with a random code rather than with a Goppa or an alternant code. This gives a distinguisher of the latter code family. We give a bound on its complexity which turns out to interpolate nicely between polynomial and exponential depending on the code parameters. A distinguisher for alternant/Goppa codes was already known [FGO+11]. It is of polynomial complexity but works only in a narrow parameter regime. This new distinguisher is also polynomial for the parameter regime necessary for [FGO+11] but contrarily to the previous one is able to operate for virtually all code parameters relevant to cryptography. Moreover, we use this matrix space to find a polynomial time attack of the McEliece cryptosystem provided that the Goppa code is distinguishable by the method of [FGO+11] and its degree is less than $q-1$, where $q$ is the alphabet size of the code.

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

↑