{
  "id": "2007/248",
  "url": "https://opencryptology.org/2007/248",
  "original_url": "https://eprint.iacr.org/2007/248",
  "title": "1. AES seems weak. 2. Linear time secure cryptography",
  "authors": [
    "Warren D. Smith"
  ],
  "affiliations": null,
  "abstract": "We describe a new simple but more powerful form of linear cryptanalysis.\nIt appears to break AES (and undoubtably other cryptosystems too, e.g. SKIPJACK).\nThe break is ``nonconstructive,'' i.e. we make it plausible\n(e.g. prove it in certain approximate probabilistic models)\nthat a small algorithm for quickly determining AES-256 keys from plaintext-ciphertext pairs\nexists -- but without constructing the algorithm.  The attack's runtime is comparable\nto performing $64^w$ encryptions where $w$ is the (unknown) minimum Hamming weight in certain\nbinary linear error-correcting codes (BLECCs) associated with AES-256.  If $w < 43$ then\nour attack is faster than exhaustive key search; probably $w < 10$.\n(Also there should be ciphertext-only attacks if the plaintext is natural English.)\n\nEven if this break breaks due to the underlying models inadequately approximating the real world,\nwe explain how AES still could contain ``trapdoors'' which would\nmake cryptanalysis unexpectedly easy for anybody who knew the trapdoor.\nIf AES's designers had inserted such a trapdoor, it could be very\neasy for them to convince us of that.\nBut if none exist, then it is probably infeasibly difficult for them to convince us of \\emph{that}.\n\nWe then discuss how to use the theory of BLECCs to\nbuild cryptosystems provably\n1. not containing trapdoors of this sort,\n2. secure against our strengthened form of linear cryptanalysis,\n3. secure against ``differential'' cryptanalysis,\n4. secure against D.J.Bernstein's timing attack.\nUsing this technique we prove a fundamental theorem:\nit is possible to thus-encrypt $n$ bits with security\n$2^{cn}$, via an circuit $Q_n$ containing $\\le c n$\ntwo-input logic gates\nand operating in $\\le c \\log n$ gate-delays, where the three $c$s denote\n(possibly different) positive constants and $Q_n$ is constructible\nin polynomial$(n)$ time.\nAt the end we give tables of useful binary codes.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“1. AES seems weak. 2. Linear time secure cryptography” by Warren D. Smith, Cryptology ePrint Archive, Paper 2007/248, https://eprint.iacr.org/2007/248. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2007-06-20T08:39:17Z",
    "updated": "2007-06-20T08:39:17Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2007/248.pdf",
    "sha256": "1b0186482d3fd47b3e6a0d61e85e065625f57e67d2dd4b8cb77964d57df5a05e",
    "size": 421615,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:13:43Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2007/248/versions/20190225T161343Z.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2007/248.pdf",
      "size": 421615,
      "sha256": "1b0186482d3fd47b3e6a0d61e85e065625f57e67d2dd4b8cb77964d57df5a05e",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408211600id_/https://eprint.iacr.org/2007/248.pdf",
      "captured_at": "2026-04-08T21:16:00Z",
      "size": 384541
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2007/248.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "size": 421615
    }
  ],
  "bibtex": "@misc{cryptoeprint:2007/248,\n      author = {Warren D. Smith},\n      title = {1. AES seems weak. 2. Linear time secure cryptography},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2007/248},\n      year = {2007},\n      url = {https://eprint.iacr.org/2007/248}\n}"
}
