Expand description
Poseidon parameters that can be used by crate::poseidon_8_56_5_3_2 over the scalar field of BN254, for a security level of 128 bits.
Structs§
- Plonk
Sponge ConstantsIVC - Constants used by the IVC circuit used by the folding scheme This is meant to be only used for the IVC circuit, with the BN254 curve It has not been tested with/for other curves.
- PoseidonB
N254 Parameters
Constants§
- MAX_
DEGREE - The maximum degree of a constraint
- NB_
COLUMNS - The number of columns in the poseidon permutation
- NB_
CONSTRAINTS - The number of constraints required by this gadget
- NB_
FULL_ ROUND - Number of full rounds
- NB_
PARTIAL_ ROUND - Number of partial rounds
- NB_
ROUND_ CONSTANTS - Number of round constants
- NB_
TOTAL_ ROUND - Total number of rounds, including partial and full.
- STATE_
SIZE - The number of field elements in the state