This framework allows executing homomorphically encrypted programs based on the BGV scheme implementation in Microsoft SEAL and verifying the computation using the Rinocchio ZKP protocol.
This codebase is directly built on top of Rinocchio's codebase.
The PEEV article that describes this work can be cited as follows:
@article{ahmed2023verifiableFHE,
author = {Ahmed, Omar and Gouert, Charles and Georgios Tsoutsos, Nektarios},
journal = {IEEE Access},
title = {PEEV: Parse Encrypt Execute Verify - A Verifiable FHE Framework},
year = {2024},
volume = {12},
number = {},
pages = {94673-94689},
note = {\url{https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10587231}}
}
opl/- A directory including the OpL files that are used to create the arithmetic circuit executed in PEEV. The OpL is created by parsing CirC programs using YAP.src/peev.cpp- The core PEEV execution engine for reading the.oplfile and executing the arithmetic circuit.
git clone https://github.com/TrustworthyComputing/PEEV-verifiableFHE.git
cd PEEV-verifiableFHE
mkdir build && cd build && cmake ..
make
Navigate to the binary path (inside the build directory) and execute the program using the -f flag followed by the OpL file path. For example:
./peev -f ../opl/dot_product_v8.oplThis project requires the following libraries to compile and run successfully:
- Boost
- GMP (GNU Multiple Precision Arithmetic Library): Required for Base-W CRT polynomial decomposition.
This is a proof-of-concept implementation for research purposes. It is not ready for deployment in critical and production systems.
This work was supported by the National Science Foundation (Award #2239334).