Expand description
Portable (software) implementation of GHASH field multiplication.
Structs§
- Ghash
Wide Mul - Widening-multiply wrapper for the portable GHASH packing.
- Wide
Ghash Product - An unreduced GHASH product, stored as the four 64-bit limbs
(v0, v1, v2, v3)of the 256-bit schoolbook product. Values of this type can be summed by XOR and reduced once at the end viareduce.
Functions§
- ghash_
mul - Multiply two GHASH field elements using software implementation.
- ghash_
square - ghash_
wide_ mul - Widening multiply: the schoolbook polynomial product of two GHASH field elements, without the
modular reduction. The unreduced result can be accumulated by XOR and reduced once at the end
via
WideGhashProduct::reduce.