Authenticated encryption

Sundae-128

Lightweight SIV-style misuse-resistant mode on GIFT-128; NIST LWC round 2

research Root API only
Research tier.

Experimental or unclassified. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Sundae-128

Sundae-128 is one of 4 SUNDAE-GIFT variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 16-byte (128-bit) key, a 16-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–2025
  1. NIST calls for lightweight AEAD and hashing designs

    NIST Lightweight Cryptography project
  2. SUNDAE-GIFT published by Subhadeep Banik et al.

  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

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

Key wrapping on constrained hardwareDevices that cannot maintain nonce state

Sizes

FieldBytesMeaning
key16Secret key
nonce16Nonce / IV
tag16Authentication 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(16)
ct = root.call("aead_seal", "sundae-128", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "sundae-128", 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.

Other SUNDAE-GIFT variants

3

Frequently asked questions

What is Sundae-128?

Sundae-128 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-128 sizes?

In NextSSL, Sundae-128 uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.

Who designed Sundae-128 and when?

Sundae-128 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-128?

Sundae-128 is referenced by SUNDAE-GIFT (NIST LWC round 2).

Is Sundae-128 safe to use?

Sundae-128 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-64 in the SUNDAE-GIFT family.