Module zebra_consensus::primitives::groth16
source · Expand description
Async Groth16 batch verifier service
Re-exports§
pub use params::Groth16Parameters;
pub use params::GROTH16_PARAMETERS;
pub use params::GROTH16_PARAMETERS;
Modules§
- params 🔒Loading and checking correctness of Groth16 Sapling and Sprout parameters.
Structs§
- A wrapper to allow a TryFrom blanket implementation of the
Description
trait for theItem
struct. See https://github.com/rust-lang/rust/issues/50133 for more details. - Groth16 signature verifier implementation
Statics§
- Global batch verification context for Groth16 proofs of JoinSplit statements.
- Global batch verification context for Groth16 proofs of Output statements.
- Global batch verification context for Groth16 proofs of Spend statements.
Traits§
- A Groth16 Description (JoinSplit, Spend, or Output) with a Groth16 proof and its inputs encoded as scalars.
Functions§
- h_sig 🔒Compute the h_{Sig} hash function which is used in JoinSplit descriptions.
Type Aliases§
- The type of the batch verifier.
- The type of a raw verifying key. This is the key used to verify batches.
- The type of the batch item. This is a Groth16 verification item.
- The type of a prepared verifying key. This is the key used to verify individual items.
- Sender 🔒The type of the batch sender channel.
- The type of verification results.