pub struct Serpent128 { /* private fields */ }Expand description
Serpent with a 128-bit key (public byte order matches the original submission vectors).
Implementations§
Source§impl Serpent128
impl Serpent128
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 Serpent128
impl BlockCipher for Serpent128
Auto Trait Implementations§
impl Freeze for Serpent128
impl RefUnwindSafe for Serpent128
impl Send for Serpent128
impl Sync for Serpent128
impl Unpin for Serpent128
impl UnsafeUnpin for Serpent128
impl UnwindSafe for Serpent128
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