---
title: "Post-quantum cryptography audit checklist"
description: "Checklist for auditing post-quantum cryptography: specification conformance, input validation, side channels, randomness, protocol integration and crypto-agility."
url: "https://pqt-19a6ffd695e12a.pages.dev/audit-checklist/"
site: "PQ Tracker, maintained by zkSecurity"
reviewed: "2026-11-25"
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Audit checklist

Scope for a review of a post-quantum implementation or integration.

**zkSecurity** · Reviewed 2026-11-25

## Specification conformance

- Implements the final FIPS 203/204/205 (2024-08-13) or SP 800-208, not a pre-standard round submission
- Passes the NIST ACVP / CAVP known-answer tests for every parameter set shipped
- Domain-separation bytes, context strings, and pre-hash variants match the standard exactly
- FN-DSA and HQC have no final standard yet: the exact specification version targeted is pinned and documented

## Input validation

- ML-KEM: modulus check on encapsulation keys, hash check on decapsulation keys, length checks on ciphertexts
- ML-KEM, HQC, FrodoKEM: the re-encryption check compares the entire ciphertext and every value the specification binds; a partial comparison is a key-recovery bug
- ML-DSA / SLH-DSA: bounds checks on all decoded signature components; reject malformed encodings before any secret operation
- Stateful signatures: verifier validates parameter identifiers and index ranges
- Hybrids: reject degenerate classical inputs (for example an all-zero X25519 result) so one component cannot be nulled

## Side channels

- No secret-dependent branches, memory accesses, or variable-time arithmetic (division, modular reduction, floating point)
- Rejection-sampling loops do not leak secret-correlated information
- Verified with tooling (for example ctgrind, dudect, or formal methods), not by inspection alone
- Constant-time behaviour is checked in the compiled binary for each supported compiler and optimization level; compilers have turned constant-time source into secret-dependent branches in ML-KEM, HQC and FrodoKEM code

## Randomness and hedging

- Fresh seeds from an approved DRBG for every key generation and encapsulation
- ML-DSA and SLH-DSA use hedged signing unless there is a documented reason for deterministic mode
- Fault-attack countermeasures for signing on devices an attacker can reach physically or co-locate with: hedging alone does not stop fault attacks on ML-DSA, and hash-based signing is exposed to Rowhammer and glitching

## Protocol integration

- Hybrid combiners bind both shared secrets and both ciphertexts (RFC 10024, SP 800-227)
- Key-share encoding order matches the named group definition
- Downgrade and negotiation paths cannot silently drop the post-quantum component
- Stateful signature state is persisted atomically, never cloned, and survives crash and restore; a failed lock or write must abort signing

## Crypto-agility and operations

- Algorithm identifiers are negotiated or versioned so a future switch (for example to HQC or FN-DSA) does not require a protocol redesign
- Key and signature sizes are accounted for in storage, MTU, and DoS budgets
- Documented migration plan aligned to the NIST IR 8547, CNSA 2.0, EU, or UK NCSC timeline that applies

Algorithm-specific checks are listed on each [algorithm page](https://pqt-19a6ffd695e12a.pages.dev/algorithms/). The incidents behind these items are recorded in the [feed](https://pqt-19a6ffd695e12a.pages.dev/feed/?type=attacks).
