Module arch

Source

Modules§

byte_sliced
packed_1
packed_2
packed_4
packed_8
packed_16
packed_32
packed_64
packed_128
packed_256
packed_512
packed_aes_8
packed_aes_16
packed_aes_32
packed_aes_64
packed_aes_128
packed_aes_256
packed_aes_512
packed_polyval_128
packed_polyval_256
packed_polyval_512

Structs§

AESIsomorphicStrategy
Strategy for packed canonical tower fields. Performs conversion to the packed isomorphic AES field, applies the operation and converts the result back to the canonical tower field.
GfniSpecializedStrategy256b
Specialized versions of the above to resolve conflicting implementations
GfniSpecializedStrategy512b
GfniStrategy
Use operations with GFNI instructions
HybridRecursiveStrategy
This strategies uses bot operations over packed subfield and operations over sub-elements.
PackedStrategy
Packed strategy for arithmetic operations. (Uses arithmetic operations with underlier and subfield to simultaneously calculate the result for all packed values)
PairwiseRecursiveStrategy
Pairwise recursive strategy. Calculates the result by applying recursive algorithm for each packed value independently.
PairwiseStrategy
Pairwise strategy. Apply the result of the operation to each packed element independently.
PairwiseTableStrategy
Get result of operation from the table for each sub-element
ReuseMultiplyStrategy
Applicable only for multiply by alpha and square operations. Reuse multiplication operation for that.
SimdStrategy
Similar to PackedStrategy, but uses SIMD operations supported by the platform.

Constants§

OPTIMAL_ALIGNMENT

Traits§

ArchOptimal

Type Aliases§

OptimalUnderlier
OptimalUnderlier128b
OptimalUnderlier256b
OptimalUnderlier512b