#set #zkp #accelerated #sh #xcelerated #z-ero #kn-owledge

sys zeknox

ZEro KNOwledge Xcelerated (accelerated ZKP)

1 stable release

new 1.0.1 Feb 7, 2025

#8 in #accelerated

Download history 112/week @ 2025-02-03

112 downloads per month

Apache-2.0

43KB
1K SLoC

Run and Test

Prerequisites

  • rust: to install Rust, run:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Also, set Rust nighly:

rustup override set nightly
  • libzeknox.a: please download gl64-86-89-90-libzeknox.a from the Github release page, then run:
sudo cp gl64-86-89-90-libzeknox.a /usr/local/lib/libzeknox.a
sudo cp libblst.a /usr/local/lib/

Rust Tests

First, set the number of GPUs you want to run the tests on. You need at least one GPU in your test system.

export NUM_OF_GPUS=1
./run_rust_tests.sh

Build and Run Benchmarks

For example:

export NUM_OF_GPUS=1
cargo bench --bench=gpu_fft_batch
cargo bench --bench=lde_batch
cargo bench --bench=transpose

Dependencies

~2.8–6.5MB
~187K SLoC