Authenticated encryption

SPARKLE-Schwaemm

ARX permutation-based AEAD from the SPARKLE suite; NIST LWC finalist

research Root API only Copyleft feature
Research tier.

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

About SPARKLE-Schwaemm

SPARKLE-Schwaemm is one of 11 Schwaemm (SPARKLE) variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 16-byte (128-bit) key, a 32-byte nonce and a 16-byte (128-bit) authentication tag. Its registry entry cites Schwaemm256-128 (SPARKLE v1.2, NIST LWC finalist). 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

Schwaemm is the authenticated-encryption member of the SPARKLE suite, built on the SPARKLE family of ARX permutations in a Beetle-like duplex mode. SPARKLE was a finalist in the NIST Lightweight Cryptography process.

The SPARKLE permutations operate on 256, 384 or 512-bit states and use Alzette, a 64-bit ARX-box made of additions, rotations and XORs, combined with a Feistel-like linear layer. ARX design gives fast, constant-time software on 8-bit to 64-bit processors.

Instances are named Schwaemm[rate]-[capacity]: Schwaemm256-128 is the primary member, with Schwaemm128-128, Schwaemm192-192 and Schwaemm256-256 as alternatives. NextSSL includes these and a version 2 Schwaemm256-128 build. The SPARKLE suite also defines the Esch hash functions on the same permutations.

History

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

    NIST Lightweight Cryptography project
  2. Schwaemm 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

Schwaemm requires unique nonces. ARX designs resist timing attacks naturally but need care for power analysis.

Typical uses

Software on small microcontrollersProtocols needing both AEAD and a hash (Esch)

Sizes

FieldBytesMeaning
key16Secret key
nonce32Nonce / 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(32)
ct = root.call("aead_seal", "sparkle-schwaemm", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "sparkle-schwaemm", 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.

Similar names

Looking for something else?

Frequently asked questions

What is SPARKLE-Schwaemm?

SPARKLE-Schwaemm is an AEAD in the Schwaemm (SPARKLE) family. Schwaemm is the authenticated-encryption member of the SPARKLE suite, built on the SPARKLE family of ARX permutations in a Beetle-like duplex mode.

What are the SPARKLE-Schwaemm sizes?

In NextSSL, SPARKLE-Schwaemm uses: key 16 bytes, nonce 32 bytes, tag 16 bytes.

Who designed SPARKLE-Schwaemm and when?

SPARKLE-Schwaemm belongs to the Schwaemm (SPARKLE) family, first published in 2019 by Christof Beierle, Alex Biryukov, Luan Cardoso dos Santos, Johann Großschädl, Léo Perrin, Aleksei Udovenko, Vesselin Velichkov, Qingju Wang. Its origin: NIST LWC finalist.

Which standards define SPARKLE-Schwaemm?

SPARKLE-Schwaemm is referenced by Schwaemm256-128 (SPARKLE v1.2, NIST LWC finalist).

Is SPARKLE-Schwaemm safe to use?

SPARKLE-Schwaemm 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 Schwaemm (SPARKLE) variants are there?

NextSSL also registers schwaemm-128-128, schwaemm-192-192, schwaemm-256-256, schwaemm128128v1, schwaemm128128v2, schwaemm192192v1 and more in the Schwaemm (SPARKLE) family.