Authenticated encryption

AES-192-GCM

Counter-mode AES with a GHASH polynomial MAC; the default AEAD of TLS and IPsec

standard Safe API Specified in a FIPS standard

About AES-192-GCM

AES-192-GCM is one of 3 AES-GCM variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 24-byte (192-bit) key, a 12-byte nonce and a 16-byte (128-bit) authentication tag. Its registry entry cites NIST SP 800-38D. It is also known as aes192-gcm and aes-192-gcm-96. NextSSL lists it in the standard tier and exposes it through the safe API.

Overview

AES-GCM combines AES in counter mode with GHASH, a universal hash over GF(2^128), to provide authenticated encryption with associated data. It is standardised in NIST SP 800-38D and is the most widely deployed AEAD in TLS, IPsec, SSH and disk and storage protocols.

Galois/Counter Mode encrypts the plaintext with AES in counter mode, starting from a counter block derived from the nonce. The authentication tag is computed by GHASH, a polynomial evaluation in GF(2^128) keyed with H = AES_K(0), over the associated data, the ciphertext and a length block; the result is masked with the encryption of the initial counter block.

The construction is fully parallelisable and runs at high speed on processors with AES and carry-less multiplication instructions (AES-NI and PCLMULQDQ on x86, the ARMv8 crypto extensions). NextSSL exposes AES-128-GCM, AES-192-GCM and AES-256-GCM with the standard 96-bit nonce and 128-bit tag.

GCM is simple to use correctly only if nonces never repeat under one key. Its security bounds also degrade with very large data volumes per key, which is why protocols such as TLS 1.3 define key-update limits.

History

2004–2018
  1. GCM published by David McGrew and John Viega

  2. Approved in NIST SP 800-38D

  3. Used in TLS 1.2 cipher suites

  4. One of the mandatory TLS 1.3 AEADs

How it works

  1. Derive the hash key H by encrypting the all-zero block with AES under K.
  2. Form the initial counter block J0 from the 96-bit nonce and encrypt the plaintext in counter mode starting at J0 + 1.
  3. Run GHASH over the associated data, the ciphertext and a 128-bit length block.
  4. Encrypt J0 and XOR it with the GHASH output to produce the tag; truncate if a shorter tag is configured.
  5. On decryption, recompute and compare the tag in constant time before releasing any plaintext.

Security notes

Reusing a nonce with the same key reveals the XOR of plaintexts and allows recovery of the GHASH key, after which an attacker can forge arbitrary messages. Short tags and non-96-bit nonces weaken the guarantees; use random or counter nonces with strict uniqueness and rekey well before the usage limits.

Typical uses

TLS 1.2 and 1.3 record protectionIPsec ESP and MACsecEncrypted storage and object encryption where nonces can be managed reliably

Sizes

FieldBytesMeaning
key24Secret key
nonce12Nonce / IV
tag16Authentication tag

Use it

from nextssl_demo import NextSSL

ns = NextSSL()              # safe API: safe and standard tiers
key, nonce = ns.random(24), ns.random(12)
ct = ns.call("aead_seal", "aes-192-gcm", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = ns.call("aead_open", "aes-192-gcm", None, key, nonce, b"header", ct)[0]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Other AES-GCM variants

2

Frequently asked questions

What is AES-192-GCM?

AES-192-GCM is an AEAD in the AES-GCM family. AES-GCM combines AES in counter mode with GHASH, a universal hash over GF(2^128), to provide authenticated encryption with associated data. It is also known as aes192-gcm, aes-192-gcm-96.

What are the AES-192-GCM sizes?

In NextSSL, AES-192-GCM uses: key 24 bytes, nonce 12 bytes, tag 16 bytes.

Who designed AES-192-GCM and when?

AES-192-GCM belongs to the AES-GCM family, first published in 2004 by David McGrew, John Viega. Its origin: NIST SP 800-38D.

Which standards define AES-192-GCM?

AES-192-GCM is referenced by NIST SP 800-38D. It is specified in a FIPS standard.

Is AES-192-GCM safe to use?

AES-192-GCM is in the standard tier. Standardised and sound. Reachable from the safe API. It can be called from the safe API.

What other AES-GCM variants are there?

NextSSL also registers aes-128-gcm, aes-256-gcm in the AES-GCM family.