pub type Poseidon2Config = MidenStarkConfig<LmcsConfig<<Felt as Field>::Packing, <Felt as Field>::Packing, StatefulSponge<Poseidon2Permutation256, SPONGE_WIDTH, SPONGE_RATE, DIGEST_WIDTH>, TruncatedPermutation<Poseidon2Permutation256, COMPRESSION_INPUTS, DIGEST_WIDTH, SPONGE_WIDTH>, SPONGE_WIDTH, DIGEST_WIDTH>, DuplexChallenger<Felt, Poseidon2Permutation256, SPONGE_WIDTH, SPONGE_RATE>>;Expand description
Concrete STARK configuration type for Poseidon2.
Aliased Type§
pub struct Poseidon2Config {
pub pcs: PcsParams,
pub lmcs: LmcsConfig<Felt, Felt, StatefulSponge<Poseidon2Permutation256, 12, 8, 4>, TruncatedPermutation<Poseidon2Permutation256, 2, 4, 12>, 12, 4>,
pub dft: Radix2DitParallel<Felt>,
pub challenger: DuplexChallenger<Felt, Poseidon2Permutation256, 12, 8>,
/* private fields */
}Fields§
§pcs: PcsParams§lmcs: LmcsConfig<Felt, Felt, StatefulSponge<Poseidon2Permutation256, 12, 8, 4>, TruncatedPermutation<Poseidon2Permutation256, 2, 4, 12>, 12, 4>§dft: Radix2DitParallel<Felt>§challenger: DuplexChallenger<Felt, Poseidon2Permutation256, 12, 8>