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 duplicate 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 for Constraint
impl PartialEq for Constraint
impl Copy for Constraint
impl Eq for Constraint
impl StructuralPartialEq for Constraint
Auto Trait Implementations§
impl Freeze for Constraint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more