pub struct Rijndael8b(/* private fields */);Implementations§
Trait Implementations§
Source§impl Add for Rijndael8b
impl Add for Rijndael8b
Source§impl Add<&Rijndael8b> for Rijndael8b
impl Add<&Rijndael8b> for Rijndael8b
Source§impl Add<BinaryField1b> for Rijndael8b
impl Add<BinaryField1b> for Rijndael8b
Source§type Output = Rijndael8b
type Output = Rijndael8b
The resulting type after applying the
+ operator.Source§impl Add<Rijndael8b> for BinaryField1b
impl Add<Rijndael8b> for BinaryField1b
Source§type Output = Rijndael8b
type Output = Rijndael8b
The resulting type after applying the
+ operator.Source§impl AddAssign for Rijndael8b
impl AddAssign for Rijndael8b
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl AddAssign<&Rijndael8b> for Rijndael8b
impl AddAssign<&Rijndael8b> for Rijndael8b
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
Performs the
+= operation. Read moreSource§impl AddAssign<BinaryField1b> for Rijndael8b
impl AddAssign<BinaryField1b> for Rijndael8b
Source§fn add_assign(&mut self, rhs: BinaryField1b)
fn add_assign(&mut self, rhs: BinaryField1b)
Performs the
+= operation. Read moreSource§impl BinaryField for Rijndael8b
impl BinaryField for Rijndael8b
Source§impl Clone for Rijndael8b
impl Clone for Rijndael8b
Source§fn clone(&self) -> Rijndael8b
fn clone(&self) -> Rijndael8b
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Rijndael8b
Source§impl Debug for Rijndael8b
impl Debug for Rijndael8b
Source§impl Default for Rijndael8b
impl Default for Rijndael8b
Source§fn default() -> Rijndael8b
fn default() -> Rijndael8b
Returns the “default value” for a type. Read more
Source§impl DeserializeBytes for Rijndael8b
impl DeserializeBytes for Rijndael8b
fn deserialize(read_buf: impl Buf) -> Result<Self, SerializationError>
Source§impl Display for Rijndael8b
impl Display for Rijndael8b
Source§impl Distribution<Rijndael8b> for StandardUniform
impl Distribution<Rijndael8b> for StandardUniform
Source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Rijndael8b
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> Rijndael8b
Generate a random value of
T, using rng as the source of randomness.§fn sample_iter<R>(self, rng: R) -> Iter<Self, R, T>where
R: Rng,
Self: Sized,
fn sample_iter<R>(self, rng: R) -> Iter<Self, R, T>where
R: Rng,
Self: Sized,
Create an iterator that generates random values of
T, using rng as
the source of randomness. Read moreSource§impl Divisible<Rijndael8b> for Rijndael8b
impl Divisible<Rijndael8b> for Rijndael8b
Source§fn value_iter(
value: Self,
) -> impl ExactSizeIterator<Item = Rijndael8b> + Send + Clone
fn value_iter( value: Self, ) -> impl ExactSizeIterator<Item = Rijndael8b> + Send + Clone
Returns an iterator over subdivisions of this underlier value, ordered from LSB to MSB.
Source§fn ref_iter(
value: &Self,
) -> impl ExactSizeIterator<Item = Rijndael8b> + Send + Clone + '_
fn ref_iter( value: &Self, ) -> impl ExactSizeIterator<Item = Rijndael8b> + Send + Clone + '_
Returns an iterator over subdivisions of this underlier reference, ordered from LSB to MSB.
Source§fn slice_iter(
slice: &[Self],
) -> impl ExactSizeIterator<Item = Rijndael8b> + Send + Clone + '_
fn slice_iter( slice: &[Self], ) -> impl ExactSizeIterator<Item = Rijndael8b> + Send + Clone + '_
Returns an iterator over subdivisions of a slice of underliers, ordered from LSB to MSB.
Source§unsafe fn get_unchecked(&self, _index: usize) -> Rijndael8b
unsafe fn get_unchecked(&self, _index: usize) -> Rijndael8b
Get element at index (LSB-first ordering) without bounds checking. Read more
Source§unsafe fn set_unchecked(&mut self, _index: usize, val: Rijndael8b)
unsafe fn set_unchecked(&mut self, _index: usize, val: Rijndael8b)
Set element at index (LSB-first ordering) in place, without bounds checking. Read more
Source§fn broadcast(val: Rijndael8b) -> Self
fn broadcast(val: Rijndael8b) -> Self
Create a value with
val broadcast to all N positions.impl Eq for Rijndael8b
Source§impl ExtensionField<BinaryField1b> for Rijndael8b
impl ExtensionField<BinaryField1b> for Rijndael8b
Source§const LOG_DEGREE: usize = 3
const LOG_DEGREE: usize = 3
Base-2 logarithm of the extension degree.
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = BinaryField1b>,
log_stride: usize,
) -> Self
fn from_bases_sparse( base_elems: impl IntoIterator<Item = BinaryField1b>, log_stride: usize, ) -> Self
A specialized version of
from_bases which assumes that only base field
elements with indices dividing 2^log_stride can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = BinaryField1b>
fn iter_bases(&self) -> impl Iterator<Item = BinaryField1b>
Iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField1b
unsafe fn get_base_unchecked(&self, i: usize) -> BinaryField1b
Returns the i-th base field element without bounds checking. Read more
Source§fn square_transpose(values: &mut [Self])
fn square_transpose(values: &mut [Self])
Transpose square block of subfield elements within
values in place. Read moreSource§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Self
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Self
Create an extension field element from a slice of base field elements in order
consistent with
basis(i) return values.
Potentially faster than taking an inner product with a vector of basis elements. Read moreSource§impl Field for Rijndael8b
impl Field for Rijndael8b
Source§const CHARACTERISTIC: usize = 2
const CHARACTERISTIC: usize = 2
Source§const ORDER_EXPONENT: usize = <u8 as crate::underlier::Underlier>::BITS
const ORDER_EXPONENT: usize = <u8 as crate::underlier::Underlier>::BITS
The exponent
k such that the field order equals CHARACTERISTIC^k.Source§const MULTIPLICATIVE_GENERATOR: Rijndael8b
const MULTIPLICATIVE_GENERATOR: Rijndael8b
Fixed generator of the multiplicative group.
Source§impl FixedSizeSerializeBytes for Rijndael8b
impl FixedSizeSerializeBytes for Rijndael8b
Source§impl From<BinaryField1b> for Rijndael8b
impl From<BinaryField1b> for Rijndael8b
Source§fn from(elem: BinaryField1b) -> Self
fn from(elem: BinaryField1b) -> Self
Converts to this type from the input type.
Source§impl From<Rijndael8b> for Ghash128b
impl From<Rijndael8b> for Ghash128b
Source§fn from(value: Rijndael8b) -> Self
fn from(value: Rijndael8b) -> Self
Converts to this type from the input type.
Source§impl From<Rijndael8b> for u8
impl From<Rijndael8b> for u8
Source§fn from(val: Rijndael8b) -> Self
fn from(val: Rijndael8b) -> Self
Converts to this type from the input type.
Source§impl From<u8> for Rijndael8b
impl From<u8> for Rijndael8b
Source§impl Hash for Rijndael8b
impl Hash for Rijndael8b
Source§impl InvertOrZero for Rijndael8b
impl InvertOrZero for Rijndael8b
Source§impl Maskable<Rijndael8b> for Rijndael8b
impl Maskable<Rijndael8b> for Rijndael8b
Source§impl Mul for Rijndael8b
impl Mul for Rijndael8b
Source§impl Mul<&Rijndael8b> for Rijndael8b
impl Mul<&Rijndael8b> for Rijndael8b
Source§impl Mul<BinaryField1b> for Rijndael8b
impl Mul<BinaryField1b> for Rijndael8b
Source§type Output = Rijndael8b
type Output = Rijndael8b
The resulting type after applying the
* operator.Source§impl Mul<Rijndael8b> for BinaryField1b
impl Mul<Rijndael8b> for BinaryField1b
Source§type Output = Rijndael8b
type Output = Rijndael8b
The resulting type after applying the
* operator.Source§impl MulAssign for Rijndael8b
impl MulAssign for Rijndael8b
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*= operation. Read moreSource§impl MulAssign<&Rijndael8b> for Rijndael8b
impl MulAssign<&Rijndael8b> for Rijndael8b
Source§fn mul_assign(&mut self, rhs: &Self)
fn mul_assign(&mut self, rhs: &Self)
Performs the
*= operation. Read moreSource§impl MulAssign<BinaryField1b> for Rijndael8b
impl MulAssign<BinaryField1b> for Rijndael8b
Source§fn mul_assign(&mut self, rhs: BinaryField1b)
fn mul_assign(&mut self, rhs: BinaryField1b)
Performs the
*= operation. Read moreSource§impl Neg for Rijndael8b
impl Neg for Rijndael8b
Source§impl Ord for Rijndael8b
impl Ord for Rijndael8b
Source§fn cmp(&self, other: &Rijndael8b) -> Ordering
fn cmp(&self, other: &Rijndael8b) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PackedField for Rijndael8b
impl PackedField for Rijndael8b
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 unzip(self, _other: Self, _log_block_len: usize) -> (Self, Self)
fn unzip(self, _other: Self, _log_block_len: usize) -> (Self, Self)
Unzips interleaved blocks of this packed vector with another packed vector. Read more
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§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§const LOG_WIDTH: usize = Self::LOG_N
const LOG_WIDTH: usize = Self::LOG_N
Base-2 logarithm of the number of field elements packed into one packed element. Read more
Source§fn into_iter(self) -> impl ExactSizeIterator<Item = Self::Scalar> + Send + Clone
fn into_iter(self) -> impl ExactSizeIterator<Item = Self::Scalar> + Send + Clone
Yields one scalar per lane, from the lowest lane to the highest.
Source§fn iter(
&self,
) -> impl ExactSizeIterator<Item = Self::Scalar> + Send + Clone + '_
fn iter( &self, ) -> impl ExactSizeIterator<Item = Self::Scalar> + Send + Clone + '_
Yields one scalar per lane, from the lowest lane to the highest.
Source§fn iter_slice(
slice: &[Self],
) -> impl ExactSizeIterator<Item = Self::Scalar> + Send + Clone + '_
fn iter_slice( slice: &[Self], ) -> impl ExactSizeIterator<Item = Self::Scalar> + Send + Clone + '_
Yields every scalar of the whole slice: element by element, each element’s lanes in order.
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 Rijndael8b
impl PartialEq for Rijndael8b
Source§fn eq(&self, other: &Rijndael8b) -> bool
fn eq(&self, other: &Rijndael8b) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Rijndael8b
impl PartialOrd for Rijndael8b
impl Pod for Rijndael8b
Source§impl Product for Rijndael8b
impl Product for Rijndael8b
Source§impl<'a> Product<&'a Rijndael8b> for Rijndael8b
impl<'a> Product<&'a Rijndael8b> for Rijndael8b
Source§impl SerializeBytes for Rijndael8b
impl SerializeBytes for Rijndael8b
Source§impl Square for Rijndael8b
impl Square for Rijndael8b
impl StructuralPartialEq for Rijndael8b
Source§impl Sub for Rijndael8b
impl Sub for Rijndael8b
Source§impl Sub<&Rijndael8b> for Rijndael8b
impl Sub<&Rijndael8b> for Rijndael8b
Source§impl Sub<BinaryField1b> for Rijndael8b
impl Sub<BinaryField1b> for Rijndael8b
Source§type Output = Rijndael8b
type Output = Rijndael8b
The resulting type after applying the
- operator.Source§impl Sub<Rijndael8b> for BinaryField1b
impl Sub<Rijndael8b> for BinaryField1b
Source§type Output = Rijndael8b
type Output = Rijndael8b
The resulting type after applying the
- operator.Source§impl SubAssign for Rijndael8b
impl SubAssign for Rijndael8b
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreSource§impl SubAssign<&Rijndael8b> for Rijndael8b
impl SubAssign<&Rijndael8b> for Rijndael8b
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
Performs the
-= operation. Read moreSource§impl SubAssign<BinaryField1b> for Rijndael8b
impl SubAssign<BinaryField1b> for Rijndael8b
Source§fn sub_assign(&mut self, rhs: BinaryField1b)
fn sub_assign(&mut self, rhs: BinaryField1b)
Performs the
-= operation. Read moreSource§impl Sum for Rijndael8b
impl Sum for Rijndael8b
Source§impl<'a> Sum<&'a Rijndael8b> for Rijndael8b
impl<'a> Sum<&'a Rijndael8b> for Rijndael8b
Source§impl TransparentWrapper<u8> for Rijndael8b
impl TransparentWrapper<u8> for Rijndael8b
§fn wrap_ref(s: &Inner) -> &Self
fn wrap_ref(s: &Inner) -> &Self
Convert a reference to the inner type into a reference to the wrapper
type.
§fn wrap_mut(s: &mut Inner) -> &mut Self
fn wrap_mut(s: &mut Inner) -> &mut Self
Convert a mutable reference to the inner type into a mutable reference to
the wrapper type.
§fn wrap_slice(s: &[Inner]) -> &[Self]
fn wrap_slice(s: &[Inner]) -> &[Self]
Convert a slice to the inner type into a slice to the wrapper type.
§fn wrap_slice_mut(s: &mut [Inner]) -> &mut [Self]
fn wrap_slice_mut(s: &mut [Inner]) -> &mut [Self]
Convert a mutable slice to the inner type into a mutable slice to the
wrapper type.
§fn peel_ref(s: &Self) -> &Inner
fn peel_ref(s: &Self) -> &Inner
Convert a reference to the wrapper type into a reference to the inner
type.
§fn peel_mut(s: &mut Self) -> &mut Inner
fn peel_mut(s: &mut Self) -> &mut Inner
Convert a mutable reference to the wrapper type into a mutable reference
to the inner type.
§fn peel_slice(s: &[Self]) -> &[Inner]
fn peel_slice(s: &[Self]) -> &[Inner]
Convert a slice to the wrapped type into a slice to the inner type.
§fn peel_slice_mut(s: &mut [Self]) -> &mut [Inner]
fn peel_slice_mut(s: &mut [Self]) -> &mut [Inner]
Convert a mutable slice to the wrapped type into a mutable slice to the
inner type.
Source§impl TryFrom<Rijndael8b> for BinaryField1b
impl TryFrom<Rijndael8b> for BinaryField1b
Source§impl UnderlierView for Rijndael8b
impl UnderlierView for Rijndael8b
Source§fn to_underlier(self) -> Self::Underlier
fn to_underlier(self) -> Self::Underlier
Views this value as its underlier.
Source§fn to_underlier_ref(&self) -> &Self::Underlier
fn to_underlier_ref(&self) -> &Self::Underlier
Views a shared reference as one to its underlier.
Source§fn to_underlier_ref_mut(&mut self) -> &mut Self::Underlier
fn to_underlier_ref_mut(&mut self) -> &mut Self::Underlier
Views a mutable reference as one to its underlier.
Source§fn to_underliers_ref(val: &[Self]) -> &[Self::Underlier]
fn to_underliers_ref(val: &[Self]) -> &[Self::Underlier]
Views a slice as a slice of underliers, without copying.
Source§fn to_underliers_ref_mut(val: &mut [Self]) -> &mut [Self::Underlier]
fn to_underliers_ref_mut(val: &mut [Self]) -> &mut [Self::Underlier]
Views a mutable slice as a mutable slice of underliers, without copying.
Source§fn from_underlier(val: Self::Underlier) -> Self
fn from_underlier(val: Self::Underlier) -> Self
Reads an underlier as this type.
Source§fn from_underlier_ref(val: &Self::Underlier) -> &Self
fn from_underlier_ref(val: &Self::Underlier) -> &Self
Views a shared reference to an underlier as one to this type.
Source§fn from_underlier_ref_mut(val: &mut Self::Underlier) -> &mut Self
fn from_underlier_ref_mut(val: &mut Self::Underlier) -> &mut Self
Views a mutable reference to an underlier as one to this type.
Source§fn from_underliers_ref(val: &[Self::Underlier]) -> &[Self]
fn from_underliers_ref(val: &[Self::Underlier]) -> &[Self]
Views a slice of underliers as a slice of this type, without copying.
Source§fn from_underliers_ref_mut(val: &mut [Self::Underlier]) -> &mut [Self]
fn from_underliers_ref_mut(val: &mut [Self::Underlier]) -> &mut [Self]
Views a mutable slice of underliers as a mutable slice of this type, without copying.
Source§impl WideMul for Rijndael8b
impl WideMul for Rijndael8b
Auto Trait Implementations§
impl Freeze for Rijndael8b
impl RefUnwindSafe for Rijndael8b
impl Send for Rijndael8b
impl Sync for Rijndael8b
impl Unpin for Rijndael8b
impl UnsafeUnpin for Rijndael8b
impl UnwindSafe for Rijndael8b
Blanket Implementations§
impl<T> AnyBitPattern for Twhere
T: Pod,
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F> ExtensionField<F> for Fwhere
F: Field,
impl<F> ExtensionField<F> for Fwhere
F: Field,
Source§const LOG_DEGREE: usize = const LOG_DEGREE: usize = 0;
const LOG_DEGREE: usize = const LOG_DEGREE: usize = 0;
Base-2 logarithm of the extension degree.
Source§fn from_bases_sparse(
base_elems: impl IntoIterator<Item = F>,
log_stride: usize,
) -> F
fn from_bases_sparse( base_elems: impl IntoIterator<Item = F>, log_stride: usize, ) -> F
A specialized version of
from_bases which assumes that only base field
elements with indices dividing 2^log_stride can be nonzero. Read moreSource§fn iter_bases(&self) -> impl Iterator<Item = F>
fn iter_bases(&self) -> impl Iterator<Item = F>
Iterator over base field elements.
Source§unsafe fn get_base_unchecked(&self, i: usize) -> F
unsafe fn get_base_unchecked(&self, i: usize) -> F
Returns the i-th base field element without bounds checking. Read more
Source§fn square_transpose(values: &mut [F])
fn square_transpose(values: &mut [F])
Transpose square block of subfield elements within
values in place. Read moreSource§fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Self
fn from_bases(base_elems: impl IntoIterator<Item = F>) -> Self
Create an extension field element from a slice of base field elements in order
consistent with
basis(i) return values.
Potentially faster than taking an inner product with a vector of basis elements. Read moreSource§impl<F> FieldOps for Fwhere
F: Field,
impl<F> FieldOps for Fwhere
F: Field,
type Scalar = F
Source§fn square_transpose<FSub>(elems: &mut [F])where
FSub: Field,
F: ExtensionField<FSub>,
fn square_transpose<FSub>(elems: &mut [F])where
FSub: Field,
F: ExtensionField<FSub>,
Transpose the subfield elements in a slice of field elements. Read more
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 moreimpl<T> NoUninit for Twhere
T: Pod,
impl<PT> PackedBinaryField for PT
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<I, T> TransparentWrapperAlloc<I> for T
impl<I, T> TransparentWrapperAlloc<I> for T
§fn wrap_vec(s: Vec<Inner>) -> Vec<Self>
fn wrap_vec(s: Vec<Inner>) -> Vec<Self>
Convert a vec of the inner type into a vec of the wrapper type.
§fn wrap_box(s: Box<Inner>) -> Box<Self>
fn wrap_box(s: Box<Inner>) -> Box<Self>
Convert a box to the inner type into a box to the wrapper
type.
§fn wrap_rc(s: Rc<Inner>) -> Rc<Self>
fn wrap_rc(s: Rc<Inner>) -> Rc<Self>
Convert an
Rc to the inner type into an Rc to the wrapper type.§fn wrap_arc(s: Arc<Inner>) -> Arc<Self>
fn wrap_arc(s: Arc<Inner>) -> Arc<Self>
Convert an
Arc to the inner type into an Arc to the wrapper type.§fn peel_vec(s: Vec<Self>) -> Vec<Inner>
fn peel_vec(s: Vec<Self>) -> Vec<Inner>
Convert a vec of the wrapper type into a vec of the inner type.
§fn peel_box(s: Box<Self>) -> Box<Inner>
fn peel_box(s: Box<Self>) -> Box<Inner>
Convert a box to the wrapper type into a box to the inner
type.