Deoxysneq256128v13
Tweakable AES-based AEAD; Deoxys-II is in the CAESAR defence-in-depth portfolio
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 Deoxysneq256128v13
Deoxysneq256128v13 is an authenticated encryption (AEAD) scheme from the Deoxys family. It uses a 32-byte (256-bit) key, an 8-byte nonce and a 16-byte (128-bit) authentication tag. 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
Deoxys is a family of authenticated ciphers built on Deoxys-BC, an AES-like tweakable block cipher designed with the TWEAKEY framework. Deoxys-II, a nonce-misuse-resistant mode, was selected for the CAESAR final portfolio in the defence-in-depth category.
Deoxys-BC uses the AES round function with a tweakey schedule that combines the key and a tweak, giving 128-bit blocks and 256-bit or 384-bit tweakeys. Two modes are defined on top of it: Deoxys-I is a nonce-respecting, OCB-like mode (Theta-CB3) that makes one call per block, and Deoxys-II uses the SCT construction, which first authenticates and then encrypts with a tag-derived counter so that nonce reuse degrades gracefully.
The CAESAR round 1 and 2 versions were named Deoxys-not-equal (nonce-respecting) and Deoxys-equal (misuse-resistant); the NextSSL ids deoxysneq* and deoxyseq* are those v1.3 builds with 128-bit or 256-bit keys and 128-bit tags. The deoxysi* and deoxysii* ids are the v1.41 Deoxys-I and Deoxys-II builds, and deoxys-ii and deoxysii256 are additional Deoxys-II implementations.
History
2013–2019CAESAR competition for authenticated encryption announced
CAESAR competitionDeoxys published by Jérémy Jean, Ivica Nikolić, Thomas Peyrin, Yannick Seurin
57 first-round candidates published
CAESAR competitionSecond round announced
CAESAR competitionThird round announced
CAESAR competitionFinalists announced
CAESAR competitionFinal portfolio: Ascon, ACORN, AEGIS-128, Deoxys-II, COLM and OCB
CAESAR competition
How it works
- Instantiate Deoxys-BC with a tweak that encodes the nonce, a block counter and a domain-separation prefix.
- Deoxys-I: encrypt each block with a distinct tweak and authenticate the plaintext checksum, OCB-style.
- Deoxys-II: compute a tag over the associated data and plaintext with tweaked calls, then encrypt in counter mode using the tag as part of the tweak.
- Output ciphertext and the 128-bit tag.
Security notes
Deoxys-I requires unique nonces. Deoxys-II retains full authenticity and leaks only message equality when a nonce repeats, with beyond-birthday security in the nonce-respecting setting. Prefer Deoxys-II where misuse is a concern.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 32 | Secret key |
| nonce | 8 | Nonce / IV |
| tag | 16 | Authentication tag |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
key, nonce = root.random(32), root.random(8)
ct = root.call("aead_seal", "deoxysneq256128v13", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "deoxysneq256128v13", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("deoxysneq256128v13", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("deoxysneq256128v13", 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::Any, "deoxysneq256128v13", &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.
Similar names
Looking for something else?More authenticated encryption
All 392Frequently asked questions
What is Deoxysneq256128v13?
Deoxysneq256128v13 is an AEAD in the Deoxys family. Deoxys is a family of authenticated ciphers built on Deoxys-BC, an AES-like tweakable block cipher designed with the TWEAKEY framework.
What are the Deoxysneq256128v13 sizes?
In NextSSL, Deoxysneq256128v13 uses: key 32 bytes, nonce 8 bytes, tag 16 bytes.
Who designed Deoxysneq256128v13 and when?
Deoxysneq256128v13 belongs to the Deoxys family, first published in 2014 by Jérémy Jean, Ivica Nikolić, Thomas Peyrin, Yannick Seurin. Its origin: CAESAR final portfolio (defence in depth, Deoxys-II).
Is Deoxysneq256128v13 safe to use?
Deoxysneq256128v13 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).
Related families
Nonce-misuse-resistant AES mode using POLYVAL and synthetic IVs (RFC 8452)
JoltikLightweight 64-bit tweakable block cipher AEAD from the TWEAKEY designers
KIASUAES with a 64-bit tweak (KIASU-BC) in nonce-respecting and misuse-resistant modes
SKINNY-AEADTheta-CB3 (OCB-style) mode on the SKINNY tweakable block cipher; NIST LWC round 2
SKINNY-HashThe hash functions of the SKINNY-AEAD submission, built from the SKINNY block cipher