Documentation

Cryptlib.Primitives.Cipher.GHash

GHASH, the GCM authenticator (NIST SP 800-38D §6.4) #

Blocks are read as big-endian 128-bit integers. GCM numbers bits from the most significant end, so the coefficient of x⁰ is the integer's top bit and multiplying by x is a right shift, reduced by R = 0xE1 ‖ 0¹²⁰.

SP 800-38D Algorithm 1, X • Y in GF(2¹²⁸).

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    GHASH_H over a byte string, a short final block read as zero-padded.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For