pub struct PoseidonDefaultParametersEntry {
pub rate: usize,
pub alpha: usize,
pub full_rounds: usize,
pub partial_rounds: usize,
pub skip_matrices: usize,
}Expand description
An entry in the default Poseidon parameters
Fields§
§rate: usizeThe rate (in terms of number of field elements).
alpha: usizeExponent used in S-boxes.
full_rounds: usizeNumber of rounds in a full-round operation.
partial_rounds: usizeNumber of rounds in a partial-round operation.
skip_matrices: usizeNumber of matrices to skip when generating parameters using the Grain LFSR.
The matrices being skipped are those that do not satisfy all the desired properties. See the reference implementation for more detail.