Paper 2024/1918

Orion's Ascent: Accelerating Hash-Based Zero Knowledge Proof on Hardware Platforms

Florian Hirner, Graz University of Technology
Florian Krieger
Constantin Piber, Graz University of Technology
Sujoy Sinha Roy, Graz University of Technology
Abstract

Zero-knowledge proofs (ZKPs) are cryptographic protocols that enable one party to prove the validity of a statement without revealing the underlying data. Such proofs have applications in privacy-preserving technologies and verifiable computations. However, slow proof generation poses a significant challenge in the wide-scale adoption of ZKP. Orion is a recent ZKP scheme with linear prover time. It leverages coding theory, expander graphs, and Merkle hash trees to improve computational efficiency. However, the polynomial commitment phase in Orion is yet a primary performance bottleneck due to the memory-intensive nature of expander graph-based encoding and the data-heavy hashing required for Merkle Tree generation. This work introduces several algorithmic and hardware-level optimizations aimed at accelerating Orion’s commitment phase. We replace the recursive encoding construction with an iterative approach and propose novel expander graph strategies optimized for hardware to enable more parallelism and reduce off-chip memory access. Additionally, we implement an on-the-fly expander graph generation technique, reducing memory usage by gigabytes. Further optimizations in Merkle Tree generation reduce the cost of SHA3 hashing, resulting in significant speedups of the polynomial commitment phase. Our FPGA implementation heavily optimizes access to the off-chip high-bandwidth memory (HBM) utilizing memory-efficient computational strategies. The accelerator demonstrates speedups of up to 381$\times$ for linear encoding and up to 2,390$\times$ for the hashing operations over a software implementation on a high-end CPU. In the context of real-world applications, such as zero-knowledge proof-of-training of deep neural networks (DNNs), our techniques show up to 241$\times$ speed up for the polynomial commitment.

Note: The paper is in review since Oct 2024.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
Zero-Knowledge ProofOrionAccelerate CommitmentScalable ArchitectureHardware Accelerator
Contact author(s)
florian hirner @ iaik tugraz at
florian krieger @ iaik tugraz at
sujoy sinharoy @ iaik tugraz at
History
2024-11-29: approved
2024-11-26: received
See all versions
Short URL
https://ia.cr/2024/1918
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/1918,
      author = {Florian Hirner and Florian Krieger and Constantin Piber and Sujoy Sinha Roy},
      title = {Orion's Ascent: Accelerating Hash-Based Zero Knowledge Proof on Hardware Platforms},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1918},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1918}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.