Authenticated encryption

Tinyjambu128v2

Very small keyed-permutation AEAD; NIST LWC finalist, classed broken in NextSSL

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 Tinyjambu128v2

Tinyjambu128v2 is an authenticated encryption (AEAD) scheme from the TinyJAMBU 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

TinyJAMBU is a lightweight authenticated cipher that uses a 128-bit keyed permutation built from a nonlinear feedback shift register in a JAMBU-style mode. It was a finalist in the NIST Lightweight Cryptography process.

The keyed permutation updates a 128-bit state one bit at a time using a single NAND gate and XORs, giving one of the smallest hardware footprints of any finalist. The mode processes 32-bit message words, with frame bits providing domain separation between nonce, associated data, message and finalisation.

NextSSL includes the round 2 version with 128, 192 and 256-bit keys and a version 2 TinyJAMBU-128 build, all with 64-bit tags. Cryptanalysis of the keyed permutation during the process, including differential and forgery-related results on the round 1 parameters, led the designers to increase the number of rounds.

History

2018–2025
  1. NIST calls for lightweight AEAD and hashing designs

    NIST Lightweight Cryptography project
  2. TinyJAMBU published by Hongjun Wu, Tao Huang

  3. 56 round-1 candidates accepted; 32 advance to round 2 in August

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

NextSSL classifies the round 2 version as broken in light of published cryptanalysis of its keyed permutation; do not use it to protect data. Nonce reuse is not tolerated, and 64-bit tags limit forgery resistance.

Typical uses

Cryptanalysis researchHardware area benchmarking

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", "tinyjambu128v2", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "tinyjambu128v2", 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 Tinyjambu128v2?

Tinyjambu128v2 is an AEAD in the TinyJAMBU family. TinyJAMBU is a lightweight authenticated cipher that uses a 128-bit keyed permutation built from a nonlinear feedback shift register in a JAMBU-style mode.

What are the Tinyjambu128v2 sizes?

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

Who designed Tinyjambu128v2 and when?

Tinyjambu128v2 belongs to the TinyJAMBU family, first published in 2019 by Hongjun Wu, Tao Huang. Its origin: NIST LWC finalist.

Is Tinyjambu128v2 safe to use?

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