Authenticated encryption

Ascon-Aead128

Lightweight permutation-based AEAD; NIST lightweight standard (SP 800-232)

standard Safe API

About Ascon-Aead128

Ascon-Aead128 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 NIST SP 800-232 (Ascon-AEAD128). NextSSL lists it in the standard tier and exposes it through the safe API.

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–2025
  1. CAESAR competition for authenticated encryption announced

    CAESAR competition
  2. Ascon published by Christoph Dobraunig, Maria Eichlseder, Florian Mendel, Martin Schläffer

  3. 57 first-round candidates published

    CAESAR competition
  4. Second round announced

    CAESAR competition
  5. Third round announced

    CAESAR competition
  6. Finalists announced

    CAESAR competition
  7. NIST calls for lightweight AEAD and hashing designs

    NIST Lightweight Cryptography project
  8. Final portfolio: Ascon, ACORN, AEGIS-128, Deoxys-II, COLM and OCB

    CAESAR competition
  9. 56 round-1 candidates accepted; 32 advance to round 2 in August

    NIST Lightweight Cryptography project
  10. Ten finalists announced

    NIST Lightweight Cryptography project
  11. Ascon selected as the lightweight standard

    NIST Lightweight Cryptography project
  12. Specified in NIST SP 800-232

  13. Ascon published in NIST SP 800-232

    NIST Lightweight Cryptography project

How it works

  1. Load the IV, key and nonce into the 320-bit state and apply 12 permutation rounds, then XOR the key into the state.
  2. Absorb associated data at the rate, with 6 or 8 rounds between blocks, followed by a domain-separation bit.
  3. XOR each plaintext block into the rate to produce ciphertext, permuting between blocks.
  4. 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

Microcontrollers, RFID and sensor nodesHardware with tight area or energy budgetsProtocols that want one primitive for AEAD and hashing

Sizes

FieldBytesMeaning
key16Secret key
nonce16Nonce / IV
tag16Authentication tag

Use it

from nextssl_demo import NextSSL

ns = NextSSL()              # safe API: safe and standard tiers
key, nonce = ns.random(16), ns.random(16)
ct = ns.call("aead_seal", "ascon-aead128", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = ns.call("aead_open", "ascon-aead128", 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 Ascon variants

3

Frequently asked questions

What is Ascon-Aead128?

Ascon-Aead128 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-Aead128 sizes?

In NextSSL, Ascon-Aead128 uses: key 16 bytes, nonce 16 bytes, tag 16 bytes.

Who designed Ascon-Aead128 and when?

Ascon-Aead128 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-Aead128?

Ascon-Aead128 is referenced by NIST SP 800-232 (Ascon-AEAD128).

Is Ascon-Aead128 safe to use?

Ascon-Aead128 is in the standard tier. Standardised and sound. Reachable from the safe API. It can be called from the safe API.

What other Ascon variants are there?

NextSSL also registers ascon-80pq, ascon-aead128a, ascon80pqv12 in the Ascon family.