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