{
  "id": "2023/1322",
  "url": "https://opencryptology.org/2023/1322",
  "original_url": "https://eprint.iacr.org/2023/1322",
  "title": "Boosting the Performance of High-Assurance Cryptography: Parallel Execution and Optimizing Memory Access in Formally-Verified Line-Point Zero-Knowledge",
  "authors": [
    "Samuel Dittmer",
    "Karim Eldefrawy",
    "Stéphane Graham-Lengrand",
    "Steve Lu",
    "Rafail Ostrovsky",
    "Vitor Pereira"
  ],
  "affiliations": null,
  "abstract": "Despite the notable advances in the development of high-assurance, verified implementations of cryptographic protocols, such implementations typically face significant performance overheads, particularly due to the penalties induced by formal verification and automated extraction of executable code. In this paper, we address some core performance challenges facing computer-aided cryptography by presenting a formal treatment for accelerating such verified implementations based on multiple generic optimizations covering parallelism and memory access. We illustrate our techniques for addressing such performance bottlenecks using the Line-Point Zero-Knowledge (LPZK) protocol as a case study. Our starting point is a new verified implementation of LPZK that we formalize and synthesize using EasyCrypt; our first implementation is developed to reduce the proof effort and without considering the performance of the extracted executable code. We then show how such (automatically) extracted code can be optimized in three different ways to obtain a 3000x speedup and thus matching the performance of the manual implementation of LPZK. We obtain such performance gains by first  modifying the algorithmic specifications, then by adopting a provably secure parallel execution model, and finally by optimizing the memory access structures. All optimizations are first formally verified inside EasyCrypt, and then executable code is automatically synthesized from each step of the formalization. For each optimization, we analyze performance gains resulting from it and also address challenges facing the computer-aided security proofs thereof, and challenges facing automated synthesis of executable code with such an optimization.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Boosting the Performance of High-Assurance Cryptography: Parallel Execution and Optimizing Memory Access in Formally-Verified Line-Point Zero-Knowledge” by Samuel Dittmer, Karim Eldefrawy, Stéphane Graham-Lengrand, Steve Lu, Rafail Ostrovsky, Vitor Pereira, Cryptology ePrint Archive, Paper 2023/1322, https://eprint.iacr.org/2023/1322. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-09-05T10:56:31Z",
    "updated": "2024-05-21T17:29:19Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1322.pdf",
    "sha256": "dd1fe56a82c15bdc7fc257ed8b5edcd3c4611e6e0d4cb70092fc558ecba14e46",
    "size": 665912,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/1322/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1322.pdf",
      "size": 665912,
      "sha256": "dd1fe56a82c15bdc7fc257ed8b5edcd3c4611e6e0d4cb70092fc558ecba14e46",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/1322/versions/20231211T054448Z.pdf",
      "captured_at": "2023-12-11T05:44:48Z",
      "label": "copy captured 2023-12-11",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20231211054448id_/https://eprint.iacr.org/2023/1322.pdf",
      "size": 674858,
      "sha256": "a3133921199a4289e111153a56dd86af023f68df05c112c2350bc351915a9452",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1322.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 665912
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251230034000id_/https://eprint.iacr.org/2023/1322.pdf",
      "captured_at": "2025-12-30T03:40:00Z",
      "size": 635436
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1322,\n      author = {Samuel Dittmer and Karim Eldefrawy and Stéphane Graham-Lengrand and Steve Lu and Rafail Ostrovsky and Vitor Pereira},\n      title = {Boosting the Performance of High-Assurance Cryptography: Parallel Execution and Optimizing Memory Access in Formally-Verified Line-Point Zero-Knowledge},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1322},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1322}\n}"
}
