pub struct AesNiEncryptor { /* private fields */ }
Implementations§
Source§impl AesNiEncryptor
impl AesNiEncryptor
pub fn new(key_size: KeySize, key: &[u8]) -> AesNiEncryptor
Trait Implementations§
Source§impl BlockEncryptor for AesNiEncryptor
impl BlockEncryptor for AesNiEncryptor
fn block_size(&self) -> usize
fn encrypt_block(&self, input: &[u8], output: &mut [u8])
Source§impl Clone for AesNiEncryptor
impl Clone for AesNiEncryptor
Source§fn clone(&self) -> AesNiEncryptor
fn clone(&self) -> AesNiEncryptor
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for AesNiEncryptor
Auto Trait Implementations§
impl Freeze for AesNiEncryptor
impl RefUnwindSafe for AesNiEncryptor
impl Send for AesNiEncryptor
impl Sync for AesNiEncryptor
impl Unpin for AesNiEncryptor
impl UnwindSafe for AesNiEncryptor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)