TaggedSquare

Trait TaggedSquare 

Source
pub trait TaggedSquare<Strategy> {
    // Required method
    fn square(self) -> Self;
}
Expand description

Square operation that is parameterized with some some strategy.

Required Methods§

Source

fn square(self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl TaggedSquare<GhashStrategy> for PackedBinaryGhash1x128b

Source§

impl<P> TaggedSquare<PairwiseRecursiveStrategy> for P
where P: PackedField, P::Scalar: TowerExtensionField<DirectSubfield: MulAlpha>,

Source§

impl<PT: PackedField> TaggedSquare<PairwiseStrategy> for PT
where PT::Scalar: Square,

Source§

impl<T> TaggedSquare<ReuseMultiplyStrategy> for T
where T: Mul<Self, Output = Self> + Copy,

Source§

impl<U: UnderlierWithBitOps> TaggedSquare<BitwiseAndStrategy> for PackedPrimitiveType<U, BinaryField1b>

Source§

impl<U: UnderlierType + Pod, Scalar: BinaryField, const N: usize> TaggedSquare<ScaledStrategy> for PackedPrimitiveType<ScaledUnderlier<U, N>, Scalar>
where PackedPrimitiveType<U, Scalar>: Square,

Source§

impl<U: UnderlierType> TaggedSquare<PairwiseTableStrategy> for PackedPrimitiveType<U, AESTowerField8b>
where Self: PackedField<Scalar = AESTowerField8b>,