{
  "id": "2023/690",
  "url": "https://opencryptology.org/2023/690",
  "original_url": "https://eprint.iacr.org/2023/690",
  "title": "Invertible Quadratic Non-Linear Functions over $\\mathbb F_p^n$ via Multiple Local Maps",
  "authors": [
    "Ginevra Giordani",
    "Lorenzo Grassi",
    "Silvia Onofri",
    "Marco Pedicini"
  ],
  "affiliations": null,
  "abstract": "The construction of invertible non-linear layers over $\\mathbb F_p^n$ that minimize the multiplicative cost is crucial for the design of symmetric primitives targeting Multi Party Computation (MPC), Zero-Knowledge proofs (ZK), and Fully Homomorphic Encryption (FHE). At the current state of the art, only few non-linear functions are known to be invertible over $\\mathbb F_p$, as the power maps $x\\mapsto x^d$ for $\\gcd(d,p-1)=1$. When working over $\\mathbb F_p^n$ for $n\\ge2$, a possible way to construct invertible non-linear layers $\\mathcal S$ over $\\mathbb F_p^n$ is by making use of a local map $F:\\mathbb F_p^m\\rightarrow \\mathbb F_p$ for $m\\le n$, that is, $\\mathcal S_F(x_0, x_1, \\ldots, x_{n-1}) = y_0\\|y_1\\|\\ldots \\|y_{n-1}$ where $y_i = F(x_i, x_{i+1}, \\ldots, x_{i+m-1})$. This possibility has been recently studied by Grassi, Onofri, Pedicini and Sozzi at FSE/ToSC 2022.  Given a quadratic local map $F:\\mathbb F_p^m \\rightarrow \\mathbb F_p$ for $m\\in\\{1,2,3\\}$, they proved that the shift-invariant non-linear function $\\mathcal S_F$ over $\\mathbb F_p^n$  defined as before is never invertible for any $n\\ge 2\\cdot m-1$.\nIn this paper, we face the problem by generalizing such construction. Instead of a single local map, we admit multiple local maps, and we study the creation of nonlinear layers that can be efficiently verified and implemented by a similar shift-invariant lifting. After formally defining the construction, we focus our analysis on the case $\\mathcal S_{F_0, F_1}(x_0, x_1, \\ldots, x_{n-1}) = y_0\\|y_1\\|\\ldots \\|y_{n-1}$ for $F_0, F_1 :\\mathbb F_p^2\\rightarrow \\mathbb F_p$ of degree at most 2. This is a generalization of the previous construction using two alternating functions $F_0,F_1$ instead of a single $F$. As main result, we prove that (i) if $n\\ge3$, then $\\mathcal S_{F_0, F_1}$ is never invertible if both $F_0$ and $F_1$ are quadratic, and that (ii) if $n\\ge 4$, then $\\mathcal S_{F_0, F_1}$ is invertible if and only if it is a Type-II Feistel scheme.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY-SA",
    "url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "label": "CC BY-SA 4.0",
    "attribution": "“Invertible Quadratic Non-Linear Functions over $\\mathbb F_p^n$ via Multiple Local Maps” by Ginevra Giordani, Lorenzo Grassi, Silvia Onofri, Marco Pedicini, Cryptology ePrint Archive, Paper 2023/690, https://eprint.iacr.org/2023/690. Licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-05-15T17:27:28Z",
    "updated": "2023-05-15T17:27:28Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/690.pdf",
    "sha256": "186d4d6dc5e14c9dc9c7e838a79e09a4d152f2ce8bf637460aa28f52691ded7d",
    "size": 480811,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/690/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/690.pdf",
      "size": 480811,
      "sha256": "186d4d6dc5e14c9dc9c7e838a79e09a4d152f2ce8bf637460aa28f52691ded7d",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260102110120id_/https://eprint.iacr.org/2023/690.pdf",
      "captured_at": "2026-01-02T11:01:20Z",
      "size": 478882
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/690.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 480811
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/690,\n      author = {Ginevra Giordani and Lorenzo Grassi and Silvia Onofri and Marco Pedicini},\n      title = {Invertible Quadratic Non-Linear Functions over $\\mathbb F_p^n$ via Multiple Local Maps},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/690},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/690}\n}"
}
