Struct ivc::poseidon_8_56_5_3_2::bn254::PlonkSpongeConstantsIVC
source · pub struct PlonkSpongeConstantsIVC {}
Expand description
Constants used by the IVC circuit used by the folding scheme This is meant to be only used for the IVC circuit, with the BN254 curve It has not been tested with/for other curves.
Trait Implementations§
source§impl Clone for PlonkSpongeConstantsIVC
impl Clone for PlonkSpongeConstantsIVC
source§fn clone(&self) -> PlonkSpongeConstantsIVC
fn clone(&self) -> PlonkSpongeConstantsIVC
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 SpongeConstants for PlonkSpongeConstantsIVC
impl SpongeConstants for PlonkSpongeConstantsIVC
const SPONGE_CAPACITY: usize = 1usize
const SPONGE_WIDTH: usize = 3usize
const SPONGE_RATE: usize = 2usize
const PERM_ROUNDS_FULL: usize = 0usize
const PERM_ROUNDS_PARTIAL: usize = 56usize
const PERM_HALF_ROUNDS_FULL: usize = 4usize
const PERM_SBOX: u32 = 5u32
const PERM_FULL_MDS: bool = true
const PERM_INITIAL_ARK: bool = false
Auto Trait Implementations§
impl RefUnwindSafe for PlonkSpongeConstantsIVC
impl Send for PlonkSpongeConstantsIVC
impl Sync for PlonkSpongeConstantsIVC
impl Unpin for PlonkSpongeConstantsIVC
impl UnwindSafe for PlonkSpongeConstantsIVC
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