Skip to main content

Module packed_ghash_128

Module packed_ghash_128 

Source
Expand description

PCLMULQDQ-accelerated implementation of GHASH for x86_64.

This module provides optimized GHASH multiplication using the PCLMULQDQ instruction available on modern x86_64 processors. The implementation follows the algorithm described in the GHASH specification with polynomial x^128 + x^7 + x^2 + x + 1.

Type Aliasesยง

GhashInvert1x
Invert wrapper for the PackedBinaryGhash1x128b packing: the shared Itoh-Tsujii inversion (there is no CLMUL inverse).
GhashSquare1x
GhashWideMul1x