Re-exports§
pub use crate::plonk::config::Poseidon2GoldilocksConfig;
Modules§
- batch_
fri - field
- Re-export of
plonky2_field. - fri
- Fast Reed-Solomon IOP (FRI) protocol.
- gadgets
- Helper gadgets providing additional methods to CircuitBuilder, to ease circuit creation.
- gates
- plonky2 custom gates.
- hash
- plonky2 hashing logic for in-circuit hashing and Merkle proof verification as well as specific hash functions implementation.
- iop
- Logic common to multiple IOPs.
- plonk
- plonky2 proving system.
- recursion
- Recursion logic for verifying recursively plonky2 circuits.
- util
- Utility module for helper methods and plonky2 serialization logic.
Macros§
- get_
gate_ tag_ impl - get_
generator_ tag_ impl - impl_
gate_ serializer - Macro implementing the
GateSerializertrait. To serialize a list of gates used for a circuit, this macro should be called with a struct on which to implement this as first argument, followed by all the targeted gates. - impl_
generator_ serializer - Macro implementing the
WitnessGeneratorSerializertrait. To serialize a list of generators used for a circuit, this macro should be called with a struct on which to implement this as first argument, followed by all the targeted generators. - read_
gate_ impl - read_
generator_ impl - timed
- Creates a named scope; useful for debugging.
- with_
context - Creates a named scope; useful for debugging.
Structs§
- Compressed
Proof With Public Inputs - Poseidon
Goldilocks Config - Configuration using Poseidon over the Goldilocks field.
- Proof
- Proof
With Public Inputs - Verifier
Circuit Data - Circuit data required by the verifier.
- Verifier
Only Circuit Data - Circuit data required by the verifier only (not the prover).
Constants§
- D
- The extension degree for the field extension (D=2 provides 100-bits of security)
Traits§
- Generic
Config - Generic configuration trait.
- Generic
Hash Out - Hasher
- Trait for hash functions.
Functions§
- verify
- Re-export verification types from the verifier crate (canonical source)
Type Aliases§
- C
- The standard Plonky2 configuration using Poseidon hash over Goldilocks field
- Common
Circuit Data - Type alias for backward compatibility.
- F
- The Goldilocks prime field