Sundae-64
Lightweight SIV-style misuse-resistant mode on GIFT-128; NIST LWC round 2
Experimental or unclassified. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About Sundae-64
Sundae-64 is one of 4 SUNDAE-GIFT variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 16-byte (128-bit) key, an 8-byte nonce and a 16-byte (128-bit) authentication tag. Its registry entry cites SUNDAE-GIFT (NIST LWC round 2). NextSSL lists it in the research tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
SUNDAE-GIFT is a lightweight authenticated cipher using the SUNDAE mode with GIFT-128. SUNDAE is a two-pass, SIV-style construction that offers deterministic authenticated encryption with a very small state.
SUNDAE computes a CBC-MAC-like tag over the nonce, associated data and message using only the block-cipher state and simple doubling, then uses the tag as the IV for OFB-style encryption. It needs no extra masks, so hardware implementations are very small.
The submission defines instances by nonce length. NextSSL includes SUNDAE-GIFT-0 (no nonce, deterministic), -64, -96 and -128 under both the sundae family and the version 1 sundaegift builds. The two-pass structure means encryption cannot begin until the whole message has been read.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectSUNDAE-GIFT published by Subhadeep Banik et al.
56 round-1 candidates accepted; 32 advance to round 2 in August
NIST Lightweight Cryptography projectTen finalists announced
NIST Lightweight Cryptography projectAscon selected as the lightweight standard
NIST Lightweight Cryptography projectAscon published in NIST SP 800-232
NIST Lightweight Cryptography project
Security notes
Nonce reuse leaks only message equality; with no nonce it is deterministic. Security is limited to the birthday bound of the 128-bit block.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| nonce | 8 | Nonce / IV |
| tag | 16 | Authentication tag |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'research' is reachable from the root API only
key, nonce = root.random(16), root.random(8)
ct = root.call("aead_seal", "sundae-64", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "sundae-64", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("sundae-64", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("sundae-64", 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, "sundae-64", &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.
Other SUNDAE-GIFT variants
3Similar names
Looking for something else?More authenticated encryption
All 392Frequently asked questions
What is Sundae-64?
Sundae-64 is an AEAD in the SUNDAE-GIFT family. SUNDAE-GIFT is a lightweight authenticated cipher using the SUNDAE mode with GIFT-128.
What are the Sundae-64 sizes?
In NextSSL, Sundae-64 uses: key 16 bytes, nonce 8 bytes, tag 16 bytes.
Who designed Sundae-64 and when?
Sundae-64 belongs to the SUNDAE-GIFT family, first published in 2019 by Subhadeep Banik et al.. Its origin: NIST LWC round 2.
Which standards define Sundae-64?
Sundae-64 is referenced by SUNDAE-GIFT (NIST LWC round 2).
Is Sundae-64 safe to use?
Sundae-64 is in the research tier. Experimental or unclassified. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
What other SUNDAE-GIFT variants are there?
NextSSL also registers sundae, sundae-0, sundae-128 in the SUNDAE-GIFT family.