pub type Poseidon2ExternalLayerBabyBear<const WIDTH: usize> = Poseidon2ExternalLayerMonty31<BabyBearParameters, WIDTH>;
Aliased Type§
struct Poseidon2ExternalLayerBabyBear<const WIDTH: usize> { /* private fields */ }
Trait Implementations
Source§impl<MP, const WIDTH: usize> Clone for Poseidon2ExternalLayerMonty31<MP, WIDTH>where
MP: Clone + MontyParameters,
impl<MP, const WIDTH: usize> Clone for Poseidon2ExternalLayerMonty31<MP, WIDTH>where
MP: Clone + MontyParameters,
Source§fn clone(&self) -> Poseidon2ExternalLayerMonty31<MP, WIDTH>
fn clone(&self) -> Poseidon2ExternalLayerMonty31<MP, WIDTH>
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<MP, const WIDTH: usize> Debug for Poseidon2ExternalLayerMonty31<MP, WIDTH>where
MP: Debug + MontyParameters,
impl<MP, const WIDTH: usize> Debug for Poseidon2ExternalLayerMonty31<MP, WIDTH>where
MP: Debug + MontyParameters,
Source§impl<FP, const WIDTH: usize, const D: u64> ExternalLayer<MontyField31<FP>, WIDTH, D> for Poseidon2ExternalLayerMonty31<FP, WIDTH>where
FP: FieldParameters,
impl<FP, const WIDTH: usize, const D: u64> ExternalLayer<MontyField31<FP>, WIDTH, D> for Poseidon2ExternalLayerMonty31<FP, WIDTH>where
FP: FieldParameters,
Source§fn permute_state_initial(&self, state: &mut [MontyField31<FP>; WIDTH])
fn permute_state_initial(&self, state: &mut [MontyField31<FP>; WIDTH])
Perform the initial external layers of the Poseidon2 permutation on the given state.
Source§fn permute_state_terminal(&self, state: &mut [MontyField31<FP>; WIDTH])
fn permute_state_terminal(&self, state: &mut [MontyField31<FP>; WIDTH])
Perform the terminal external layers of the Poseidon2 permutation on the given state.
Source§impl<FP, const D: u64, const WIDTH: usize> ExternalLayer<PackedMontyField31Neon<FP>, WIDTH, D> for Poseidon2ExternalLayerMonty31<FP, WIDTH>where
FP: FieldParameters,
impl<FP, const D: u64, const WIDTH: usize> ExternalLayer<PackedMontyField31Neon<FP>, WIDTH, D> for Poseidon2ExternalLayerMonty31<FP, WIDTH>where
FP: FieldParameters,
Source§fn permute_state_initial(&self, state: &mut [PackedMontyField31Neon<FP>; WIDTH])
fn permute_state_initial(&self, state: &mut [PackedMontyField31Neon<FP>; WIDTH])
Perform the initial external layers of the Poseidon2 permutation on the given state.
Source§fn permute_state_terminal(
&self,
state: &mut [PackedMontyField31Neon<FP>; WIDTH],
)
fn permute_state_terminal( &self, state: &mut [PackedMontyField31Neon<FP>; WIDTH], )
Perform the terminal external layers of the Poseidon2 permutation on the given state.
Source§impl<FP, const WIDTH: usize> ExternalLayerConstructor<PackedMontyField31Neon<FP>, WIDTH> for Poseidon2ExternalLayerMonty31<FP, WIDTH>where
FP: FieldParameters,
impl<FP, const WIDTH: usize> ExternalLayerConstructor<PackedMontyField31Neon<FP>, WIDTH> for Poseidon2ExternalLayerMonty31<FP, WIDTH>where
FP: FieldParameters,
Source§fn new_from_constants(
external_constants: ExternalLayerConstants<MontyField31<FP>, WIDTH>,
) -> Poseidon2ExternalLayerMonty31<FP, WIDTH>
fn new_from_constants( external_constants: ExternalLayerConstants<MontyField31<FP>, WIDTH>, ) -> Poseidon2ExternalLayerMonty31<FP, WIDTH>
A constructor which internally will convert the supplied
constants into the appropriate form for the implementation.