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