pub struct SlicedGhashSqWide<W> { /* private fields */ }Expand description
The unreduced product of two GHASH² elements, as three separate GHASH products.
Holds the three Karatsuba GHASH widening products, deferring both the GHASH reductions and the
multiply-by-X. Since those are all GF(2)-linear, an inner product over GHASH² accumulates
these by XOR and reduces once at the end. Used both by the sliced packings and — where there is
no wider carry-less multiply to batch the diagonal into — by the interleaved width-one packing.
Trait Implementations§
Source§impl<W: Add<Output = W>> Add for SlicedGhashSqWide<W>
impl<W: Add<Output = W>> Add for SlicedGhashSqWide<W>
Source§impl<W: AddAssign> AddAssign for SlicedGhashSqWide<W>
impl<W: AddAssign> AddAssign for SlicedGhashSqWide<W>
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<W: Clone> Clone for SlicedGhashSqWide<W>
impl<W: Clone> Clone for SlicedGhashSqWide<W>
Source§fn clone(&self) -> SlicedGhashSqWide<W>
fn clone(&self) -> SlicedGhashSqWide<W>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<W: Debug> Debug for SlicedGhashSqWide<W>
impl<W: Debug> Debug for SlicedGhashSqWide<W>
Source§impl<W: Default> Default for SlicedGhashSqWide<W>
impl<W: Default> Default for SlicedGhashSqWide<W>
Source§fn default() -> SlicedGhashSqWide<W>
fn default() -> SlicedGhashSqWide<W>
Returns the “default value” for a type. Read more
Source§impl<W: Sub<Output = W>> Sub for SlicedGhashSqWide<W>
impl<W: Sub<Output = W>> Sub for SlicedGhashSqWide<W>
Source§impl<W: SubAssign> SubAssign for SlicedGhashSqWide<W>
impl<W: SubAssign> SubAssign for SlicedGhashSqWide<W>
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl<W: Copy> Copy for SlicedGhashSqWide<W>
Auto Trait Implementations§
impl<W> Freeze for SlicedGhashSqWide<W>where
W: Freeze,
impl<W> RefUnwindSafe for SlicedGhashSqWide<W>where
W: RefUnwindSafe,
impl<W> Send for SlicedGhashSqWide<W>where
W: Send,
impl<W> Sync for SlicedGhashSqWide<W>where
W: Sync,
impl<W> Unpin for SlicedGhashSqWide<W>where
W: Unpin,
impl<W> UnsafeUnpin for SlicedGhashSqWide<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for SlicedGhashSqWide<W>where
W: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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