{
  "id": "2021/322",
  "url": "https://opencryptology.org/2021/322",
  "original_url": "https://eprint.iacr.org/2021/322",
  "title": "Rinocchio: SNARKs for Ring Arithmetic",
  "authors": [
    "Chaya Ganesh",
    "Anca Nitulescu",
    "Eduardo Soria-Vazquez"
  ],
  "affiliations": null,
  "abstract": "Succinct non-interactive arguments of knowledge (SNARKs) enable non-interactive efficient verification of NP computations and admit short proofs. However, all current SNARK constructions assume that the statements to be proven can be efficiently represented as either Boolean or arithmetic circuits over finite fields. For most constructions, the choice of the prime field $\\mathbb{F}_p$ is limited by the existence of groups of matching order for which secure bilinear maps exist.\nIn this work we overcome such restrictions and enable verifying computations over rings.\nWe construct the first designated-verifier SNARK for statements which are represented as circuits over a broader kind of commutative rings, namely those containing big enough exceptional sets. Exceptional sets consist of elements such that their pairwise differences are invertible.\nOur contribution is threefold: We first introduce Quadratic Ring Programs (QRPs) as a characterization of NP where the arithmetic is over a ring.\nSecond, inspired by the framework in Gennaro, Gentry, Parno and Raykova (EUROCRYPT 2013), we design SNARKs over rings in a modular way. We generalize pre-existent assumptions employed in field-restricted SNARKs to encoding schemes over rings. As our encoding notion is generic in the choice of the ring, it is amenable to different settings. Finally, we propose two applications for our SNARKs. \nOur first application is verifiable computation over encrypted data, specifically for evaluations of Ring- LWE-based homomorphic encryption schemes. \nIn the second one, we use Rinocchio to naturally prove statements about circuits over e.g. $\\mathbb{Z}_{2^{64}}$, which closely matches real-life computer architectures such as standard CPUs.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Rinocchio: SNARKs for Ring Arithmetic” by Chaya Ganesh, Anca Nitulescu, Eduardo Soria-Vazquez, Cryptology ePrint Archive, Paper 2021/322, https://eprint.iacr.org/2021/322. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-03-11T18:45:21Z",
    "updated": "2023-05-05T15:15:32Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/322.pdf",
    "sha256": "db9819c11fe6e457e8a6455b5e8b992abecc2e2873aab4175ab06fd78a5bf717",
    "size": 670599,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/322/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/322.pdf",
      "size": 670599,
      "sha256": "db9819c11fe6e457e8a6455b5e8b992abecc2e2873aab4175ab06fd78a5bf717",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2021/322/versions/20210506T210525Z.pdf",
      "captured_at": "2021-05-06T21:05:25Z",
      "label": "copy captured 2021-05-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20210506210525id_/https://eprint.iacr.org/2021/322.pdf",
      "size": 633087,
      "sha256": "3f5f7c6343ce4c1d0d4ddf3b882a700419694743788d15082402d8df953b1236",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20240422150418id_/https://eprint.iacr.org/2021/322.pdf",
      "captured_at": "2024-04-22T15:04:18Z",
      "size": 665215
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/322.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 670599
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/322,\n      author = {Chaya Ganesh and Anca Nitulescu and Eduardo Soria-Vazquez},\n      title = {Rinocchio: SNARKs for Ring Arithmetic},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/322},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/322}\n}"
}
