pub type Poseidon2InternalLayerBabyBear<const WIDTH: usize> = Poseidon2InternalLayerMonty31<BabyBearParameters, WIDTH, BabyBearInternalLayerParameters>;
Aliased Type§
struct Poseidon2InternalLayerBabyBear<const WIDTH: usize> { /* private fields */ }
Trait Implementations
Source§impl<MP, const WIDTH: usize, ILP> Clone for Poseidon2InternalLayerMonty31<MP, WIDTH, ILP>
impl<MP, const WIDTH: usize, ILP> Clone for Poseidon2InternalLayerMonty31<MP, WIDTH, ILP>
Source§fn clone(&self) -> Poseidon2InternalLayerMonty31<MP, WIDTH, ILP>
fn clone(&self) -> Poseidon2InternalLayerMonty31<MP, WIDTH, ILP>
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, ILP> Debug for Poseidon2InternalLayerMonty31<MP, WIDTH, ILP>
impl<MP, const WIDTH: usize, ILP> Debug for Poseidon2InternalLayerMonty31<MP, WIDTH, ILP>
Source§impl<FP, const WIDTH: usize, P2P, const D: u64> InternalLayer<MontyField31<FP>, WIDTH, D> for Poseidon2InternalLayerMonty31<FP, WIDTH, P2P>where
FP: FieldParameters,
P2P: InternalLayerParameters<FP, WIDTH>,
impl<FP, const WIDTH: usize, P2P, const D: u64> InternalLayer<MontyField31<FP>, WIDTH, D> for Poseidon2InternalLayerMonty31<FP, WIDTH, P2P>where
FP: FieldParameters,
P2P: InternalLayerParameters<FP, WIDTH>,
Source§fn permute_state(&self, state: &mut [MontyField31<FP>; WIDTH])
fn permute_state(&self, state: &mut [MontyField31<FP>; WIDTH])
Perform the internal layers of the Poseidon2 permutation on the given state.
Source§impl<FP, ILP, const WIDTH: usize, const D: u64> InternalLayer<PackedMontyField31Neon<FP>, WIDTH, D> for Poseidon2InternalLayerMonty31<FP, WIDTH, ILP>where
FP: FieldParameters,
ILP: InternalLayerBaseParameters<FP, WIDTH>,
impl<FP, ILP, const WIDTH: usize, const D: u64> InternalLayer<PackedMontyField31Neon<FP>, WIDTH, D> for Poseidon2InternalLayerMonty31<FP, WIDTH, ILP>where
FP: FieldParameters,
ILP: InternalLayerBaseParameters<FP, WIDTH>,
Source§fn permute_state(&self, state: &mut [PackedMontyField31Neon<FP>; WIDTH])
fn permute_state(&self, state: &mut [PackedMontyField31Neon<FP>; WIDTH])
Perform the internal layers of the Poseidon2 permutation on the given state.
Source§impl<FP, const WIDTH: usize, ILP> InternalLayerConstructor<PackedMontyField31Neon<FP>> for Poseidon2InternalLayerMonty31<FP, WIDTH, ILP>where
FP: FieldParameters,
ILP: InternalLayerBaseParameters<FP, WIDTH>,
impl<FP, const WIDTH: usize, ILP> InternalLayerConstructor<PackedMontyField31Neon<FP>> for Poseidon2InternalLayerMonty31<FP, WIDTH, ILP>where
FP: FieldParameters,
ILP: InternalLayerBaseParameters<FP, WIDTH>,
Source§fn new_from_constants(
internal_constants: Vec<MontyField31<FP>>,
) -> Poseidon2InternalLayerMonty31<FP, WIDTH, ILP>
fn new_from_constants( internal_constants: Vec<MontyField31<FP>>, ) -> Poseidon2InternalLayerMonty31<FP, WIDTH, ILP>
A constructor which internally will convert the supplied
constants into the appropriate form for the implementation.