AES-192-EAX
Two-pass AEAD combining AES-CTR with OMAC (CMAC) authentication
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–2004AES-EAX published by Mihir Bellare, Phillip Rogaway, David Wagner
How it works
- Compute N = OMAC_K(0 || nonce) and use it as the initial counter.
- Encrypt the plaintext with AES-CTR starting at N.
- Compute H = OMAC_K(1 || associated data) and C' = OMAC_K(2 || ciphertext).
- 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
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 24 | Secret key |
| nonce | 16 | Nonce / IV |
| tag | 16 | Authentication 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]
nextssl_aead_seal("aes-192-eax", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_aead_open("aes-192-eax", NULL, key, nonce, aad, ct, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_aead_in(reg::all(), Policy::Safe, "aes-192-eax", &Params::new())?;
let ct = alg.seal(&key, &nonce, b"header", b"secret")?;
let pt = alg.open(&key, &nonce, b"header", &ct)?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other AES-EAX variants
2Similar names
Looking for something else?More authenticated encryption
All 392Frequently 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.
Related families
CBC-MAC then counter-mode encryption with AES (NIST SP 800-38C, RFC 3610)
AES-GCMCounter-mode AES with a GHASH polynomial MAC; the default AEAD of TLS and IPsec
AES-SIVDeterministic authenticated encryption from CMAC-based S2V and AES-CTR (RFC 5297)
AESThe Advanced Encryption Standard: the world's default 128-bit block cipher