Struct lambdaworks_crypto::hash::poseidon::starknet::parameters::PoseidonCairoStark252
source · pub struct PoseidonCairoStark252;
Implementations§
source§impl PoseidonCairoStark252
impl PoseidonCairoStark252
pub const OPTIMIZED_ROUND_CONSTANTS: [FE<Stark252PrimeField>; 107] = _
Trait Implementations§
source§impl Clone for PoseidonCairoStark252
impl Clone for PoseidonCairoStark252
source§fn clone(&self) -> PoseidonCairoStark252
fn clone(&self) -> PoseidonCairoStark252
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 Default for PoseidonCairoStark252
impl Default for PoseidonCairoStark252
source§fn default() -> PoseidonCairoStark252
fn default() -> PoseidonCairoStark252
Returns the “default value” for a type. Read more
source§impl PermutationParameters for PoseidonCairoStark252
impl PermutationParameters for PoseidonCairoStark252
type F = MontgomeryBackendPrimeField<MontgomeryConfigStark252PrimeField, 4>
const RATE: usize = 2usize
const CAPACITY: usize = 1usize
const ALPHA: u32 = 3u32
const N_FULL_ROUNDS: usize = 8usize
const N_PARTIAL_ROUNDS: usize = 83usize
const MDS_MATRIX: &'static [FE<Stark252PrimeField>] = _
const N_MDS_MATRIX_ROWS: usize = 3usize
const N_MDS_MATRIX_COLS: usize = 3usize
const ROUND_CONSTANTS: &'static [FE<Stark252PrimeField>] = _
const N_ROUND_CONSTANTS_ROWS: usize = 91usize
const N_ROUND_CONSTANTS_COLS: usize = 3usize
const STATE_SIZE: usize = _
Auto Trait Implementations§
impl Freeze for PoseidonCairoStark252
impl RefUnwindSafe for PoseidonCairoStark252
impl Send for PoseidonCairoStark252
impl Sync for PoseidonCairoStark252
impl Unpin for PoseidonCairoStark252
impl UnwindSafe for PoseidonCairoStark252
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)