Ascon-Aead128a
Lightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)
Experimental or unclassified. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About Ascon-Aead128a
Ascon-Aead128a is one of 4 Ascon variants in the NextSSL registry, 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 Ascon v1.2 (NIST LWC finalist), Ascon-128a. 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
Ascon is a family of lightweight authenticated ciphers built on a 320-bit permutation in a duplex mode. It was the first choice for lightweight use in the CAESAR final portfolio and was selected by NIST in 2023 as the lightweight cryptography standard, published as SP 800-232.
Ascon uses a 320-bit state organised as five 64-bit words and a permutation of substitution and linear-diffusion layers designed for efficient bitsliced implementation. Encryption follows a monkeyDuplex-style sponge: the key and nonce initialise the state, data is absorbed at the rate, and the key is mixed in again at initialisation and finalisation, which provides some robustness against state-recovery attacks.
NextSSL includes Ascon-128 and Ascon-128a from the v1.2 submission (64-bit and 128-bit rates), Ascon-80pq with a 160-bit key, and Ascon-AEAD128 as standardised in SP 800-232, which differs from Ascon-128a in byte ordering and padding details. The bi32 entries are bit-interleaved implementations optimised for 32-bit processors; they compute the same functions.
History
2013–2025CAESAR competition for authenticated encryption announced
CAESAR competitionAscon published by Christoph Dobraunig, Maria Eichlseder, Florian Mendel, Martin Schläffer
57 first-round candidates published
CAESAR competitionSecond round announced
CAESAR competitionThird round announced
CAESAR competitionFinalists announced
CAESAR competitionNIST calls for lightweight AEAD and hashing designs
NIST Lightweight Cryptography projectFinal portfolio: Ascon, ACORN, AEGIS-128, Deoxys-II, COLM and OCB
CAESAR competition56 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 projectSpecified in NIST SP 800-232
Ascon published in NIST SP 800-232
NIST Lightweight Cryptography project
How it works
- Load the IV, key and nonce into the 320-bit state and apply 12 permutation rounds, then XOR the key into the state.
- Absorb associated data at the rate, with 6 or 8 rounds between blocks, followed by a domain-separation bit.
- XOR each plaintext block into the rate to produce ciphertext, permuting between blocks.
- XOR the key in, apply 12 rounds and output the tag from the state XORed with the key.
Security notes
Ascon requires unique nonces; nonce reuse leaks plaintext information and can reduce authenticity. Its key-mixing finalisation means a recovered internal state does not directly yield forgeries for other nonces. Prefer the SP 800-232 Ascon-AEAD128 for new deployments.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| nonce | 16 | Nonce / IV |
| tag | 16 | Authentication 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", "ascon-aead128a", None, key, nonce, b"header", b"secret")[0] # ct || tag
pt = root.call("aead_open", "ascon-aead128a", None, key, nonce, b"header", ct)[0]
nextssl_root_aead_seal("ascon-aead128a", NULL, key, nonce, aad, pt, out); /* writes ct || tag */
nextssl_root_aead_open("ascon-aead128a", 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, "ascon-aead128a", &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 Ascon variants
3Similar names
Looking for something else?More authenticated encryption
All 392Frequently asked questions
What is Ascon-Aead128a?
Ascon-Aead128a is an AEAD in the Ascon family. Ascon is a family of lightweight authenticated ciphers built on a 320-bit permutation in a duplex mode.
What are the Ascon-Aead128a sizes?
In NextSSL, Ascon-Aead128a uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.
Who designed Ascon-Aead128a and when?
Ascon-Aead128a belongs to the Ascon family, first published in 2014 by Christoph Dobraunig, Maria Eichlseder, Florian Mendel, Martin Schläffer. Its origin: CAESAR final portfolio (lightweight); NIST LWC winner (SP 800-232).
Which standards define Ascon-Aead128a?
Ascon-Aead128a is referenced by Ascon v1.2 (NIST LWC finalist), Ascon-128a.
Is Ascon-Aead128a safe to use?
Ascon-Aead128a 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 Ascon variants are there?
NextSSL also registers ascon-80pq, ascon-aead128, ascon80pqv12 in the Ascon family.
Related families
DrySponge mode on a GASCON permutation derived from Ascon; NIST LWC round 2
ISAPLeakage-resilient permutation-based AEAD designed against DPA; NIST LWC finalist
Schwaemm (SPARKLE)ARX permutation-based AEAD from the SPARKLE suite; NIST LWC finalist
XoodyakCyclist-mode AEAD and hash on the Xoodoo permutation; NIST LWC finalist
DryGASCONA NIST LWC second-round candidate using an Ascon-derived permutation in a 'DrySponge' mode
SPARKLE (Esch)A NIST LWC finalist family whose Esch hash uses the ARX-based SPARKLE permutation