pub struct Xof { /* private fields */ }Expand description
Extendable Output Function (XOF) context wrapping SHAKE-128.
Provides an incremental absorb/squeeze interface for generating
arbitrary-length pseudo-random output. Used by
super::sample::sample_ntt to sample the public matrix A.
Implementations§
Auto Trait Implementations§
impl Freeze for Xof
impl RefUnwindSafe for Xof
impl Send for Xof
impl Sync for Xof
impl Unpin for Xof
impl UnsafeUnpin for Xof
impl UnwindSafe for Xof
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