Spook128mu384v1-LWC1
Leakage-resistant AEAD on Clyde-128 and the Shadow permutation; NIST LWC round 2
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 Spook128mu384v1-LWC1
Spook128mu384v1-LWC1 is one of 8 Spook variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 32-byte (256-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–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectSpook published
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
Integrity holds under nonce misuse with leakage; confidentiality requires unique nonces. Use version 2 parameters.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 32 | Secret key |
| nonce | 16 | Nonce / IV |
| tag | 16 | Authentication 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(32), root.random(16)
ct = root.call("aead_seal", "spook128mu384v1-lwc1", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "spook128mu384v1-lwc1", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("spook128mu384v1-lwc1", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("spook128mu384v1-lwc1", 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, "spook128mu384v1-lwc1", &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 Spook variants
7Similar names
Looking for something else?More authenticated encryption
All 392Frequently asked questions
What is Spook128mu384v1-LWC1?
Spook128mu384v1-LWC1 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 Spook128mu384v1-LWC1 sizes?
In NextSSL, Spook128mu384v1-LWC1 uses: key 32 bytes, nonce 16 bytes, tag 16 bytes.
Who designed Spook128mu384v1-LWC1 and when?
Spook128mu384v1-LWC1 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 Spook128mu384v1-LWC1 safe to use?
Spook128mu384v1-LWC1 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, spook128mu512v1, spook128su384v1, spook128su384v1-lwc1 and more in the Spook family.