pub type AnemoiBls12_381_2_1 = AnemoiState<Felt, 2, 1>;
Aliased Type§
struct AnemoiBls12_381_2_1(/* private fields */);
Trait Implementations
Source§impl<F: Clone + Field, const R: usize, const N: usize> Clone for AnemoiState<F, R, N>
impl<F: Clone + Field, const R: usize, const N: usize> Clone for AnemoiState<F, R, N>
Source§fn clone(&self) -> AnemoiState<F, R, N>
fn clone(&self) -> AnemoiState<F, R, N>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Permutation for AnemoiState<Felt, { _AnemoiBls12_381_2_1::RATE }, { _AnemoiBls12_381_2_1::WIDTH }>
impl Permutation for AnemoiState<Felt, { _AnemoiBls12_381_2_1::RATE }, { _AnemoiBls12_381_2_1::WIDTH }>
Source§const N: usize = 2usize
const N: usize = 2usize
The width of the sponge, equal to rate
Permutation::R
plus capacity.
Cannot be less than 1. Cannot be less than Permutation::R
.