pub struct ByteSlicedAES32x16b { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Add<AESTowerField16b> for ByteSlicedAES32x16b
impl Add<AESTowerField16b> for ByteSlicedAES32x16b
source§type Output = ByteSlicedAES32x16b
type Output = ByteSlicedAES32x16b
The resulting type after applying the
+
operator.source§fn add(self, rhs: AESTowerField16b) -> ByteSlicedAES32x16b
fn add(self, rhs: AESTowerField16b) -> ByteSlicedAES32x16b
Performs the
+
operation. Read moresource§impl Add for ByteSlicedAES32x16b
impl Add for ByteSlicedAES32x16b
source§impl AddAssign<AESTowerField16b> for ByteSlicedAES32x16b
impl AddAssign<AESTowerField16b> for ByteSlicedAES32x16b
source§fn add_assign(&mut self, rhs: AESTowerField16b)
fn add_assign(&mut self, rhs: AESTowerField16b)
Performs the
+=
operation. Read moresource§impl AddAssign for ByteSlicedAES32x16b
impl AddAssign for ByteSlicedAES32x16b
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl Clone for ByteSlicedAES32x16b
impl Clone for ByteSlicedAES32x16b
source§fn clone(&self) -> ByteSlicedAES32x16b
fn clone(&self) -> ByteSlicedAES32x16b
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ByteSlicedAES32x16b
impl Debug for ByteSlicedAES32x16b
source§impl Default for ByteSlicedAES32x16b
impl Default for ByteSlicedAES32x16b
source§fn default() -> ByteSlicedAES32x16b
fn default() -> ByteSlicedAES32x16b
Returns the “default value” for a type. Read more
source§impl Mul<AESTowerField16b> for ByteSlicedAES32x16b
impl Mul<AESTowerField16b> for ByteSlicedAES32x16b
source§type Output = ByteSlicedAES32x16b
type Output = ByteSlicedAES32x16b
The resulting type after applying the
*
operator.source§fn mul(self, rhs: AESTowerField16b) -> ByteSlicedAES32x16b
fn mul(self, rhs: AESTowerField16b) -> ByteSlicedAES32x16b
Performs the
*
operation. Read moresource§impl Mul for ByteSlicedAES32x16b
impl Mul for ByteSlicedAES32x16b
source§impl MulAssign<AESTowerField16b> for ByteSlicedAES32x16b
impl MulAssign<AESTowerField16b> for ByteSlicedAES32x16b
source§fn mul_assign(&mut self, rhs: AESTowerField16b)
fn mul_assign(&mut self, rhs: AESTowerField16b)
Performs the
*=
operation. Read moresource§impl MulAssign for ByteSlicedAES32x16b
impl MulAssign for ByteSlicedAES32x16b
source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moresource§impl PackedField for ByteSlicedAES32x16b
impl PackedField for ByteSlicedAES32x16b
source§const LOG_WIDTH: usize = 5usize
const LOG_WIDTH: usize = 5usize
Base-2 logarithm of the number of field elements packed into one packed element.
type Scalar = AESTowerField16b
source§unsafe fn get_unchecked(&self, i: usize) -> Self::Scalar
unsafe fn get_unchecked(&self, i: usize) -> Self::Scalar
Get the scalar at a given index without bounds checking. Read more
source§unsafe fn set_unchecked(&mut self, i: usize, scalar: Self::Scalar)
unsafe fn set_unchecked(&mut self, i: usize, scalar: Self::Scalar)
Set the scalar at a given index without bounds checking. Read more
fn random(rng: impl RngCore) -> Self
fn broadcast(scalar: Self::Scalar) -> Self
source§fn from_fn(f: impl FnMut(usize) -> Self::Scalar) -> Self
fn from_fn(f: impl FnMut(usize) -> Self::Scalar) -> Self
Construct a packed field element from a function that returns scalar values by index.
source§fn invert_or_zero(self) -> Self
fn invert_or_zero(self) -> Self
Returns the packed inverse values or zeroes at indices where
self
is zero.source§fn interleave(self, other: Self, log_block_len: usize) -> (Self, Self)
fn interleave(self, other: Self, log_block_len: usize) -> (Self, Self)
Interleaves blocks of this packed vector with another packed vector. Read more
source§fn get_checked(&self, i: usize) -> Result<Self::Scalar, Error>
fn get_checked(&self, i: usize) -> Result<Self::Scalar, Error>
Get the scalar at a given index.
source§fn set_checked(&mut self, i: usize, scalar: Self::Scalar) -> Result<(), Error>
fn set_checked(&mut self, i: usize, scalar: Self::Scalar) -> Result<(), Error>
Set the scalar at a given index.
fn into_iter(self) -> impl Iterator<Item = Self::Scalar>
fn iter(&self) -> impl Iterator<Item = Self::Scalar> + Send
fn zero() -> Self
fn one() -> Self
source§fn set_single(scalar: Self::Scalar) -> Self
fn set_single(scalar: Self::Scalar) -> Self
Initialize zero position with
scalar
, set other elements to zero.source§fn from_scalars(values: impl IntoIterator<Item = Self::Scalar>) -> Self
fn from_scalars(values: impl IntoIterator<Item = Self::Scalar>) -> Self
Construct a packed field element from a sequence of scalars. Read more
source§impl PartialEq for ByteSlicedAES32x16b
impl PartialEq for ByteSlicedAES32x16b
source§impl Product for ByteSlicedAES32x16b
impl Product for ByteSlicedAES32x16b
source§impl Sub<AESTowerField16b> for ByteSlicedAES32x16b
impl Sub<AESTowerField16b> for ByteSlicedAES32x16b
source§type Output = ByteSlicedAES32x16b
type Output = ByteSlicedAES32x16b
The resulting type after applying the
-
operator.source§fn sub(self, rhs: AESTowerField16b) -> ByteSlicedAES32x16b
fn sub(self, rhs: AESTowerField16b) -> ByteSlicedAES32x16b
Performs the
-
operation. Read moresource§impl Sub for ByteSlicedAES32x16b
impl Sub for ByteSlicedAES32x16b
source§impl SubAssign<AESTowerField16b> for ByteSlicedAES32x16b
impl SubAssign<AESTowerField16b> for ByteSlicedAES32x16b
source§fn sub_assign(&mut self, rhs: AESTowerField16b)
fn sub_assign(&mut self, rhs: AESTowerField16b)
Performs the
-=
operation. Read moresource§impl SubAssign for ByteSlicedAES32x16b
impl SubAssign for ByteSlicedAES32x16b
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moresource§impl Sum for ByteSlicedAES32x16b
impl Sum for ByteSlicedAES32x16b
impl Copy for ByteSlicedAES32x16b
impl Eq for ByteSlicedAES32x16b
impl StructuralPartialEq for ByteSlicedAES32x16b
Auto Trait Implementations§
impl Freeze for ByteSlicedAES32x16b
impl RefUnwindSafe for ByteSlicedAES32x16b
impl Send for ByteSlicedAES32x16b
impl Sync for ByteSlicedAES32x16b
impl Unpin for ByteSlicedAES32x16b
impl UnwindSafe for ByteSlicedAES32x16b
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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