Authenticated encryption

AES-192-EAX

Two-pass AEAD combining AES-CTR with OMAC (CMAC) authentication

standard Safe API

About AES-192-EAX

AES-192-EAX is one of 3 AES-EAX variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 24-byte (192-bit) key, a 16-byte nonce and a 16-byte (128-bit) authentication tag. Its registry entry cites EAX (Bellare, Rogaway, Wagner 2004). NextSSL lists it in the standard tier and exposes it through the safe API.

Overview

EAX authenticates the nonce, associated data and ciphertext with three domain-separated OMAC computations and encrypts with AES in counter mode. It was proposed as a cleaner, provably secure alternative to CCM.

EAX uses one key for both encryption and authentication. The nonce is first processed by OMAC to produce the initial counter, the plaintext is encrypted in counter mode, and the tag is the XOR of three OMAC values over the nonce, the associated data and the ciphertext, each tweaked with a distinct prefix. Unlike CCM it accepts arbitrary-length nonces and does not need the message length in advance, and associated data can be preprocessed.

EAX has a straightforward security proof in the standard model and has been used in some embedded protocols, notably ANSI C12.22 smart metering. NextSSL provides AES-128, AES-192 and AES-256 instances.

History

2004–2004
  1. AES-EAX published by Mihir Bellare, Phillip Rogaway, David Wagner

How it works

  1. Compute N = OMAC_K(0 || nonce) and use it as the initial counter.
  2. Encrypt the plaintext with AES-CTR starting at N.
  3. Compute H = OMAC_K(1 || associated data) and C' = OMAC_K(2 || ciphertext).
  4. Output the tag as N XOR H XOR C', truncated to the desired length.

Security notes

Security relies on unique nonces; repeating a nonce exposes plaintext XORs. EAX is two-pass and slower than GCM or OCB in software, but has no known structural weaknesses under its stated assumptions.

Typical uses

Embedded and metering protocols that only implement AES encryptionApplications needing flexible nonce lengthsInteroperability with existing EAX deployments

Sizes

FieldBytesMeaning
key24Secret key
nonce16Nonce / 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(16)
ct = ns.call("aead_seal", "aes-192-eax", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = ns.call("aead_open", "aes-192-eax", 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-EAX variants

2

Frequently asked questions

What is AES-192-EAX?

AES-192-EAX is an AEAD in the AES-EAX family. EAX authenticates the nonce, associated data and ciphertext with three domain-separated OMAC computations and encrypts with AES in counter mode.

What are the AES-192-EAX sizes?

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

Who designed AES-192-EAX and when?

AES-192-EAX belongs to the AES-EAX family, first published in 2004 by Mihir Bellare, Phillip Rogaway, David Wagner. Its origin: Published at FSE 2004.

Which standards define AES-192-EAX?

AES-192-EAX is referenced by EAX (Bellare, Rogaway, Wagner 2004).

Is AES-192-EAX safe to use?

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

What other AES-EAX variants are there?

NextSSL also registers aes-128-eax, aes-256-eax in the AES-EAX family.