Skip to main content

BABYBEAR_POSEIDON1_PARTIAL_ROUNDS_16

Constant BABYBEAR_POSEIDON1_PARTIAL_ROUNDS_16 

Source
pub const BABYBEAR_POSEIDON1_PARTIAL_ROUNDS_16: usize = 13;
Expand description

Number of partial rounds for BabyBear Poseidon1 (width 16).

Derived from the Gröbner basis bound in the Poseidon1 paper (Eq. 4, line 2) and the Poseidon2 paper (Eq. 1, R_GB term 3):

R_GB ≥ t − 7 + log_α(2) · min{κ/(t+1), log_2(p)/2} = 9 + 0.3562 · min{7.53, 15.5} = 11.682

With the +7.5% security margin (Section 5.4): ⌈1.075 × 11.682⌉ = 13.