Enum o1vm::interpreters::keccak::Constraint
source · pub enum Constraint {
Show 18 variants
BooleanityPadding(usize),
AbsorbZeroPad(usize),
AbsorbRootZero(usize),
AbsorbXor(usize),
AbsorbShifts(usize),
PadAtEnd,
PaddingSuffix(usize),
SqueezeShifts(usize),
ThetaWordC(usize),
ThetaRotatedC(usize),
ThetaQuotientC(usize),
ThetaShiftsC(usize, usize),
PiRhoWordE(usize, usize),
PiRhoRotatedE(usize, usize),
PiRhoShiftsE(usize, usize, usize),
ChiShiftsB(usize, usize, usize),
ChiShiftsSum(usize, usize, usize),
IotaStateG(usize),
}
Expand description
All the names for constraints involved in the Keccak circuit
Variants§
BooleanityPadding(usize)
AbsorbZeroPad(usize)
AbsorbRootZero(usize)
AbsorbXor(usize)
AbsorbShifts(usize)
PadAtEnd
PaddingSuffix(usize)
SqueezeShifts(usize)
ThetaWordC(usize)
ThetaRotatedC(usize)
ThetaQuotientC(usize)
ThetaShiftsC(usize, usize)
PiRhoWordE(usize, usize)
PiRhoRotatedE(usize, usize)
PiRhoShiftsE(usize, usize, usize)
ChiShiftsB(usize, usize, usize)
ChiShiftsSum(usize, usize, usize)
IotaStateG(usize)
Trait Implementations§
source§impl Clone for Constraint
impl Clone for Constraint
source§fn clone(&self) -> Constraint
fn clone(&self) -> Constraint
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 Debug for Constraint
impl Debug for Constraint
source§impl PartialEq<Constraint> for Constraint
impl PartialEq<Constraint> for Constraint
source§fn eq(&self, other: &Constraint) -> bool
fn eq(&self, other: &Constraint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Constraint
impl Eq for Constraint
impl StructuralEq for Constraint
impl StructuralPartialEq for Constraint
Auto Trait Implementations§
impl RefUnwindSafe for Constraint
impl Send for Constraint
impl Sync for Constraint
impl Unpin for Constraint
impl UnwindSafe for Constraint
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more