Skip to main content

PackedGhashSq1x256b

Type Alias PackedGhashSq1x256b 

Source
pub type PackedGhashSq1x256b = PackedPrimitiveType<M256, GhashSq256b>;

Aliased Type§

#[repr(transparent)]
pub struct PackedGhashSq1x256b(pub ScaledUnderlier<M128, 2>, pub PhantomData<GhashSq256b>);

Tuple Fields§

§0: ScaledUnderlier<M128, 2>§1: PhantomData<GhashSq256b>

Trait Implementations§

Source§

impl InvertOrZero for PackedGhashSq1x256b

Source§

fn invert_or_zero(self) -> Self

Returns the inverted value or zero in case when self is zero
Source§

unsafe fn invert(self) -> Self
where Self: Sized,

Returns the multiplicative inverse. Read more
Source§

impl Mul for PackedGhashSq1x256b

Source§

type Output = PackedPrimitiveType<ScaledUnderlier<M128, 2>, GhashSq256b>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self

Performs the * operation. Read more
Source§

impl Square for PackedGhashSq1x256b

Source§

fn square(self) -> Self

Returns the value multiplied by itself
Source§

impl WideMul for PackedGhashSq1x256b

Source§

type Output = <GhashSqSlicedWideMul<PackedPrimitiveType<ScaledUnderlier<M128, 2>, GhashSq256b>> as WideMul>::Output

Source§

fn wide_mul(a: Self, b: Self) -> Self::Output

Source§

fn reduce(wide: Self::Output) -> Self