Use const generics for magma S-boxes
newpavlov opened this issue · 0 comments
newpavlov commented
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
.