Expand description
Rust bindings for rapidsnark proving.
Prebuilt binaries are provided for the following platforms:
- aarch64-apple-ios
- aarch64-apple-ios-sim
- x86_64-apple-ios
- aarch64-apple-darwin
- x86_64-apple-darwin
- aarch64-linux-android
- x86_64-linux-android
- x86_64 linux
- arm64 linux
If a specific target is not included the sysytem will fallback to the generic architecture, which may cause problems. e.g. if you compile for aarch64-linux-generic, the system will fallback to aarch64.
Structs§
- Proof
Result - A structure representing a proof and public signals.
Functions§
- groth16_
prover_ ⚠zkey_ file - groth16_
prover_ zkey_ file_ wrapper - Wrapper for
groth16_prover_zkey_file - groth16_
verify ⚠ - groth16_
verify_ wrapper - Wrapper for
groth16_verify - parse_
bigints_ to_ witness - Parse bigints to
wtnsformat.
Reference: witnesscalc/src/witnesscalc.cpp
Type Aliases§
- WtnsFn
- A function that converts named inputs to a full witness. This should be generated using e.g. rust-witness.