pub struct CombinerLeak {
pub candidate_index: usize,
pub attack: CorrelationAttack,
pub floor: f64,
pub margin: f64,
}Expand description
A certified combiner leak: one candidate LFSR that a keystream measurably correlates with,
recovered by [describe::correlation_attack]. The attack.init_state is the re-checkable witness.
Fields§
§candidate_index: usizeIndex into the candidate menu of the leaking register.
attack: CorrelationAttackThe recovered register (initial state + correlation edge).
floor: f64The spurious-bias floor for this register length and sample count.
margin: f64bias / floor — how far above the noise the correlation sits (the significance).
Trait Implementations§
Source§impl Clone for CombinerLeak
impl Clone for CombinerLeak
Source§fn clone(&self) -> CombinerLeak
fn clone(&self) -> CombinerLeak
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 CombinerLeak
impl Debug for CombinerLeak
Source§impl PartialEq for CombinerLeak
impl PartialEq for CombinerLeak
Source§fn eq(&self, other: &CombinerLeak) -> bool
fn eq(&self, other: &CombinerLeak) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CombinerLeak
Auto Trait Implementations§
impl Freeze for CombinerLeak
impl RefUnwindSafe for CombinerLeak
impl Send for CombinerLeak
impl Sync for CombinerLeak
impl Unpin for CombinerLeak
impl UnsafeUnpin for CombinerLeak
impl UnwindSafe for CombinerLeak
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