The BlockSizes trait is implemented only up to 256 bytes.
|
impl<T: Unsigned> BlockSizes for T where Self: IsLess<U256, Output = True> + NonZero {} |
It therefore makes it impossible for a wide-block cipher (with a fixed block length) to implement BlockSizeUser.
Would it perhaps make sense to lift this up (at least 2k ?), or even make it unlimited.