openvm_stark_sdk::config::baby_bear_poseidon2

Function engine_from_perm

Source
pub fn engine_from_perm<P>(
    perm: P,
    fri_params: FriParameters,
) -> BabyBearPermutationEngine<P>
where P: CryptographicPermutation<[BabyBear; 16]> + CryptographicPermutation<[<BabyBear as Field>::Packing; 16]> + Clone,