Skip to main content

poseidon2_config

Function poseidon2_config 

Source
pub fn poseidon2_config(
    params: PcsParams,
) -> 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

Creates a Poseidon2-based STARK configuration.