pub trait CipherSized { }Expand description
This trait enables restriction of ciphers to specific key sizes.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<'c, const IV_SIZE: usize, const TAG_SIZE: usize> CipherSized for AesCcm<'c, { _ }, IV_SIZE, TAG_SIZE>
impl<'c, const IV_SIZE: usize, const TAG_SIZE: usize> CipherSized for AesCcm<'c, { _ }, IV_SIZE, TAG_SIZE>
impl<'c, const IV_SIZE: usize, const TAG_SIZE: usize> CipherSized for AesCcm<'c, { _ }, IV_SIZE, TAG_SIZE>
Available on
cryp only.impl<'c> CipherSized for AesCbc<'c, { _ }>
impl<'c> CipherSized for AesCbc<'c, { _ }>
Available on non-
aes_v1 only.impl<'c> CipherSized for AesCbc<'c, { _ }>
Available on
cryp only.impl<'c> CipherSized for AesCtr<'c, { _ }>
impl<'c> CipherSized for AesCtr<'c, { _ }>
Available on
cryp only.impl<'c> CipherSized for AesCtr<'c, { _ }>
Available on non-
aes_v1 only.impl<'c> CipherSized for AesEcb<'c, { _ }>
impl<'c> CipherSized for AesEcb<'c, { _ }>
Available on non-
aes_v1 only.impl<'c> CipherSized for AesEcb<'c, { _ }>
Available on
cryp only.impl<'c> CipherSized for AesGcm<'c, { _ }>
impl<'c> CipherSized for AesGcm<'c, { _ }>
impl<'c> CipherSized for AesGcm<'c, { _ }>
Available on
cryp only.impl<'c> CipherSized for AesGmac<'c, { _ }>
impl<'c> CipherSized for AesGmac<'c, { _ }>
impl<'c> CipherSized for AesGmac<'c, { _ }>
Available on
cryp only.