Skip to main content

attack_shrinking_generator

Function attack_shrinking_generator 

Source
pub fn attack_shrinking_generator(
    output: &[bool],
    a_taps: &[bool],
    s_taps: &[bool],
) -> Option<(Vec<bool>, Vec<bool>)>
Expand description

Break a shrinking (clock-controlled) generator: recover both register states from the output alone by guessing the clock register and linear-solving the data register. Reaches a generator whose output is a data-dependent decimation — not a fixed function of any register’s own past — that no feedback, correlation, algebraic, or linear rung can touch. See [describe::attack_shrinking_generator].