pub struct Aes256Gcm { /* private fields */ }Expand description
AES-256-GCM authenticated cipher (pure-Rust implementation).
On x86-64 machines with AES-NI + PCLMULQDQ the methods automatically
dispatch to the hardware-accelerated path (see aes256_amd64).
Implementations§
Source§impl Aes256Gcm
impl Aes256Gcm
pub const KEY_SIZE: usize = 32
pub const TAG_SIZE: usize = 16
pub const NONCE_SIZE: usize = 12
Auto Trait Implementations§
impl Freeze for Aes256Gcm
impl RefUnwindSafe for Aes256Gcm
impl Send for Aes256Gcm
impl Sync for Aes256Gcm
impl Unpin for Aes256Gcm
impl UnsafeUnpin for Aes256Gcm
impl UnwindSafe for Aes256Gcm
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