pub struct Aes128Block { /* private fields */ }Expand description
A raw AES-128 block cipher.
Use this when the same key encrypts many single blocks, such as QUIC header protection (RFC 9001 §5.4.3), where the per-packet cost would otherwise be dominated by the schedule.
Implementations§
Trait Implementations§
Source§impl Drop for Aes128Block
impl Drop for Aes128Block
Auto Trait Implementations§
impl Freeze for Aes128Block
impl RefUnwindSafe for Aes128Block
impl Send for Aes128Block
impl Sync for Aes128Block
impl Unpin for Aes128Block
impl UnsafeUnpin for Aes128Block
impl UnwindSafe for Aes128Block
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