Authenticated encryption

Jambusimon128v2

Small-state block-cipher mode with limited nonce-misuse robustness; CAESAR round 3

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 Jambusimon128v2

Jambusimon128v2 is an authenticated encryption (AEAD) scheme from the JAMBU family. It uses a 16-byte (128-bit) key, an 8-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

JAMBU is a lightweight authenticated-encryption mode that wraps an n-bit block cipher to process n/2-bit message blocks while keeping only about 1.5 blocks of state. AES-JAMBU reached the third round of CAESAR; SIMON-JAMBU instances target smaller hardware.

The mode keeps a block-cipher state plus a half-block accumulator. For each half-block of message it encrypts the state, XORs the message into half of it to produce ciphertext, and folds the result into the accumulator, which later becomes part of the tag. This yields a stream-cipher-like mode with a very small footprint.

The CAESAR submission specified AES-JAMBU (AES-128, 64-bit message blocks) and SIMON-JAMBU instances with SIMON block sizes of 64, 96 and 128 bits. The NextSSL identifiers aesjambu and jambuaes128 are builds of AES-JAMBU, and jambusimon* and simonjambu* are builds of the SIMON instances, all from version 2. The later NIST LWC finalist TinyJAMBU is a separate design by the same authors that replaces the block cipher with a keyed permutation.

History

2013–2019
  1. CAESAR competition for authenticated encryption announced

    CAESAR competition
  2. JAMBU published by Hongjun Wu, Tao Huang

  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

Security notes

Under nonce reuse the designers claim only that confidentiality degrades to that of a stream cipher and authenticity is retained; plaintext information still leaks. Instances with small block sizes have low birthday bounds, so data per key must be limited.

Typical uses

Low-area hardware AEADComparison with CLOC/SILC and other small-state modes

Sizes

FieldBytesMeaning
key16Secret key
nonce8Nonce / 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(8)
ct = root.call("aead_seal", "jambusimon128v2", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "jambusimon128v2", 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 Jambusimon128v2?

Jambusimon128v2 is an AEAD in the JAMBU family. JAMBU is a lightweight authenticated-encryption mode that wraps an n-bit block cipher to process n/2-bit message blocks while keeping only about 1.5 blocks of state.

What are the Jambusimon128v2 sizes?

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

Who designed Jambusimon128v2 and when?

Jambusimon128v2 belongs to the JAMBU family, first published in 2014 by Hongjun Wu, Tao Huang. Its origin: CAESAR round 3 candidate.

Is Jambusimon128v2 safe to use?

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