pub struct AlgebraicImmunityReport {
pub immunity: usize,
pub max_possible: usize,
pub witness: AnnihilatorWitness,
pub is_maximal: bool,
}Expand description
The algebraic-immunity profile of a filter/combining function: the minimum degree of an annihilator
(the algebraic attack’s leverage), the maximum possible ⌈n/2⌉, and whether it sits at that ceiling.
Fields§
§immunity: usizeAI(C) — the minimum degree of a nonzero annihilator of C or C ⊕ 1.
max_possible: usize⌈n/2⌉ — the maximum algebraic immunity any n-variable function can have.
witness: AnnihilatorWitnessA re-checkable minimum-degree annihilator (the attack’s leverage).
is_maximal: boolAI(C) == ⌈n/2⌉ — maximal algebraic immunity, the algebraic-incompressible residue (the ceiling).
Trait Implementations§
Source§impl Clone for AlgebraicImmunityReport
impl Clone for AlgebraicImmunityReport
Source§fn clone(&self) -> AlgebraicImmunityReport
fn clone(&self) -> AlgebraicImmunityReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlgebraicImmunityReport
impl Debug for AlgebraicImmunityReport
Source§impl PartialEq for AlgebraicImmunityReport
impl PartialEq for AlgebraicImmunityReport
Source§fn eq(&self, other: &AlgebraicImmunityReport) -> bool
fn eq(&self, other: &AlgebraicImmunityReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AlgebraicImmunityReport
impl StructuralPartialEq for AlgebraicImmunityReport
Auto Trait Implementations§
impl Freeze for AlgebraicImmunityReport
impl RefUnwindSafe for AlgebraicImmunityReport
impl Send for AlgebraicImmunityReport
impl Sync for AlgebraicImmunityReport
impl Unpin for AlgebraicImmunityReport
impl UnsafeUnpin for AlgebraicImmunityReport
impl UnwindSafe for AlgebraicImmunityReport
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