Authenticated encryption

Spix

MonkeyDuplex AEAD on the sLiSCP-light-256 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 Spix

Spix is 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. Its registry entry cites SPIX (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

SPIX is a lightweight authenticated cipher that uses the 256-bit sLiSCP-light permutation in a monkeyDuplex mode. It was a second-round candidate in the NIST Lightweight Cryptography process.

sLiSCP-light-256 uses SIMECK-based boxes in a four-branch generalised Feistel structure. SPIX applies a full-round permutation at initialisation and finalisation and a reduced number of steps when processing associated data and message blocks.

NextSSL implements SPIX with a 128-bit key, nonce and tag. SPIX and SpoC come from the same team and share the sLiSCP-light permutation family, differing mainly in mode design. Second-round candidates were evaluated by NIST on security, hardware and software performance and side-channel properties; ten were chosen as finalists in 2021, and Ascon was selected in 2023.

History

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

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

Requires unique nonces. No practical attacks are known on the full design, but it received less analysis than the finalists.

Typical uses

Low-area hardwareResearch on SIMECK-based permutations

Sizes

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

Other SPIX variants

2

Frequently asked questions

What is Spix?

Spix is an AEAD in the SPIX family. SPIX is a lightweight authenticated cipher that uses the 256-bit sLiSCP-light permutation in a monkeyDuplex mode.

What are the Spix sizes?

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

Who designed Spix and when?

Spix belongs to the SPIX family, first published in 2019 by Riham AlTawy, Guang Gong, Morgan He, Ashwin Jha, Kalikinkar Mandal, Mridul Nandi, Raghvendra Rohit. Its origin: NIST LWC round 2.

Which standards define Spix?

Spix is referenced by SPIX (NIST LWC round 2).

Is Spix safe to use?

Spix 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 SPIX variants are there?

NextSSL also registers spix128v1, spix128v1-lwc1 in the SPIX family.