arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1910.01700quant-phcs.ET
收藏

在AES和LowMC上实现Grover预言机的量子密钥搜索

Implementing Grover oracles for quantum key search on AES and LowMC

Samuel Jaques, Michael Naehrig, Martin Roetteler, Fernando Virdia

摘要:

Grover的搜索算法通过搜索匹配少量明文-密文对的密钥来对分组密码进行量子攻击。此攻击使用$O(\sqrt{N})$调用密码来搜索大小为$N$的密钥空间。在AES的特定情况下,以前的工作通过分析密码的量子线路来推导出全部门成本,但重点是最小化量子比特的数量。相比之下,我们研究了深度限制下的量子密钥搜索攻击的成本,并引入了减少预言深度的技术,即使它需要更多的量子位。作为例子,我们为分组密码AES和LowMC设计了量子线路。我们的电路在门数和深度乘以宽度成本模型中给出了较低的总体攻击成本。在NIST的后量子密码学标准化过程中,安全类别是基于针对AES的量子密钥搜索的具体成本来定义的。我们提出了新的,更低的成本估计为每一类,所以我们的工作有直接的影响后量子密码学的安全评估。作为这项工作的一部分,我们发布了针对AES-128,-192,-256和Picnic中使用的三个LowMC实例的完整Grover oracle的Q#实现,包括单元测试和代码,以重现我们的量子资源估计。据我们所知,这是前两个这样的全面实施和自动资源估计。

英文摘要:

Grover's search algorithm gives a quantum attack against block ciphers by searching for a key that matches a small number of plaintext-ciphertext pairs. This attack uses $O(\sqrt{N})$ calls to the cipher to search a key space of size $N$. Previous work in the specific case of AES derived the full gate cost by analyzing quantum circuits for the cipher, but focused on minimizing the number of qubits. In contrast, we study the cost of quantum key search attacks under a depth restriction and introduce techniques that reduce the oracle depth, even if it requires more qubits. As cases in point, we design quantum circuits for the block ciphers AES and LowMC. Our circuits give a lower overall attack cost in both the gate count and depth-times-width cost models. In NIST's post-quantum cryptography standardization process, security categories are defined based on the concrete cost of quantum key search against AES. We present new, lower cost estimates for each category, so our work has immediate implications for the security assessment of post-quantum cryptography. As part of this work, we release Q# implementations of the full Grover oracle for AES-128, -192, -256 and for the three LowMC instantiations used in Picnic, including unit tests and code to reproduce our quantum resource estimates. To the best of our knowledge, these are the first two such full implementations and automatic resource estimations.

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

↑