pub struct Simon128_128 { /* private fields */ }Implementations§
Source§impl Simon128_128
impl Simon128_128
Sourcepub fn new(key: &[u8; 16]) -> Self
pub fn new(key: &[u8; 16]) -> Self
Expand the paper-defined master key into this variant’s round keys.
Sourcepub fn new_wiping(key: &mut [u8; 16]) -> Self
pub fn new_wiping(key: &mut [u8; 16]) -> Self
Expand the key and then wipe the caller-owned key buffer.
Trait Implementations§
Source§impl BlockCipher for Simon128_128
impl BlockCipher for Simon128_128
Auto Trait Implementations§
impl Freeze for Simon128_128
impl RefUnwindSafe for Simon128_128
impl Send for Simon128_128
impl Sync for Simon128_128
impl Unpin for Simon128_128
impl UnsafeUnpin for Simon128_128
impl UnwindSafe for Simon128_128
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