Authenticated encryption

Schwaemm256128v1

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

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 Schwaemm256128v1

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

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

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

In NextSSL, Schwaemm256128v1 uses: key 16 bytes, nonce 32 bytes, tag 16 bytes.

Who designed Schwaemm256128v1 and when?

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

Is Schwaemm256128v1 safe to use?

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