Authenticated encryption

Spook128su384v1

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

Spook128su384v1 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. 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

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

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

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

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

Who designed Spook128su384v1 and when?

Spook128su384v1 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.

Is Spook128su384v1 safe to use?

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

What other Spook variants are there?

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