{
  "id": "2012/280",
  "url": "https://opencryptology.org/2012/280",
  "original_url": "https://eprint.iacr.org/2012/280",
  "title": "Improved ``Partial Sums\"-based Square Attack on AES",
  "authors": [
    "Michael Tunstall"
  ],
  "affiliations": null,
  "abstract": "The Square attack as a means of attacking reduced round variants of AES was described in the initial description of the Rijndael block cipher. This attack can be applied to AES, with a relatively small number of chosen plaintext-ciphertext pairs, reduced to less than six rounds in the case of AES-128 and seven rounds otherwise and several extensions to this attack have been described in the literature. In this paper we describe new variants of these attacks that have a smaller time complexity than those present in the literature. Specifically, we demonstrate that the quantity of chosen plaintext-ciphertext pairs can be halved producing the same reduction in the time complexity. We also demonstrate that the time complexity can be halved again for attacks applied to AES-128 and reduced by a smaller factor for attacks applied to AES-192. This is achieved by eliminating hypotheses on-the-fly when bytes in consecutive subkeys are related because of the key schedule.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Improved ``Partial Sums\"-based Square Attack on AES” by Michael Tunstall, Cryptology ePrint Archive, Paper 2012/280, https://eprint.iacr.org/2012/280. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2012-05-29T20:07:13Z",
    "updated": "2012-05-29T20:07:13Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2012/280.pdf",
    "sha256": "01d51824eb32ed2b93360d1aba04f28390ab568b2a0bd4c38c3c8ca70efdaee8",
    "size": 307095,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:37:15Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2012/280/versions/20190225T163715Z.pdf",
      "captured_at": "2019-02-25T16:37:15Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2012/280.pdf",
      "size": 307095,
      "sha256": "01d51824eb32ed2b93360d1aba04f28390ab568b2a0bd4c38c3c8ca70efdaee8",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260217190937id_/https://eprint.iacr.org/2012/280.pdf",
      "captured_at": "2026-02-17T19:09:37Z",
      "size": 308379
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2012/280.pdf",
      "captured_at": "2019-02-25T16:37:15Z",
      "size": 307095
    }
  ],
  "bibtex": "@misc{cryptoeprint:2012/280,\n      author = {Michael Tunstall},\n      title = {Improved ``Partial Sums\"-based Square Attack on AES},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2012/280},\n      year = {2012},\n      url = {https://eprint.iacr.org/2012/280}\n}"
}
