pub struct Sha160Rotor<'a, 'b, 'c, 'd, 'e, 'f>(pub &'a NBitWord<u32>, pub &'b mut NBitWord<u32>, pub &'c NBitWord<u32>, pub &'d NBitWord<u32>, pub &'e mut NBitWord<u32>, pub &'f NBitWord<u32>);

Tuple Fields§

§0: &'a NBitWord<u32>§1: &'b mut NBitWord<u32>§2: &'c NBitWord<u32>§3: &'d NBitWord<u32>§4: &'e mut NBitWord<u32>§5: &'f NBitWord<u32>

Implementations§

source§

impl Sha160Rotor<'_, '_, '_, '_, '_, '_>

source

pub const T_00_19: u32 = 1_518_500_249u32

source

pub const T_20_39: u32 = 1_859_775_393u32

source

pub const T_40_59: u32 = 2_400_959_708u32

source

pub const T_60_79: u32 = 3_395_469_782u32

source§

impl Sha160Rotor<'_, '_, '_, '_, '_, '_>

source

pub fn rounds_00_19(&mut self)

source

pub fn rounds_20_39(&mut self)

source

pub fn rounds_40_59(&mut self)

source

pub fn rounds_60_79(&mut self)

Auto Trait Implementations§

§

impl<'a, 'b, 'c, 'd, 'e, 'f> RefUnwindSafe for Sha160Rotor<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> Send for Sha160Rotor<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> Sync for Sha160Rotor<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> Unpin for Sha160Rotor<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> !UnwindSafe for Sha160Rotor<'a, 'b, 'c, 'd, 'e, 'f>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.