pub struct Sha512Compress;Expand description
compress as a gadget, so that a circuit can make it a chip.
Its interface is the flat 24 input words state[0..8], m[0..16], and the 8 output state
words. Every word is a full 64-bit SHA-512 word; there is no lane packing.
Trait Implementations§
Source§impl ChipGadget for Sha512Compress
impl ChipGadget for Sha512Compress
Source§impl Hint for Sha512Compress
impl Hint for Sha512Compress
Auto Trait Implementations§
impl Freeze for Sha512Compress
impl RefUnwindSafe for Sha512Compress
impl Send for Sha512Compress
impl Sync for Sha512Compress
impl Unpin for Sha512Compress
impl UnsafeUnpin for Sha512Compress
impl UnwindSafe for Sha512Compress
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