pub struct Context {
pub round_keys: [[u8; 11]; 16],
}
Fields
round_keys: [[u8; 11]; 16]
Implementations
sourceimpl Context
impl Context
pub fn new(key: &[u8], is_encryptor: bool) -> Result<Self>
pub fn encrypt_block(&self, src: &[u8], dst: &mut [u8])
pub fn decrypt_block(&self, src: &[u8], dst: &mut [u8])
Auto Trait Implementations
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more