Skip to main content

MERSENNE31_POSEIDON2_PARTIAL_ROUNDS_24

Constant MERSENNE31_POSEIDON2_PARTIAL_ROUNDS_24 

Source
pub const MERSENNE31_POSEIDON2_PARTIAL_ROUNDS_24: usize = 22;
Expand description

Number of partial rounds for Mersenne31 Poseidon2 (width 24).

Same Gröbner basis bound as width 16:

R_GB ≥ 17 + 0.4307 · min{5.12, 15.5} = 19.205

With the +7.5% security margin: ⌈1.075 × 19.205⌉ = 21.

The official round number script yields R_P = 22 for this configuration (matching the Grain LFSR parameters used to generate the round constants).