pub struct WordIntegerMulSecurityModel { /* private fields */ }Expand description
Checked dimensions of one full-width unsigned multiplication reduction.
Implementations§
Source§impl WordIntegerMulSecurityModel
impl WordIntegerMulSecurityModel
Sourcepub const fn new(
field_bits: usize,
row_variables: usize,
bit_variables: usize,
) -> Option<Self>
pub const fn new( field_bits: usize, row_variables: usize, bit_variables: usize, ) -> Option<Self>
Creates a model when the challenge field has a nonzero security width.
Sourcepub fn components(self) -> Vec<SecurityTerm>
pub fn components(self) -> Vec<SecurityTerm>
Returns each algebraic error source for diagnostic reporting.
Sourcepub fn combined_term(self) -> SecurityTerm
pub fn combined_term(self) -> SecurityTerm
Returns the union bound used by an enclosing proof system.
Trait Implementations§
Source§impl Clone for WordIntegerMulSecurityModel
impl Clone for WordIntegerMulSecurityModel
impl Copy for WordIntegerMulSecurityModel
Source§impl Debug for WordIntegerMulSecurityModel
impl Debug for WordIntegerMulSecurityModel
impl Eq for WordIntegerMulSecurityModel
impl StructuralPartialEq for WordIntegerMulSecurityModel
Auto Trait Implementations§
impl Freeze for WordIntegerMulSecurityModel
impl RefUnwindSafe for WordIntegerMulSecurityModel
impl Send for WordIntegerMulSecurityModel
impl Sync for WordIntegerMulSecurityModel
impl Unpin for WordIntegerMulSecurityModel
impl UnsafeUnpin for WordIntegerMulSecurityModel
impl UnwindSafe for WordIntegerMulSecurityModel
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more