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