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