Authenticated encryption

Sundaegift128v1

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

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 Sundaegift128v1

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

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 'unverified' is reachable from the root API only
key, nonce = root.random(16), root.random(16)
ct = root.call("aead_seal", "sundaegift128v1", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "sundaegift128v1", 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 Sundaegift128v1?

Sundaegift128v1 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 Sundaegift128v1 sizes?

In NextSSL, Sundaegift128v1 uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.

Who designed Sundaegift128v1 and when?

Sundaegift128v1 belongs to the SUNDAE-GIFT family, first published in 2019 by Subhadeep Banik et al.. Its origin: NIST LWC round 2.

Is Sundaegift128v1 safe to use?

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