Skip to main content

keccak_config

Function keccak_config 

Source
pub fn keccak_config(
    params: PcsParams,
) -> MidenStarkConfig<LmcsConfig<[Felt; 2], [u64; 2], SerializingStatefulSponge<StatefulSponge<KeccakF, KECCAK_WIDTH, KECCAK_RATE, KECCAK_DIGEST>>, CompressionFunctionFromHasher<PaddingFreeSponge<KeccakF, KECCAK_WIDTH, KECCAK_RATE, KECCAK_DIGEST>, COMPRESSION_INPUTS, KECCAK_DIGEST>, KECCAK_WIDTH, KECCAK_DIGEST>, SerializingChallenger64<Felt, HashChallenger<u8, Keccak256Hash, KECCAK_CHALLENGER_DIGEST_SIZE>>>
Expand description

Creates a Keccak-based STARK configuration.

Uses the stateful binary sponge with the Keccak permutation and [Felt; VECTOR_LEN] packing for SIMD parallelization.