{
  "id": "2018/108",
  "url": "https://opencryptology.org/2018/108",
  "original_url": "https://eprint.iacr.org/2018/108",
  "title": "Generic Round-Function-Recovery Attacks for Feistel Networks over Small Domains",
  "authors": [
    "F. Betül Durak",
    "Serge Vaudenay"
  ],
  "affiliations": null,
  "abstract": "Feistel Networks (FN) are now being used massively to encrypt credit card numbers through format-preserving encryption. In our work, we focus on FN with two branches, entirely unknown round functions, modular additions (or other group operations), and when the domain size of a branch (called $N$) is small. We investigate round-function-recovery attacks.\n\nThe best known attack so far is an improvement of Meet-In-The-Middle (MITM) attack by Isobe and Shibutani from ASIACRYPT~2013 with optimal data complexity $q=r \\frac{N}{2}$ and time complexity $N^{ \\frac{r-4}{2}N + o(N)}$, where $r$ is the round number in FN. We construct an algorithm with a surprisingly better complexity when $r$ is too low, based on partial exhaustive search. When the data complexity varies from the optimal to the one of a codebook attack $q=N^2$, our time complexity can reach $N^{O \\left( N^{1-\\frac{1}{r-2}} \\right) }$. It crosses the complexity of the improved MITM for $q\\sim N\\frac{\\mathrm{e}^3}{r}2^{r-3}$.\n\nWe also estimate the lowest secure number of rounds depending on $N$ and the security goal. We show that the format-preserving-encryption schemes FF1 and FF3 standardized by NIST and ANSI cannot offer 128-bit security (as they are supposed to) for $N\\leq11$ and $N\\leq17$, respectively (the NIST standard only requires $N \\geq 10$), and we improve the results by Durak and Vaudenay from CRYPTO~2017.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Generic Round-Function-Recovery Attacks for Feistel Networks over Small Domains” by F. Betül Durak, Serge Vaudenay, Cryptology ePrint Archive, Paper 2018/108, https://eprint.iacr.org/2018/108. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2018-01-30T21:18:31Z",
    "updated": "2018-04-18T12:33:35Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2018/108.pdf",
    "sha256": "28e28ee09e62c33caa2ca8b1dcc1554cf977cd1b292c58fbeb11a0aa11c6be2d",
    "size": 617934,
    "source": "github-mirror",
    "source_date": "2019-02-25T18:03:07Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2018/108/versions/20190225T180307Z.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/108.pdf",
      "size": 617934,
      "sha256": "28e28ee09e62c33caa2ca8b1dcc1554cf977cd1b292c58fbeb11a0aa11c6be2d",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260927201629id_/https://eprint.iacr.org/2018/108.pdf",
      "captured_at": "2026-09-27T20:16:29Z",
      "size": 618075
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/108.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "size": 617934
    }
  ],
  "bibtex": "@misc{cryptoeprint:2018/108,\n      author = {F. Betül Durak and Serge Vaudenay},\n      title = {Generic Round-Function-Recovery Attacks for Feistel Networks over Small Domains},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2018/108},\n      year = {2018},\n      url = {https://eprint.iacr.org/2018/108}\n}"
}
