Expand description
The RISC Zero Proving System
These are the core algorithms that prove and verify the execution of zk-STARK circuits.
§Crate Feature Flags
The following crate feature flags are available.
Feature | Target(s) | Implies | Description |
---|---|---|---|
cuda | prove, std | Turns on CUDA GPU acceleration for the prover. Requires CUDA toolkit to be installed. | |
metal | macos | prove, std | Deprecated - Metal GPU acceleration for the prover is enabled by default on Apple Silicon. |
prove | all except rv32im | std | Enables the prover, incompatible within the zkvm guest. |
std | all | Support for the Rust stdlib. |
Modules§
- Interface between the circuit and prover/verifier
- Core module used to implement a zk-STARK prover and verifier.
- Finite field types and operations
- hal
prove
Hardware Abstraction Layer (HAL) for accelerating the ZKP system. - Utilities for accessing buffers of circuits symbolically.
- prove
prove
Cryptographic algorithms for producing a ZK proof of compute - Cryptographic algorithms for verifying a ZK proof of compute
Macros§
- Macro for constructing a Digest from a hex string.
Constants§
- FRI folding factor is 2 ^ FRI_FOLD_PO2
- Inverse of Reed-Solomon Expansion Rate
- 50 FRI queries is sufficient to achieve our security target of 97 bits (conjectured security)