Clx128q
Lightweight AEAD family with 128, 192 and 256-bit key instances; NIST LWC round 1
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 Clx128q
Clx128q is an authenticated encryption (AEAD) scheme from the CLX family. It uses a 16-byte (128-bit) key, a 12-byte nonce and an 8-byte (64-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
CLX is a family of lightweight authenticated ciphers submitted to the first round of the NIST Lightweight Cryptography process. NextSSL includes instances with 128, 192 and 256-bit keys in h and q variants.
The NextSSL identifiers encode the key size (128, 192 or 256 bits) and a variant letter, h or q, defined in the submission; clx128 is a base build. All instances use a 96-bit nonce and a 64-bit tag.
CLX did not advance beyond the first round, and public analysis is limited. The first round of the NIST process opened in 2019 with 56 candidates, and 32 were selected for the second round later that year.
History
2018–2025NIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectCLX 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
Requires unique nonces. The 64-bit tag limits forgery resistance per attempt. It was not selected for the second round, and independent analysis is limited; treat it as research-only.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| nonce | 12 | Nonce / IV |
| tag | 8 | 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(16), root.random(12)
ct = root.call("aead_seal", "clx128q", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "clx128q", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("clx128q", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("clx128q", 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, "clx128q", &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.
Similar names
Looking for something else?More authenticated encryption
All 392Frequently asked questions
What is Clx128q?
Clx128q is an AEAD in the CLX family. CLX is a family of lightweight authenticated ciphers submitted to the first round of the NIST Lightweight Cryptography process.
What are the Clx128q sizes?
In NextSSL, Clx128q uses: key 16 bytes, nonce 12 bytes, tag 8 bytes.
Who designed Clx128q and when?
Clx128q belongs to the CLX family, first published in 2019. Its origin: NIST Lightweight Cryptography, round 1.
Is Clx128q safe to use?
Clx128q 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).
Related families
Lightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD
AsconNIST's lightweight standard: one 320-bit permutation for hashing, XOFs, MACs and AEAD