Digital signatures

Dilithium3aes

Round 3 Dilithium set at NIST level 3 with 1952-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 Dilithium3aes

Dilithium3aes is a digital signature scheme from the Dilithium3-AES (round 3) family. It uses a 1,952-byte public key, a 4,016-byte secret key and a 1–3,293-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

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

Dilithium3-AES (round 3) is the round 3 CRYSTALS-Dilithium parameter set for NIST security level 3. 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 1952-byte public key, a 4016-byte private key and signatures of up to 3293 bytes for dilithium3aes. 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. Dilithium3-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
pk1,952Public key
sk4,016Secret key
sig1 – 3,293Signature
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", "dilithium3aes", None, outs=2)
sig = root.call("sign_detached", "dilithium3aes", None, sk, b"message", b"")[0]
ok  = root.check("verify_detached", "dilithium3aes", 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 Dilithium3aes?

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

What are the Dilithium3aes sizes?

In NextSSL, Dilithium3aes uses: public key 1,952 bytes, signature 1 to 3,293 bytes.

Is Dilithium3aes post-quantum?

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

Who designed Dilithium3aes and when?

Dilithium3aes belongs to the Dilithium3-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 Dilithium3aes safe to use?

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