Fields
f: [u8; 16]
Implementations
sourceimpl AES
impl AES
pub fn new() -> AES
pub fn reset(&mut self, m: usize, iv: Option<[u8; 16]>)
pub fn init(
&mut self,
m: usize,
nkey: usize,
key: &[u8],
iv: Option<[u8; 16]>
) -> bool
pub fn getreg(&mut self) -> [u8; 16]
pub fn ecb_encrypt(&mut self, buff: &mut [u8; 16])
pub fn ecb_decrypt(&mut self, buff: &mut [u8; 16])
pub fn encrypt(&mut self, buff: &mut [u8; 16]) -> u32
pub fn decrypt(&mut self, buff: &mut [u8; 16]) -> u32
pub fn end(&mut self)
Auto Trait Implementations
impl RefUnwindSafe for AES
impl Send for AES
impl Sync for AES
impl Unpin for AES
impl UnwindSafe for AES
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more