Galois/Counter Mode
Galois/Counter Mode (GCM) is a way of using a block cipher, such as AES, that both scrambles data to keep it confidential and generates a tag to confirm the data has not been tampered with. Because it works on independent blocks, it can process data in parallel, which can make it fast. It is commonly used in secure communications protocols such as TLS.
GCM is a block cipher mode of operation that provides authenticated encryption with associated data (AEAD), delivering both confidentiality and authenticity/integrity for encrypted data as well as authenticity for additional associated (non-encrypted) data. As specified by NIST in SP 800-38D, GCM combines counter (CTR) mode encryption with a universal hash function computed over a binary Galois field to produce an authentication tag. Because it operates as a counter mode, its blocks are independent, allowing encryption and decryption to be parallelized, in contrast to sequential modes such as cipher block chaining (CBC). GCM is defined for use with AES in TLS cipher suites (for example, per RFC 5288, with RSA, DSA, and Diffie-Hellman-based key exchange). GMAC is the authentication-only variant of the same construction.
Why it matters
GCM matters because it provides authenticated encryption with associated data (AEAD), meaning it addresses both confidentiality and integrity in a single construction rather than requiring separate mechanisms bolted together. This combination helps reduce the risk of certain implementation errors that can arise when encryption and message authentication are handled independently. For teams protecting cardholder data in transit, AEAD modes such as AES-GCM are among the constructions used in modern TLS cipher suites, as defined in RFC 5288 for use with RSA, DSA, and Diffie-Hellman-based key exchange.
Beyond the security properties, GCM's design has practical performance implications. Because it operates as a counter mode, its blocks are independent, which allows encryption and decryption to be parallelized, in contrast to sequential modes such as cipher block chaining (CBC). This can make it well suited to high-throughput environments where large volumes of encrypted traffic must be processed efficiently.
It is important to recognize what GCM does and does not address. GCM is a cryptographic mode of operation specified by NIST in SP 800-38D; it is not itself a compliance standard, and its correct use depends on implementation choices such as key and nonce management, which fall outside the definition of the mode itself. The strength of any deployment depends on those surrounding controls, not on the label AES-GCM alone. Whether a particular use of encryption reduces PCI DSS scope or satisfies a specific requirement depends on implementation and validation, and readers should confirm applicable controls against the current published standard.
Who it's relevant to
Inside GCM
Common questions
Answers to the questions practitioners most commonly ask about GCM.