{
  "id": "2022/683",
  "url": "https://opencryptology.org/2022/683",
  "original_url": "https://eprint.iacr.org/2022/683",
  "title": "Quantum Analysis of AES",
  "authors": [
    "Kyungbae Jang",
    "Anubhab Baksi",
    "Hyunji Kim",
    "Gyeongju Song",
    "Hwajeong Seo",
    "Anupam Chattopadhyay"
  ],
  "affiliations": null,
  "abstract": "Quantum computing is considered one of the next big leaps in computational science. While a fully functional quantum computer is still in the future, there is an ever-growing need to evaluate the security of the symmetric key ciphers against a potent quantum adversary. Keeping this in mind, our work explores the key recovery attack using the Grover's search on the three variants of AES (-128, -192, -256). We develop a pool of 26 implementations per AES variant (thus totaling 78), by taking the state-of-the-art advancements in the relevant fields into account.\n\nIn a nutshell, we present the least Toffoli depth and full depth implementations of AES, thereby improving from Zou et al.'s Asiacrypt'20 paper by more than 97 percent for each variant of AES. We show that the qubit count - Toffoli depth product is reduced from theirs by more than 87 percent. Furthermore, we analyze the Jaques et al.'s Eurocrypt'20 implementations in detail, fix the bugs (arising from some problem of the quantum computing tool used and not related to their coding), and report corrected benchmarks. To the best of our finding, our work improves from all the previous works (including the Asiacrypt'22 paper by Huang and Sun, the Asiacrypt'23 paper by Liu et al. and the Asiacrypt'24 paper by Shi and Feng) in terms of various quantum circuit complexity metrics (Toffoli depth, full depth, Toffoli/full depth - qubit count product, full depth - gate count product, etc.). Also, our bug-fixing of Jaques et al.'s Eurocrypt'20 implementations seems to improve from the authors' own bug-fixing, thanks to our architecture consideration.\n\nEquipped with the basic AES implementations, we further investigate the prospect of the Grover's search. We propose four new implementations of the S-box, one new implementation of the MixColumn; as well as five new architecture (one is motivated by the architecture by Jaques et al. in Eurocrypt'20, and the rest four are entirely our innovation). Under the MAXDEPTH constraint (specified by NIST), the circuit depth metrics (Toffoli depth, T-depth and full depth) become crucial factors and parallelization for often becomes necessary. We provide the least depth implementation in this respect that offers the best performance in terms of metrics for circuit complexity (like, depth-squared - qubit count product, depth - gate count product). \n\nThus, to our knowledge, we estimate the currently best-known quantum attack complexities for AES-128 ($2^{156.2630}$), AES-192 ($2^{221.5801}$) and AES-256 ($2^{286.0731}$); these provide the NIST-specified quantum security levels 1, 3 and 5 respectively. Additionally, we achieve the least Toffoli depth - qubit count product for AES-128 ($121920$, improving from $130720$ by Shi and Feng in Asiacrypt'24), AES-192 ($161664$, improving from $188880$ by Liu et al. in Asiacrypt'23) and AES-256 ($206528$, improving from $248024$ by Liu et al. in Asiacrypt'23) so far.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY-NC-SA",
    "url": "https://creativecommons.org/licenses/by-nc-sa/4.0/",
    "label": "CC BY-NC-SA 4.0",
    "attribution": "“Quantum Analysis of AES” by Kyungbae Jang, Anubhab Baksi, Hyunji Kim, Gyeongju Song, Hwajeong Seo, Anupam Chattopadhyay, Cryptology ePrint Archive, Paper 2022/683, https://eprint.iacr.org/2022/683. Licensed under CC BY-NC-SA 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2022-05-31T08:07:20Z",
    "updated": "2025-06-22T15:21:52Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/683.pdf",
    "sha256": "b1dd45a815a719613e4559f5abfe7429b82ed6f23b9c78397568c2a72cb22b67",
    "size": 1263079,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/683/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/683.pdf",
      "size": 1263079,
      "sha256": "b1dd45a815a719613e4559f5abfe7429b82ed6f23b9c78397568c2a72cb22b67",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/683/versions/20250405T112759Z.pdf",
      "captured_at": "2025-04-05T11:27:59Z",
      "label": "copy captured 2025-04-05",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250405112759id_/https://eprint.iacr.org/2022/683.pdf",
      "size": 1263134,
      "sha256": "8f8e34605c31432cb138eb43e14bb9dcb330f1a1a62327a61efd6f0af86b820b",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/683/versions/20240418T002057Z.pdf",
      "captured_at": "2024-04-18T00:20:57Z",
      "label": "copy captured 2024-04-18",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240418002057id_/https://eprint.iacr.org/2022/683.pdf",
      "size": 1013519,
      "sha256": "8157e380f25fb02e8ca6ef8abe866ec1b73c8116cfb54a0d4c3032a482eff7d0",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/683/versions/20221019T054747Z.pdf",
      "captured_at": "2022-10-19T05:47:47Z",
      "label": "copy captured 2022-10-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221019054747id_/https://eprint.iacr.org/2022/683.pdf",
      "size": 2563671,
      "sha256": "16658dba2477afd11b7a04c98070a96fd6386d40c937d1ba1e4980f8bc11fd7f",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/683/versions/20220531T134844Z.pdf",
      "captured_at": "2022-05-31T13:48:44Z",
      "label": "copy captured 2022-05-31",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220531134844id_/https://eprint.iacr.org/2022/683.pdf",
      "size": 2609468,
      "sha256": "8c83e217365ad0482c2ca2357ad72219bafc8dd7497770986367a78a97bad6dd",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260921165716id_/https://eprint.iacr.org/2022/683.pdf",
      "captured_at": "2026-09-21T16:57:16Z",
      "size": 1226767
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/683.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1263079
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/683,\n      author = {Kyungbae Jang and Anubhab Baksi and Hyunji Kim and Gyeongju Song and Hwajeong Seo and Anupam Chattopadhyay},\n      title = {Quantum Analysis of AES},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/683},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/683}\n}"
}
