block-ciphers
block-ciphers copied to clipboard
Use const generics for magma S-boxes
Right now we have to define an empty enum and implement for it the Sbox trait, which contains S-box value. It would be nice to replace it with struct Gost89<const SBOX: [[u8; 16]; 8]> { .. } and perform expansion using const fn.