pub struct AesGcm { /* private fields */ }Expand description
AES in GCM (Galois/counter) authenticated mode, as in NIST SP 800-38D.
Not available on nRF52840 and nRF91.
Only 12-byte IVs are supported. The IV must be unique for every message. Reusing one
breaks the security of the mode. The tag returned by Symmetric::aes_blocking_finish
is 16 bytes.
Implementations§
Trait Implementations§
impl AuthenticatedCipher for AesGcm
Available on crate features
_cracen or _cryptocell-312 only.impl Cipher for AesGcm
Available on crate features
_cracen or _cryptocell-312 only.impl Copy for AesGcm
Auto Trait Implementations§
impl Freeze for AesGcm
impl RefUnwindSafe for AesGcm
impl Send for AesGcm
impl Sync for AesGcm
impl Unpin for AesGcm
impl UnsafeUnpin for AesGcm
impl UnwindSafe for AesGcm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more