Traits§
- Permutation
Parameters - Parameters for Poseidon
MDS constants and rounds constants are stored as references to slices
representing matrices of
N_MDS_MATRIX_ROWS * N_MDS_MATRIX_COLSandN_ROUND_CONSTANTS_ROWS * N_ROUND_CONSTANTS_COLSrespectively. We use this representation rather than an array because we can’t use the associated constants for dimension, requiring many generic parameters otherwise.