{
  "id": "2005/004",
  "url": "https://opencryptology.org/2005/004",
  "original_url": "https://eprint.iacr.org/2005/004",
  "title": "Benes and Butterfly schemes revisited",
  "authors": [
    "Jacques Patarin",
    "Audrey Montreuil"
  ],
  "affiliations": null,
  "abstract": "In~\\cite{AV96}, W. Aiello and R. Venkatesan have shown how to\nconstruct pseudo-random functions of $2n$ bits $\\rightarrow 2n$\nbits from pseudo-random functions of $n$ bits $\\rightarrow n$\nbits. They claimed that their construction, called ``Benes'',\nreaches the optimal bound ($m\\ll 2^n$) of security against\nadversaries with unlimited computing power but limited by $m$\nqueries in an adaptive chosen plaintext attack (CPA-2). However a\ncomplete proof of this result is not given in~\\cite{AV96} since\none of the assertions of~\\cite{AV96} is wrong. Due to this, the\nproof given in~\\cite{AV96} is valid for most attacks, but not for\nall the possible chosen plaintext attacks. In this paper we will\nin a way fix this problem since for all $\\varepsilon>0$, we will\nprove CPA-2 security when $m\\ll 2^{n(1-\\varepsilon)}$. However we\nwill also see that the probability to distinguish Benes functions\nfrom random functions is sometime larger than the term in\n$\\frac{m^2}{2^{2n}}$ given in~\\cite{AV96}. One of the key idea in\nour proof will be to notice that, when $m\\gg2^{2n/3}$ and\n$m\\ll2^n$, for large number of variables linked with some critical\nequalities, the average number of solutions may be large (i.e.\n$\\gg1$) while, at the same time, the probability to have at least\none such critical equalities is negligible (i.e. $\\ll1$).\\\\\n\\textbf{Key Words}: Pseudo-random functions, unconditional\nsecurity, information-theoretic primitive, design of keyed hash\nfunctions.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Benes and Butterfly schemes revisited” by Jacques Patarin, Audrey Montreuil, Cryptology ePrint Archive, Paper 2005/004, https://eprint.iacr.org/2005/004. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2005-01-08T01:35:23Z",
    "updated": "2005-01-08T01:35:23Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2005/004.pdf",
    "sha256": "46e4a568a5b1c84a5f1eebd526d551e21a66783cebddb6e6e9cb43d8e833bbc0",
    "size": 264831,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:06:57Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2005/004/versions/20190225T160657Z.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2005/004.pdf",
      "size": 264831,
      "sha256": "46e4a568a5b1c84a5f1eebd526d551e21a66783cebddb6e6e9cb43d8e833bbc0",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408201628id_/https://eprint.iacr.org/2005/004.pdf",
      "captured_at": "2026-04-08T20:16:28Z",
      "size": 237622
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2005/004.pdf",
      "captured_at": "2019-02-25T16:06:57Z",
      "size": 264831
    }
  ],
  "bibtex": "@misc{cryptoeprint:2005/004,\n      author = {Jacques Patarin and Audrey Montreuil},\n      title = {Benes and Butterfly schemes revisited},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2005/004},\n      year = {2005},\n      url = {https://eprint.iacr.org/2005/004}\n}"
}
