pub(crate) trait BlkCipher:
BlockCipher
+ KeyInit
+ BlockSizeUser<BlockSize = U16>
+ Clone {
const KEY_LEN: usize;
}
Available on crate feature
counter-galois-onion
only.Expand description
Helper trait to define the features we need from a block cipher, and make our “where” declarations smaller.
Not sealed because it is never used outside of this crate.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.