Crate sp1_verifier

Source
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§

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.