Authenticated encryption

Deoxysi256v141

Tweakable AES-based AEAD; Deoxys-II is in the CAESAR defence-in-depth portfolio

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 Deoxysi256v141

Deoxysi256v141 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–2019
  1. CAESAR competition for authenticated encryption announced

    CAESAR competition
  2. Deoxys published by Jérémy Jean, Ivica Nikolić, Thomas Peyrin, Yannick Seurin

  3. 57 first-round candidates published

    CAESAR competition
  4. Second round announced

    CAESAR competition
  5. Third round announced

    CAESAR competition
  6. Finalists announced

    CAESAR competition
  7. Final portfolio: Ascon, ACORN, AEGIS-128, Deoxys-II, COLM and OCB

    CAESAR competition

How it works

  1. Instantiate Deoxys-BC with a tweak that encodes the nonce, a block counter and a domain-separation prefix.
  2. Deoxys-I: encrypt each block with a distinct tweak and authenticate the plaintext checksum, OCB-style.
  3. 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.
  4. 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

Nonce-misuse-resistant encryption with strong boundsHigh-speed AEAD on CPUs with AES instructionsResearch on tweakable block cipher modes

Sizes

FieldBytesMeaning
key32Secret key
nonce8Nonce / IV
tag16Authentication 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", "deoxysi256v141", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "deoxysi256v141", 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.

Frequently asked questions

What is Deoxysi256v141?

Deoxysi256v141 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 Deoxysi256v141 sizes?

In NextSSL, Deoxysi256v141 uses: key 32 bytes, nonce 8 bytes, tag 16 bytes.

Who designed Deoxysi256v141 and when?

Deoxysi256v141 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 Deoxysi256v141 safe to use?

Deoxysi256v141 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).