Aes128marble4rv1
AES-round-based CAESAR round 1 mode; withdrawn after key-recovery attacks
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 Aes128marble4rv1
Aes128marble4rv1 is an authenticated encryption (AEAD) scheme from the Marble family. It uses a 16-byte (128-bit) key and a 16-byte (128-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
Marble is an authenticated-encryption mode built from four-round AES layers in an encrypt-mix-encrypt structure. It was a CAESAR round 1 submission and was withdrawn after collision-based forgery and key-recovery attacks were published.
Marble uses reduced-round AES (four rounds per layer, reflected in the identifier aes128marble4r) arranged in a wide structure intended to give security beyond what the individual layers provide. The goal was a fast mode with some robustness to nonce misuse.
Fuhr, Leurent and Suder showed collision attacks against Marble that lead to forgeries and key recovery with complexity around the birthday bound, well below the claimed security. The design did not advance in CAESAR. NextSSL retains the round 1 implementation only as an archived reference.
History
2013–2019CAESAR competition for authenticated encryption announced
CAESAR competitionMarble published by Jian Guo
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
Practical-complexity forgery and key-recovery attacks are known; do not use Marble to protect data.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| nonce | 0 | Nonce / IV |
| tag | 16 | 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(0)
ct = root.call("aead_seal", "aes128marble4rv1", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "aes128marble4rv1", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("aes128marble4rv1", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("aes128marble4rv1", 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, "aes128marble4rv1", &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 Aes128marble4rv1?
Aes128marble4rv1 is an AEAD in the Marble family. Marble is an authenticated-encryption mode built from four-round AES layers in an encrypt-mix-encrypt structure.
What are the Aes128marble4rv1 sizes?
In NextSSL, Aes128marble4rv1 uses: key 16 bytes, nonce 0 bytes, tag 16 bytes.
Who designed Aes128marble4rv1 and when?
Aes128marble4rv1 belongs to the Marble family, first published in 2014 by Jian Guo. Its origin: CAESAR round 1 candidate (withdrawn).
Is Aes128marble4rv1 safe to use?
Aes128marble4rv1 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).