Skinny-Aead-M6
Theta-CB3 (OCB-style) mode on the SKINNY tweakable block cipher; NIST LWC round 2
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 Skinny-Aead-M6
Skinny-Aead-M6 is one of 6 SKINNY-AEAD variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 16-byte (128-bit) key, a 12-byte nonce and an 8-byte (64-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
SKINNY-AEAD is a family of authenticated ciphers that use the SKINNY-128 tweakable block cipher in the Theta-CB3 mode, the tweakable-block-cipher version of OCB. It was a second-round candidate in the NIST Lightweight Cryptography process.
SKINNY is a lightweight tweakable block cipher designed with the TWEAKEY framework, with variants named by tweakey size: TK2 (256-bit) and TK3 (384-bit). Theta-CB3 makes one call per block, is parallelisable and gives full-block-size security when nonces are unique, because each call uses a distinct tweak.
The submission defined members M1 to M6, varying the tweakey size, nonce length (96 or 128 bits) and tag length (64 or 128 bits). NextSSL includes M1 to M6 under the skinny-aead family and the version 1 builds named skinnyaeadtkX-NN-TT, where X is the tweakey variant, NN the nonce size and TT the tag size.
History
2016–2025SKINNY tweakable block cipher presented at CRYPTO
NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectSKINNY-AEAD and SKINNY-Hash submitted to NIST Lightweight Cryptography
Ten finalists announced
NIST Lightweight Cryptography projectAscon selected as the lightweight standard
NIST Lightweight Cryptography projectAscon published in NIST SP 800-232
NIST Lightweight Cryptography project
Security notes
Requires unique nonces, as with OCB. Members with 64-bit tags give correspondingly lower forgery resistance.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| nonce | 12 | Nonce / IV |
| tag | 8 | 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(16), root.random(12)
ct = root.call("aead_seal", "skinny-aead-m6", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "skinny-aead-m6", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("skinny-aead-m6", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("skinny-aead-m6", 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, "skinny-aead-m6", &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 SKINNY-AEAD variants
5Similar names
Looking for something else?More authenticated encryption
All 392Frequently asked questions
What is Skinny-Aead-M6?
Skinny-Aead-M6 is an AEAD in the SKINNY-AEAD family. SKINNY-AEAD is a family of authenticated ciphers that use the SKINNY-128 tweakable block cipher in the Theta-CB3 mode, the tweakable-block-cipher version of OCB.
What are the Skinny-Aead-M6 sizes?
In NextSSL, Skinny-Aead-M6 uses: key 16 bytes, nonce 12 bytes, tag 8 bytes.
Who designed Skinny-Aead-M6 and when?
Skinny-Aead-M6 belongs to the SKINNY-AEAD family, first published in 2019 by Christof Beierle, Jérémy Jean, Stefan Kölbl, Gregor Leander, Amir Moradi, Thomas Peyrin, Yu Sasaki, Pascal Sasdrich, Siang Meng Sim. Its origin: NIST LWC round 2.
Is Skinny-Aead-M6 safe to use?
Skinny-Aead-M6 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 SKINNY-AEAD variants are there?
NextSSL also registers skinny-aead-m1, skinny-aead-m2, skinny-aead-m3, skinny-aead-m4, skinny-aead-m5 in the SKINNY-AEAD family.
Related families
Tweakable AES-based AEAD; Deoxys-II is in the CAESAR defence-in-depth portfolio
ForkAEForkcipher-based AEAD optimised for short messages; NIST LWC round 2
RomulusSKINNY-based tweakable block cipher AEAD family; NIST LWC finalist
RomulusA NIST LWC finalist family built on the SKINNY tweakable block cipher