Authenticated encryption

Skinnyaeadtk29664v1

Theta-CB3 (OCB-style) mode on the SKINNY tweakable block cipher; NIST LWC round 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 Skinnyaeadtk29664v1

Skinnyaeadtk29664v1 is an authenticated encryption (AEAD) scheme from the SKINNY-AEAD family. 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–2025
  1. SKINNY tweakable block cipher presented at CRYPTO

  2. NIST calls for lightweight AEAD and hashing designs

    NIST Lightweight Cryptography project
  3. SKINNY-AEAD and SKINNY-Hash submitted to NIST Lightweight Cryptography

  4. Ten finalists announced

    NIST Lightweight Cryptography project
  5. Ascon selected as the lightweight standard

    NIST Lightweight Cryptography project
  6. Ascon 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

Lightweight AEAD with beyond-birthday securityHardware and software reusing a SKINNY core

Sizes

FieldBytesMeaning
key16Secret key
nonce12Nonce / IV
tag8Authentication 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", "skinnyaeadtk29664v1", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "skinnyaeadtk29664v1", 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 Skinnyaeadtk29664v1?

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

In NextSSL, Skinnyaeadtk29664v1 uses: key 16 bytes, nonce 12 bytes, tag 8 bytes.

Who designed Skinnyaeadtk29664v1 and when?

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

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