Trait PackedTransformationFactory

Source
pub trait PackedTransformationFactory<OP>: PackedBinaryField{
    type PackedTransformation<Data: AsRef<[OP::Scalar]> + Sync>: Transformation<Self, OP>;

    // Required method
    fn make_packed_transformation<Data: AsRef<[OP::Scalar]> + Sync>(
        transformation: FieldLinearTransformation<OP::Scalar, Data>,
    ) -> Self::PackedTransformation<Data>;
}
Expand description

This crates represents a type that creates a packed transformation from Self to a packed field based on the scalar field transformation.

Required Associated Types§

Required Methods§

Source

fn make_packed_transformation<Data: AsRef<[OP::Scalar]> + Sync>( transformation: FieldLinearTransformation<OP::Scalar, Data>, ) -> Self::PackedTransformation<Data>

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<OP> PackedTransformationFactory<OP> for PackedAESBinaryField1x8b

Source§

impl<OP> PackedTransformationFactory<OP> for PackedAESBinaryField2x8b

Source§

impl<OP> PackedTransformationFactory<OP> for PackedAESBinaryField4x8b

Source§

impl<OP> PackedTransformationFactory<OP> for PackedAESBinaryField8x8b

Source§

impl<OP> PackedTransformationFactory<OP> for PackedAESBinaryField16x8b

Source§

impl<OP> PackedTransformationFactory<OP> for PackedBinaryField1x1b

Source§

impl<OP> PackedTransformationFactory<OP> for PackedBinaryField2x1b

Source§

impl<OP> PackedTransformationFactory<OP> for PackedBinaryField4x1b

Source§

impl<OP> PackedTransformationFactory<OP> for PackedBinaryField8x1b

Source§

impl<OP> PackedTransformationFactory<OP> for PackedBinaryField16x1b

Source§

impl<OP> PackedTransformationFactory<OP> for PackedBinaryField32x1b

Source§

impl<OP> PackedTransformationFactory<OP> for PackedBinaryField64x1b

Source§

impl<OP> PackedTransformationFactory<OP> for PackedBinaryField128x1b

Source§

impl<OP> PackedTransformationFactory<OP> for PackedBinaryGhash1x128b