pub trait CipherAuthenticated<const TAG_SIZE: usize> {
const TAG_SIZE: usize = TAG_SIZE;
}Expand description
This trait enables restriction of a header phase to authenticated ciphers only.
Provided Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<'c, const KEY_SIZE: usize, const IV_SIZE: usize> CipherAuthenticated<4> for AesCcm<'c, KEY_SIZE, 4, IV_SIZE>
Available on
cryp_v2 or cryp_v3 or cryp_v4 only.impl<'c, const KEY_SIZE: usize, const IV_SIZE: usize> CipherAuthenticated<6> for AesCcm<'c, KEY_SIZE, 6, IV_SIZE>
Available on
cryp_v2 or cryp_v3 or cryp_v4 only.impl<'c, const KEY_SIZE: usize, const IV_SIZE: usize> CipherAuthenticated<8> for AesCcm<'c, KEY_SIZE, 8, IV_SIZE>
Available on
cryp_v2 or cryp_v3 or cryp_v4 only.impl<'c, const KEY_SIZE: usize, const IV_SIZE: usize> CipherAuthenticated<10> for AesCcm<'c, KEY_SIZE, 10, IV_SIZE>
Available on
cryp_v2 or cryp_v3 or cryp_v4 only.impl<'c, const KEY_SIZE: usize, const IV_SIZE: usize> CipherAuthenticated<12> for AesCcm<'c, KEY_SIZE, 12, IV_SIZE>
Available on
cryp_v2 or cryp_v3 or cryp_v4 only.impl<'c, const KEY_SIZE: usize, const IV_SIZE: usize> CipherAuthenticated<14> for AesCcm<'c, KEY_SIZE, 14, IV_SIZE>
Available on
cryp_v2 or cryp_v3 or cryp_v4 only.impl<'c, const KEY_SIZE: usize, const IV_SIZE: usize> CipherAuthenticated<16> for AesCcm<'c, KEY_SIZE, 16, IV_SIZE>
Available on
cryp_v2 or cryp_v3 or cryp_v4 only.impl<'c, const KEY_SIZE: usize> CipherAuthenticated<16> for AesGcm<'c, KEY_SIZE>
Available on
cryp_v2 or cryp_v3 or cryp_v4 only.impl<'c, const KEY_SIZE: usize> CipherAuthenticated<16> for AesGmac<'c, KEY_SIZE>
Available on
cryp_v2 or cryp_v3 or cryp_v4 only.