Authenticated encryption

Ascon80pqv12

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

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 Ascon80pqv12

Ascon80pqv12 is one of 4 Ascon variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 20-byte (160-bit) key, a 16-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

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
key20Secret key
nonce16Nonce / 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(20), root.random(16)
ct = root.call("aead_seal", "ascon80pqv12", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "ascon80pqv12", 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 Ascon80pqv12?

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

In NextSSL, Ascon80pqv12 uses: key 20 bytes, nonce 16 bytes, tag 16 bytes.

Who designed Ascon80pqv12 and when?

Ascon80pqv12 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).

Is Ascon80pqv12 safe to use?

Ascon80pqv12 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 Ascon variants are there?

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