Block cipher modes

AES-192-EME2

A wide-block tweakable encryption mode from IEEE 1619.2

unverified Root API only
Unverified tier.

Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About AES-192-EME2

AES-192-EME2 is one of 3 AES-EME2 variants in the NextSSL registry, a block cipher mode of operation. It uses a 56-byte (448-bit) key, a 16-byte nonce and a 16-byte (128-bit) block. Its registry entry cites IEEE 1619.2-2010 (EME2-AES). NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

Overview

EME2 is a tweakable wide-block encryption mode standardised in IEEE 1619.2-2010 for storage encryption. Unlike XTS, a change to any bit of a sector changes the entire encrypted sector, which leaks less to an attacker who sees successive versions.

EME2 follows the Encrypt-Mix-Encrypt design of Shai Halevi and Phillip Rogaway. Each input block is masked and encrypted with AES, the results are mixed together with the tweak through a simple linear layer so that every block depends on every other block, and the mixed blocks are masked and encrypted again. The result behaves as a single tweakable block cipher with a block as wide as the sector.

NextSSL includes AES-128-EME2, AES-192-EME2 and AES-256-EME2 entries wired from source and not yet verified against IEEE 1619.2 test vectors. EME2 was standardised for situations where a full-sector change on any modification is required, such as encrypted storage exposed to repeated observation. Its main drawback is the extra AES pass. Because the tier is unverified, outputs should be checked against independent reference values before they are relied on for anything beyond experimentation.

History

2004–2010
  1. AES-EME2 published by Shai Halevi

  2. Specified in IEEE 1619.2-2010

Security notes

EME2 has a security proof as a strong pseudo-random permutation up to the birthday bound. It is about twice as expensive as XTS and is rarely deployed. NextSSL's implementation is unverified.

Typical uses

Wide-block storage encryption researchComparison with XTS

Sizes

FieldBytesMeaning
key56Secret key
nonce16Nonce / IV
block16Block

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
ct = root.call("blockmode_encrypt", "aes-192-eme2", None, key, iv, data)[0]
pt = root.call("blockmode_decrypt", "aes-192-eme2", None, key, iv, ct)[0]

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

Other AES-EME2 variants

2

Frequently asked questions

What is AES-192-EME2?

AES-192-EME2 is a block mode in the AES-EME2 family. EME2 is a tweakable wide-block encryption mode standardised in IEEE 1619.2-2010 for storage encryption.

What are the AES-192-EME2 sizes?

In NextSSL, AES-192-EME2 uses: key 56 bytes, nonce 16 bytes, block 16 bytes.

Who designed AES-192-EME2 and when?

AES-192-EME2 belongs to the AES-EME2 family, first published in 2004 by Shai Halevi. Its origin: IEEE 1619.2-2010.

Which standards define AES-192-EME2?

AES-192-EME2 is referenced by IEEE 1619.2-2010 (EME2-AES).

Is AES-192-EME2 safe to use?

AES-192-EME2 is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).

What other AES-EME2 variants are there?

NextSSL also registers aes-128-eme2, aes-256-eme2 in the AES-EME2 family.