← Back to section · Standards & Specifications

ACVP in Depth: How Algorithm Validation Became a Machine-to-Machine Automated Test

The ACVP turned algorithm correctness testing from manual test-vector exchanges into an automated service built on an open protocol. This article explains its session and vector-set mechanics, how pass/fail is decided, what it can and cannot prove, and why it matters specifically for PQC deployment.

Published 22 November 2026 · 5 min read · PQ Frontier

ACVP in Depth: How Algorithm Validation Became a Machine-to-Machine Automated Test
AI-generated site artwork
Video explainer · Certification Schemes: the certification tree

Within the CMVP chain, the ACVP is the earliest and most “engineering-like” link. The question it answers is narrow: does this implementation compute correctly? Yet for more than twenty years that narrow question was handled by a manual process — until the ACVP automated it completely. This article goes inside the ACVP’s mechanics and lays out how it works and where its limits lie.

From CAVP to ACVP: Why Automate

The ACVP’s predecessor, the CAVP (Cryptographic Algorithm Validation Program), used a file-exchange model: laboratories obtained test vector files from NIST, handed them to the vendor’s implementation to run, and sent the result files back for comparison. With few algorithm types, that workflow was workable; but as combinations of algorithms and parameters exploded — ML-KEM alone has three parameter sets, multiple internal functions, and encoding paths — manual exchange became untenable in both timeliness and consistency.

The ACVP (Automated Cryptographic Validation Protocol) reframes validation as an online service: NIST maintains a public protocol specification along with demo and production servers, and implementers (usually organised by an accredited laboratory) interact with the server through a structured interface. Test vectors are generated by the server on demand, based on the capabilities the implementation registers; judging is also done by the server; the whole process is logged and reproducible. Algorithm validation thereby changed from a “project” into a “pipeline” — and became key infrastructure for the CMVP to work through its backlog in recent years.

How the Protocol Works: Sessions, Vector Sets, and Judgement

A single ACVP validation proceeds in roughly four steps. First, capability registration: the implementation declares to the server which algorithms, modes, parameter sets, and key lengths it supports, and the server fixes the test scope accordingly. Second, fetching vector sets: the server generates a series of test sessions, each containing large numbers of input vectors — known-answer tests give fixed inputs and demand exact outputs, while Monte Carlo-style tests feed each round’s output back as the next round’s input, chaining a thousand rounds or more to expose state-handling errors. Third, local execution and upload: the implementation runs the vectors offline and uploads the results. Fourth, server judgement: results are compared one by one, and only a complete pass completes the algorithm validation; the outcome is entered into the ACVP’s public validation list and becomes a reference point for subsequent module validation.

In practice, implementers usually complete development-stage self-testing first on the ACVP demo server: the same protocol runs the full registration, fetching, and judgement flow, exposing interface and formatting problems early; only when ready do they move, under a laboratory’s organisation, to the production server, which produces the formal results the CMVP can reference. Having both environments lowers the cost of trial and error in formal submission and lets laboratories cite structured test records at the reporting stage instead of collating scattered files. NIST also publicly maintains the ACVP test specification documents for each algorithm and the list of validated implementations, so anyone can see which implementations have passed for a given algorithm and which modes and parameters the testing covered — that list is itself a public dashboard of ecosystem maturity.

Two design points are easily overlooked. First, the vectors are generated on demand by the server from the registered capabilities rather than issued as a fixed question bank, so implementers cannot “study for the test” against fixed vectors — the test is genuinely more adversarial. Second, the passing standard is all-or-nothing: one wrong answer among a million vectors voids the whole set, and the implementer must fix the problem and draw a fresh vector set to retest — a remarkably strict sieve for the corner cases of PQC implementations, such as rejection-sampling paths and the implicit-rejection behaviour when decapsulation fails.

What the ACVP Proves — and What It Does Not

The boundary must be drawn sharply: passing the ACVP proves that the implementation produces correct output on the inputs covered by the test vectors — nothing more. It does not check whether the implementation is constant-time, does not evaluate side-channel leakage, does not examine the entropy quality of key generation (that is the job of entropy source validation), and does not care where keys are stored or who may invoke them — all of that belongs to FIPS 140-3 module validation and implementation engineering. Marketing “algorithm validation passed” as “the implementation is secure” is a common act of conceptual substitution.

Conversely, failing to appear on the ACVP list, or not yet having an ACVP result, does not necessarily mean an implementation “computes wrongly”: the more common situations are that the test specification for that algorithm is not yet online, or the implementation has not completed the registration process. The right question is what exactly is missing from the list, not a blanket judgement.

Why It Matters Specifically for PQC

For post-quantum algorithms, the ACVP carries an additional, leading-indicator significance: the testing capability itself has to be built first. ML-KEM’s encapsulation and decapsulation, ML-DSA’s signature verification, and SLH-DSA’s enormous parameter space each need a dedicated test specification — how vectors are generated, how randomness-dependent internals are reproduced deterministically for testing, how judging rules treat randomised signatures. These specifications are developed by NIST together with the community and implemented on the server side before any vendor implementation can be submitted. So when watching the progress of the PQC validation ecosystem, the rollout pace of ACVP test specifications is the earliest visible signal: specification online, first implementations passing, module validations referencing them — three steps that occur in sequence, each separated by a considerable interval.

Closing

The ACVP’s value is that it turned “computes correctly” into a scalable, automated judgement, offloading the most standardisable segment of the whole validation system. But it remains only a ticket to entry: a correct algorithm does not make a compliant module, and a validated module does not make a secure deployment. When reading any vendor’s validation claims, first distinguish whether they concern an ACVP-level algorithm result or a CMVP-level module certificate — their weight and applicable scenarios differ entirely.

Tags: ACVPAlgorithm ValidationCAVPAutomated Testing