Digital signatures

Dilithium5aes

Round 3 Dilithium set at NIST level 5 with 2592-byte public keys and AES expansion

unverified Root API only Post-quantum
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 Dilithium5aes

Dilithium5aes is a digital signature scheme from the Dilithium5-AES (round 3) family. It uses a 2,592-byte public key, a 4,880-byte secret key and a 1–4,595-byte signature. It is designed to resist attacks by large quantum computers. 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

Dilithium5-AES (round 3) is a module-lattice signature from the round 3 CRYSTALS-Dilithium parameter sets, aimed at NIST security level 5. Its record shows 2592-byte public keys and signatures of up to 4595 bytes.

Dilithium5-AES (round 3) is the round 3 CRYSTALS-Dilithium parameter set for NIST security level 5. Dilithium signs by committing to a masked lattice vector, deriving a challenge from the commitment and the message, and rejecting responses that could leak the secret. This entry uses AES for the expansion of its public matrix and masks, and AES in counter mode replaces SHAKE in those steps, which can help where AES hardware is available.

NextSSL's record gives a 2592-byte public key, a 4880-byte private key and signatures of up to 4595 bytes for dilithium5aes. The public key sizes across the three round 3 levels are level 2 1312 bytes, level 3 1952 bytes, level 5 2592 bytes, so each step up trades bigger keys and signatures for a larger security margin.

Dilithium was the basis of ML-DSA in FIPS 204. Use the standardised ML-DSA parameter sets for new systems, because the round 3 values here differ slightly in key size from the final standard. Because all six Dilithium records in this file share the same lattice structure, comparing levels 2, 3 and 5 shows how the security margin, key sizes and signature sizes move together. The NextSSL record is unverified and is kept for research and comparison.

History

2016–2025
  1. NIST calls for post-quantum KEMs and signatures

    NIST Post-Quantum Cryptography standardisation
  2. Dilithium5-AES published

  3. 69 complete round-1 submissions published

    NIST Post-Quantum Cryptography standardisation
  4. 26 candidates advance to round 2

    NIST Post-Quantum Cryptography standardisation
  5. Round 3 finalists and alternates announced

    NIST Post-Quantum Cryptography standardisation
  6. Kyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens

    NIST Post-Quantum Cryptography standardisation
  7. FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published

    NIST Post-Quantum Cryptography standardisation
  8. HQC selected as a second KEM

    NIST Post-Quantum Cryptography standardisation

How it works

  1. KeyGen samples a public matrix from a seed and short secret vectors, and publishes a rounded product as the public key.
  2. Sign commits to a masked vector, hashes the commitment with the message into a challenge, and returns a response that passes a rejection test.
  3. Verify rebuilds the commitment from the response and public key, applies the rounding hints and checks the challenge hash.

Security notes

The lattice assumptions match ML-DSA at this level, but this round 3 parameter set differs slightly from FIPS 204 and the NextSSL record is unverified.

Typical uses

Research and comparison with the FIPS 204 ML-DSA parameter setsTesting against round 3 known-answer vectors

Sizes

FieldBytesMeaning
pk2,592Public key
sk4,880Secret key
sig1 – 4,595Signature
seed0Seed
ctx0Context string

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
pk, sk = root.call("sign_keygen", "dilithium5aes", None, outs=2)
sig = root.call("sign_detached", "dilithium5aes", None, sk, b"message", b"")[0]
ok  = root.check("verify_detached", "dilithium5aes", None, pk, b"message", b"", sig)

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Frequently asked questions

What is Dilithium5aes?

Dilithium5aes is a signature in the Dilithium5-AES (round 3) family. Dilithium5-AES (round 3) is a module-lattice signature from the round 3 CRYSTALS-Dilithium parameter sets, aimed at NIST security level 5.

What are the Dilithium5aes sizes?

In NextSSL, Dilithium5aes uses: public key 2,592 bytes, signature 1 to 4,595 bytes.

Is Dilithium5aes post-quantum?

Yes. Dilithium5aes is a post-quantum signature: it is designed to resist attacks by large quantum computers. Its tier in NextSSL is unverified.

Who designed Dilithium5aes and when?

Dilithium5aes belongs to the Dilithium5-AES (round 3) family, first published in 2017 by Leo Ducas, Eike Kiltz, Tancrede Lepoint, Vadim Lyubashevsky, Peter Schwabe, Gregor Seiler, Damien Stehle. Its origin: NIST PQC standardisation, round 3 parameter set.

Is Dilithium5aes safe to use?

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