AES-EME2
A wide-block tweakable encryption mode from IEEE 1619.2
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–2010AES-EME2 published by Shai Halevi
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
Variants in NextSSL
3| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| AES-128-EME2 aes-128-eme2 |
unverified | key 48 · nonce 16 · block 16 | IEEE 1619.2-2010 (EME2-AES) | root |
| AES-192-EME2 aes-192-eme2 |
unverified | key 56 · nonce 16 · block 16 | IEEE 1619.2-2010 (EME2-AES) | root |
| AES-256-EME2 aes-256-eme2 |
unverified | key 64 · nonce 16 · block 16 | IEEE 1619.2-2010 (EME2-AES) | root |
Frequently asked questions
Which AES-EME2 variants does NextSSL include?
NextSSL registers 3 AES-EME2 variants: aes-128-eme2, aes-192-eme2, aes-256-eme2.