Skip to main content

sbox_profile

Function sbox_profile 

Source
pub fn sbox_profile(sbox: &[u32], out_bits: usize) -> Option<SboxProfile>
Expand description

Profile an S-box S : {0,1}ⁿ → {0,1}ᵐ given as its output table (sbox[x] = S(x), out_bits = m): differential uniformity, linearity, minimum component degree, and the affine/bijective/APN flags. None if the table length is not a power of two.