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