Authenticated encryption

Drygascon-256

DrySponge mode on a GASCON permutation derived from Ascon; 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 Drygascon-256

Drygascon-256 is one of 4 DryGASCON variants in the NextSSL registry, an authenticated encryption (AEAD) scheme. It uses a 32-byte (256-bit) key, a 16-byte nonce and a 32-byte (256-bit) authentication tag. Its registry entry cites DryGASCON (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

DryGASCON is a lightweight authenticated cipher and hash built on GASCON, a generalisation of the Ascon permutation, in the DrySponge construction. It was a second-round candidate in the NIST Lightweight Cryptography process.

DrySponge differs from a plain duplex by mixing input into the state through a key-dependent mixing phase rather than direct XOR, with the aim of making side-channel attacks harder. DryGASCON128 uses a 320-bit GASCON permutation and DryGASCON256 a 576-bit version.

NextSSL includes DryGASCON128 with 16, 32 and 56-byte keys, DryGASCON256, and separate builds named by state size and key length (drygascon128k16 and drygascon256k32). Its longer key options (32 and 56 bytes for DryGASCON128) correspond to key formats defined in the specification.

History

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

    NIST Lightweight Cryptography project
  2. DryGASCON published by Sébastien Riou

  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. Security inherits much from Ascon's permutation analysis, but the DrySponge mode has had less independent review.

Typical uses

Side-channel-conscious embedded devicesResearch on Ascon-derived designs

Sizes

FieldBytesMeaning
key32Secret key
nonce16Nonce / IV
tag32Authentication 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(32), root.random(16)
ct = root.call("aead_seal", "drygascon-256", None, key, nonce, b"header", b"secret")[0]   # ct || tag
pt = root.call("aead_open", "drygascon-256", 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 Drygascon-256?

Drygascon-256 is an AEAD in the DryGASCON family. DryGASCON is a lightweight authenticated cipher and hash built on GASCON, a generalisation of the Ascon permutation, in the DrySponge construction.

What are the Drygascon-256 sizes?

In NextSSL, Drygascon-256 uses: key 32 bytes, nonce 16 bytes, tag 32 bytes.

Who designed Drygascon-256 and when?

Drygascon-256 belongs to the DryGASCON family, first published in 2019 by Sébastien Riou. Its origin: NIST LWC round 2.

Which standards define Drygascon-256?

Drygascon-256 is referenced by DryGASCON (NIST LWC round 2).

Is Drygascon-256 safe to use?

Drygascon-256 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 DryGASCON variants are there?

NextSSL also registers drygascon, drygascon128-aead, drygascon128-aead-lwc1 in the DryGASCON family.