pub struct ByteSlicedAES32x128b { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Add<AESTowerField128b> for ByteSlicedAES32x128b
impl Add<AESTowerField128b> for ByteSlicedAES32x128b
source§type Output = ByteSlicedAES32x128b
type Output = ByteSlicedAES32x128b
The resulting type after applying the
+
operator.source§fn add(self, rhs: AESTowerField128b) -> ByteSlicedAES32x128b
fn add(self, rhs: AESTowerField128b) -> ByteSlicedAES32x128b
Performs the
+
operation. Read moresource§impl Add for ByteSlicedAES32x128b
impl Add for ByteSlicedAES32x128b
source§impl AddAssign<AESTowerField128b> for ByteSlicedAES32x128b
impl AddAssign<AESTowerField128b> for ByteSlicedAES32x128b
source§fn add_assign(&mut self, rhs: AESTowerField128b)
fn add_assign(&mut self, rhs: AESTowerField128b)
Performs the
+=
operation. Read moresource§impl AddAssign for ByteSlicedAES32x128b
impl AddAssign for ByteSlicedAES32x128b
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl Clone for ByteSlicedAES32x128b
impl Clone for ByteSlicedAES32x128b
source§fn clone(&self) -> ByteSlicedAES32x128b
fn clone(&self) -> ByteSlicedAES32x128b
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 ByteSlicedAES32x128b
impl Debug for ByteSlicedAES32x128b
source§impl Default for ByteSlicedAES32x128b
impl Default for ByteSlicedAES32x128b
source§fn default() -> ByteSlicedAES32x128b
fn default() -> ByteSlicedAES32x128b
Returns the “default value” for a type. Read more
source§impl Mul<AESTowerField128b> for ByteSlicedAES32x128b
impl Mul<AESTowerField128b> for ByteSlicedAES32x128b
source§type Output = ByteSlicedAES32x128b
type Output = ByteSlicedAES32x128b
The resulting type after applying the
*
operator.source§fn mul(self, rhs: AESTowerField128b) -> ByteSlicedAES32x128b
fn mul(self, rhs: AESTowerField128b) -> ByteSlicedAES32x128b
Performs the
*
operation. Read moresource§impl Mul for ByteSlicedAES32x128b
impl Mul for ByteSlicedAES32x128b
source§impl MulAssign<AESTowerField128b> for ByteSlicedAES32x128b
impl MulAssign<AESTowerField128b> for ByteSlicedAES32x128b
source§fn mul_assign(&mut self, rhs: AESTowerField128b)
fn mul_assign(&mut self, rhs: AESTowerField128b)
Performs the
*=
operation. Read moresource§impl MulAssign for ByteSlicedAES32x128b
impl MulAssign for ByteSlicedAES32x128b
source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moresource§impl PackedField for ByteSlicedAES32x128b
impl PackedField for ByteSlicedAES32x128b
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 = AESTowerField128b
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§fn spread(self, log_block_len: usize, block_idx: usize) -> Self
fn spread(self, log_block_len: usize, block_idx: usize) -> Self
Spread takes a block of elements within a packed field and repeats them to the full packing
width. Read more
source§unsafe fn spread_unchecked(self, log_block_len: usize, block_idx: usize) -> Self
unsafe fn spread_unchecked(self, log_block_len: usize, block_idx: usize) -> Self
Unsafe version of
Self::spread
. Read moresource§impl PartialEq for ByteSlicedAES32x128b
impl PartialEq for ByteSlicedAES32x128b
source§impl Product for ByteSlicedAES32x128b
impl Product for ByteSlicedAES32x128b
source§impl Sub<AESTowerField128b> for ByteSlicedAES32x128b
impl Sub<AESTowerField128b> for ByteSlicedAES32x128b
source§type Output = ByteSlicedAES32x128b
type Output = ByteSlicedAES32x128b
The resulting type after applying the
-
operator.source§fn sub(self, rhs: AESTowerField128b) -> ByteSlicedAES32x128b
fn sub(self, rhs: AESTowerField128b) -> ByteSlicedAES32x128b
Performs the
-
operation. Read moresource§impl Sub for ByteSlicedAES32x128b
impl Sub for ByteSlicedAES32x128b
source§impl SubAssign<AESTowerField128b> for ByteSlicedAES32x128b
impl SubAssign<AESTowerField128b> for ByteSlicedAES32x128b
source§fn sub_assign(&mut self, rhs: AESTowerField128b)
fn sub_assign(&mut self, rhs: AESTowerField128b)
Performs the
-=
operation. Read moresource§impl SubAssign for ByteSlicedAES32x128b
impl SubAssign for ByteSlicedAES32x128b
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moresource§impl Sum for ByteSlicedAES32x128b
impl Sum for ByteSlicedAES32x128b
impl Copy for ByteSlicedAES32x128b
impl Eq for ByteSlicedAES32x128b
impl StructuralPartialEq for ByteSlicedAES32x128b
Auto Trait Implementations§
impl Freeze for ByteSlicedAES32x128b
impl RefUnwindSafe for ByteSlicedAES32x128b
impl Send for ByteSlicedAES32x128b
impl Sync for ByteSlicedAES32x128b
impl Unpin for ByteSlicedAES32x128b
impl UnwindSafe for ByteSlicedAES32x128b
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
)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