Module baby_bear_poseidon2

Module baby_bear_poseidon2 

Source

Structs§

BabyBearPermutationEngine

Functions§

config_from_perm
default_config
pcs_log_degree is the upper bound on the log_2(PCS polynomial degree).
default_engine
pcs_log_degree is the upper bound on the log_2(PCS polynomial degree).
default_perm
Uses HorizenLabs Poseidon2 round constants, but plonky3 Mat4 and also with a p3 Monty reduction factor.
engine_from_perm
horizen_round_consts_16
print_hash_counts
Logs hash count statistics to stdout and returns as struct. Count of 1 corresponds to a Poseidon2 permutation with rate RATE that outputs OUT field elements
random_instrumented_perm
random_perm

Type Aliases§

BabyBearPermutationConfig
BabyBearPoseidon2Config
BabyBearPoseidon2Engine
Challenger