Expand description
This crate provides verifiers for SP1 Groth16 and Plonk BN254 proofs in a no-std environment. It is patched for efficient verification within the SP1 zkVM context.
Structs§
- The Groth16 verifying key for this SP1 version.
- A verifier for Groth16 zero-knowledge proofs.
- The PLONK verifying key for this SP1 version.
- A verifier for Plonk zero-knowledge proofs.
Enums§
Functions§
- Formats the sp1 vkey hash and public inputs for use in either the Plonk or Groth16 verifier.
- Decodes the sp1 vkey hash from the string from a call to
vk.bytes32. - Hashes the public inputs in the same format as the Plonk and Groth16 verifiers.