pub struct ByteSlicedAES32x8b { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Add<AESTowerField8b> for ByteSlicedAES32x8b
impl Add<AESTowerField8b> for ByteSlicedAES32x8b
source§type Output = ByteSlicedAES32x8b
type Output = ByteSlicedAES32x8b
The resulting type after applying the
+
operator.source§fn add(self, rhs: AESTowerField8b) -> ByteSlicedAES32x8b
fn add(self, rhs: AESTowerField8b) -> ByteSlicedAES32x8b
Performs the
+
operation. Read moresource§impl Add for ByteSlicedAES32x8b
impl Add for ByteSlicedAES32x8b
source§impl AddAssign<AESTowerField8b> for ByteSlicedAES32x8b
impl AddAssign<AESTowerField8b> for ByteSlicedAES32x8b
source§fn add_assign(&mut self, rhs: AESTowerField8b)
fn add_assign(&mut self, rhs: AESTowerField8b)
Performs the
+=
operation. Read moresource§impl AddAssign for ByteSlicedAES32x8b
impl AddAssign for ByteSlicedAES32x8b
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl Clone for ByteSlicedAES32x8b
impl Clone for ByteSlicedAES32x8b
source§fn clone(&self) -> ByteSlicedAES32x8b
fn clone(&self) -> ByteSlicedAES32x8b
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 ByteSlicedAES32x8b
impl Debug for ByteSlicedAES32x8b
source§impl Default for ByteSlicedAES32x8b
impl Default for ByteSlicedAES32x8b
source§fn default() -> ByteSlicedAES32x8b
fn default() -> ByteSlicedAES32x8b
Returns the “default value” for a type. Read more
source§impl Mul<AESTowerField8b> for ByteSlicedAES32x8b
impl Mul<AESTowerField8b> for ByteSlicedAES32x8b
source§type Output = ByteSlicedAES32x8b
type Output = ByteSlicedAES32x8b
The resulting type after applying the
*
operator.source§fn mul(self, rhs: AESTowerField8b) -> ByteSlicedAES32x8b
fn mul(self, rhs: AESTowerField8b) -> ByteSlicedAES32x8b
Performs the
*
operation. Read moresource§impl Mul for ByteSlicedAES32x8b
impl Mul for ByteSlicedAES32x8b
source§impl MulAssign<AESTowerField8b> for ByteSlicedAES32x8b
impl MulAssign<AESTowerField8b> for ByteSlicedAES32x8b
source§fn mul_assign(&mut self, rhs: AESTowerField8b)
fn mul_assign(&mut self, rhs: AESTowerField8b)
Performs the
*=
operation. Read moresource§impl MulAssign for ByteSlicedAES32x8b
impl MulAssign for ByteSlicedAES32x8b
source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moresource§impl PackedField for ByteSlicedAES32x8b
impl PackedField for ByteSlicedAES32x8b
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 = AESTowerField8b
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 ByteSlicedAES32x8b
impl PartialEq for ByteSlicedAES32x8b
source§impl Product for ByteSlicedAES32x8b
impl Product for ByteSlicedAES32x8b
source§impl Sub<AESTowerField8b> for ByteSlicedAES32x8b
impl Sub<AESTowerField8b> for ByteSlicedAES32x8b
source§type Output = ByteSlicedAES32x8b
type Output = ByteSlicedAES32x8b
The resulting type after applying the
-
operator.source§fn sub(self, rhs: AESTowerField8b) -> ByteSlicedAES32x8b
fn sub(self, rhs: AESTowerField8b) -> ByteSlicedAES32x8b
Performs the
-
operation. Read moresource§impl Sub for ByteSlicedAES32x8b
impl Sub for ByteSlicedAES32x8b
source§impl SubAssign<AESTowerField8b> for ByteSlicedAES32x8b
impl SubAssign<AESTowerField8b> for ByteSlicedAES32x8b
source§fn sub_assign(&mut self, rhs: AESTowerField8b)
fn sub_assign(&mut self, rhs: AESTowerField8b)
Performs the
-=
operation. Read moresource§impl SubAssign for ByteSlicedAES32x8b
impl SubAssign for ByteSlicedAES32x8b
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moresource§impl Sum for ByteSlicedAES32x8b
impl Sum for ByteSlicedAES32x8b
impl Copy for ByteSlicedAES32x8b
impl Eq for ByteSlicedAES32x8b
impl StructuralPartialEq for ByteSlicedAES32x8b
Auto Trait Implementations§
impl Freeze for ByteSlicedAES32x8b
impl RefUnwindSafe for ByteSlicedAES32x8b
impl Send for ByteSlicedAES32x8b
impl Sync for ByteSlicedAES32x8b
impl Unpin for ByteSlicedAES32x8b
impl UnwindSafe for ByteSlicedAES32x8b
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