Authenticated encryption

Spook-SU

Leakage-resistant AEAD on Clyde-128 and the Shadow permutation; 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 Spook-SU

Spook-SU is one of 8 Spook 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. It takes the parameter variant (default su512). Its registry entry cites Spook (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

Spook is an authenticated cipher designed for leakage resistance: it uses a sponge built on the Shadow permutation for bulk processing and the Clyde-128 tweakable block cipher, which needs strong side-channel protection, only at the start and end. It was a second-round candidate in the NIST Lightweight Cryptography process.

Both primitives use LS-design principles with bitsliced S-boxes and table-based linear layers, making masked implementations efficient. The mode follows a leveled-implementation approach: only the key-derivation and tag-generation steps with Clyde must be heavily protected, while the sponge can run unprotected.

Instances are named by user model and permutation size: su (single-user) and mu (multi-user, with a public tweak) with 384-bit or 512-bit Shadow. NextSSL includes the round 2 Spook and Spook-su builds and the four version 2 instances. Version 2 changed constants in response to analysis of the first version in the multi-user setting.

History

2018–2025
  1. NIST calls for lightweight AEAD and hashing designs

    NIST Lightweight Cryptography project
  2. Spook published

  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

Integrity holds under nonce misuse with leakage; confidentiality requires unique nonces. Use version 2 parameters.

Typical uses

Devices exposed to side-channel attacksResearch on leveled leakage-resistant implementations

Sizes

FieldBytesMeaning
key16Secret key
nonce16Nonce / IV
tag16Authentication tag

Parameters

NameTypeRangeDefaultRequired
variant enum 0 – su512 no

Parameters are passed as a string, for example nextssl_mac("hmac", "hash=sha512", …). Omitted parameters take their declared default.

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", "spook-su", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "spook-su", 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 Spook-SU?

Spook-SU is an AEAD in the Spook family. Spook is an authenticated cipher designed for leakage resistance: it uses a sponge built on the Shadow permutation for bulk processing and the Clyde-128 tweakable block cipher, which needs strong side-channel protection, only at the start and end.

What are the Spook-SU sizes?

In NextSSL, Spook-SU uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.

Who designed Spook-SU and when?

Spook-SU belongs to the Spook family, first published in 2019 by Davide Bellizia, Francesco Berti, Olivier Bronchain, Gaëtan Cassiers, Sébastien Duval, Chun Guo, Gregor Leander, Gaëtan Leurent, Itamar Levi, Charles Momin, Olivier Pereira, Thomas Peters, François-Xavier Standaert, Balazs Udvarhelyi, Friedrich Wiemer. Its origin: NIST LWC round 2.

Which standards define Spook-SU?

Spook-SU is referenced by Spook (NIST LWC round 2).

Is Spook-SU safe to use?

Spook-SU 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 Spook variants are there?

NextSSL also registers spook, spook128mu384v1, spook128mu384v1-lwc1, spook128mu512v1, spook128su384v1, spook128su384v1-lwc1 and more in the Spook family.