pub struct Aes256Ctr(/* private fields */);Expand description
AES-CTR-256 Cipher implementation.
Trait Implementations§
Source§impl StreamCipher for Aes256Ctr
impl StreamCipher for Aes256Ctr
Source§fn new(key: &Self::Key, nonce: &Self::Nonce) -> Self
fn new(key: &Self::Key, nonce: &Self::Nonce) -> Self
Creates a new AES-256-CTR cipher instance from key material.
Source§fn apply_keystream(&mut self, buffer: &mut [u8]) -> Result<(), CipherError>
fn apply_keystream(&mut self, buffer: &mut [u8]) -> Result<(), CipherError>
Applies the keystream in-place, advancing the counter state appropriately.
Auto Trait Implementations§
impl Freeze for Aes256Ctr
impl RefUnwindSafe for Aes256Ctr
impl !Send for Aes256Ctr
impl !Sync for Aes256Ctr
impl Unpin for Aes256Ctr
impl UnsafeUnpin for Aes256Ctr
impl UnwindSafe for Aes256Ctr
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