pub struct Blake2sCompress2x;Expand description
The two-lane compression above, in a form a circuit can register as a chip.
Its interface is the flat 27 input words: the 8-word state, the 16-word message block, the counter’s low half, the counter’s high half, and the finalization flag.
The 8 output words pack two lanes the same way the inputs do.
Trait Implementations§
Source§impl ChipGadget for Blake2sCompress2x
impl ChipGadget for Blake2sCompress2x
Source§impl Hint for Blake2sCompress2x
impl Hint for Blake2sCompress2x
Auto Trait Implementations§
impl Freeze for Blake2sCompress2x
impl RefUnwindSafe for Blake2sCompress2x
impl Send for Blake2sCompress2x
impl Sync for Blake2sCompress2x
impl Unpin for Blake2sCompress2x
impl UnsafeUnpin for Blake2sCompress2x
impl UnwindSafe for Blake2sCompress2x
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more