This document describes two cryptographic functions used in GCM authentication and encryption: (1) GHASHH, which is a hash-based message authentication code that hashes multiple inputs X1 through Xm together to produce a single output Ym; and (2) GCTRK, which is a counter-mode encryption function that encrypts an initial counter block ICB and inputs X1 through Xn using a key K to produce outputs Y1 through Yn.