Simonjambu96v2
Small-state block-cipher mode with limited nonce-misuse robustness; CAESAR round 3
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 Simonjambu96v2
Simonjambu96v2 is an authenticated encryption (AEAD) scheme from the JAMBU family. It uses a 12-byte (96-bit) key, a 6-byte nonce and a 6-byte (48-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–2019CAESAR competition for authenticated encryption announced
CAESAR competitionJAMBU published by Hongjun Wu, Tao Huang
57 first-round candidates published
CAESAR competitionSecond round announced
CAESAR competitionThird round announced
CAESAR competitionFinalists announced
CAESAR competitionFinal 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
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 12 | Secret key |
| nonce | 6 | Nonce / IV |
| tag | 6 | 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(12), root.random(6)
ct = root.call("aead_seal", "simonjambu96v2", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "simonjambu96v2", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("simonjambu96v2", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("simonjambu96v2", 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, "simonjambu96v2", &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.
Similar names
Looking for something else?More authenticated encryption
All 392Frequently asked questions
What is Simonjambu96v2?
Simonjambu96v2 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 Simonjambu96v2 sizes?
In NextSSL, Simonjambu96v2 uses: key 12 bytes, nonce 6 bytes, tag 6 bytes.
Who designed Simonjambu96v2 and when?
Simonjambu96v2 belongs to the JAMBU family, first published in 2014 by Hongjun Wu, Tao Huang. Its origin: CAESAR round 3 candidate.
Is Simonjambu96v2 safe to use?
Simonjambu96v2 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).