What PQClean covers, and what it leaves to your team
A team considering PQClean as a dependency should first understand what it is. PQClean is an open-source collection of standalone C implementations of post-quantum schemes drawn from the NIST post-quantum project, and its README states that the code is meant to be used by other libraries and frameworks that integrate it. The README places integration, benchmarking, randomness and hashing outside its scope, which means the PQClean limits that matter most are the work it hands back to you. The repository is retired and archived as read-only on 4 August 2026, so you should plan for that status before treating it as a long-term foundation.
The README says the user must supply randombytes, and possibly SHA-2, AES, SHA-3 and cSHAKE, so key generation randomness and hashing remain your team's responsibility. It also says the common implementations may not be the most performant and may allocate heap memory for testing. Its automated checks cover branching on secret data and access to secret memory locations under valgrind, but the README notes that some checks were still being developed and makes no broader side-channel claim. Confirm each of these points against your own build and threat model rather than assuming the checks cover your deployment.
Scope gaps also appear in the algorithm names and the update record. The README uses pre-standard names such as Kyber, Dilithium and SPHINCS+ rather than ML-KEM, ML-DSA and SLH-DSA, and it lists no stateful hash-based signatures such as LMS or XMSS. The last release is dated 19 April 2023, and the retirement issue says many implementations are out of date. Its SECURITY.md describes vulnerability handling as limited and best effort. Before adoption, your team should decide who owns patching, algorithm mapping to FIPS 203, 204 and 205, and any signature scheme PQClean does not provide.
PQClean at a glance: owner, status and what the repository documents
This table compares what the PQClean repository states about its owner, purpose, deployment model, naming, release history, archive status and licensing. Read each row as a claim the project makes about itself, then check the cited repository pages for the current state. The main takeaway is that the project is retired and read-only, so any use should be planned as a fixed, self-maintained dependency.
| Item | What the repository documents | What to confirm before use |
|---|---|---|
| Owner | Maintained within the PQClean GitHub organization, described as clean, portable, tested implementations of post-quantum cryptography. | Confirm the organization and repository you are reviewing match the one named in the project's README. |
| Stated purpose | The README says it collects C implementations of schemes from the NIST post-quantum project as standalone code that other libraries and frameworks can integrate. | Do not assume it is a single integrated library. The README says it is not meant to be built as one. |
| Deployment model | Standalone code that other libraries and frameworks integrate. The README says the user must supply randombytes and possibly SHA-2, AES, SHA-3 and cSHAKE. | Your team owns integration, randomness and hashing. Plan for that work before adoption. |
| Post-quantum naming | Uses pre-standard names Kyber, Dilithium and SPHINCS+, rather than ML-KEM, ML-DSA or SLH-DSA. | Map names to the final NIST standards (FIPS 203, 204 and 205) yourself, and confirm the scheme parameters match what you need. |
| Last release | Latest tag is round3, titled as the last version before round-4 candidates were removed, published 2023-04-19. | Check the releases page for any newer tag, since the repository shows none in the cited data. |
| Archive status | The repository is retired and archived as read-only, with the archive dated 4 August 2026. The README states this directly. | Expect no new fixes or upgrades from the project. Confirm the archive status on the live repository before you commit. |
| Licensing | The project does not publish a price. Licensing terms are stated on the repository itself. | Check the repository's license file directly. This page does not state the license type. |
Why PQClean is not an integrated library your team can drop in
PQClean's README says the project is not meant to be built as a single integrated library. It collects C implementations of schemes from the NIST post-quantum project as standalone code that other libraries and frameworks can integrate. For a team, this means PQClean supplies scheme code to build on, not a finished cryptographic module. Before any implementation goes into a product, the team needs to decide who writes the wrapper that calls the schemes, which schemes are selected for use, and how those schemes connect to the protocols or applications that consume keys and signatures. Those decisions and that code belong to the integrator.
The README also says PQClean does not aim to include benchmarking or higher-level application or protocol integration. Three items fall to the integrator as a result: the randomness source the code depends on (the README says the user must supply randombytes), the hash and symmetric primitives it may need (SHA-2, AES, SHA-3 and cSHAKE, as the README lists), and performance measurement. The README notes the common implementations may not be the most performant and may allocate heap memory for testing, so a team should measure memory and speed in its own environment before committing.
Confirm three things early: which PQClean tag or commit you will pin, whether the scheme names you plan to use match the pre-standard names in the code (Kyber, Dilithium and SPHINCS+ rather than ML-KEM, ML-DSA and SLH-DSA), and who will receive security fixes given that the repository is archived and read-only. Compare these against the NIST standards FIPS 203, FIPS 204 and FIPS 205 at NIST's FIPS 203 page. Any gap between pinned code and current standards is a task your team must plan and staff.
What your team must supply: randomness, hashing and the rest
PQClean's README says the user must supply the randombytes function. Key generation and the randomized steps of several schemes need a source of random bytes, and PQClean does not provide one for you to rely on. The integration point is a function your build links against, so the choice of entropy source sits with your team rather than with the library.
- Supplied function: the README names
randombytesas something the user provides, so a build without it will not link. - Entropy source: your team chooses the source behind that function and documents where its bytes come from.
- Platform differences: the same interface can be backed by different operating system or hardware sources, so test each target you ship.
- Testing hooks: the test harness may replace
randombyteswith deterministic output, and that build must never reach production. - Review record: keep a written note of the entropy source for each deployment, since a reviewer will ask about it.
Before release, confirm which function your build calls for randomness, which source backs it on each platform, and that no test substitute is compiled into production binaries.
The README says the user may need SHA-2, AES, SHA-3 and cSHAKE from the integrator. Several schemes call these primitives internally, so the build depends on them being present and correct. PQClean does not hand you a complete hashing and symmetric-primitive layer, which means your team decides where those functions come from and how they are checked.
- Primitive list: the README names SHA-2, AES, SHA-3 and cSHAKE as possible requirements, so confirm which apply to each scheme you build.
- Source selection: your team picks the implementation of each primitive, whether from an existing library in your stack or from another project.
- Version pinning: record the exact version of every supplied primitive, since a change there can change scheme behavior.
- Interface match: check that the supplied functions match the signatures PQClean expects, and do not assume compatibility from names alone.
- Verification: test your combined build against known-answer vectors from the relevant specification before trusting the output.
Before relying on a build, list every primitive it calls, record the source and version of each, and run known-answer tests for the combination you ship.
The README says the common implementations may not be the most performant. PQClean prioritizes clean, portable and tested reference code, so speed on your target hardware is not something the repository promises. Any performance expectation has to come from your own measurements, and tuning choices belong to your team.
- Reference focus: the code is written to be clear and portable, which the README places ahead of maximum speed.
- No benchmarking included: the README says benchmarking is not an aim of the project, so timing data must come from your own harness.
- Target hardware: measure on the processors and environments you deploy to, since results will vary by platform and compiler.
- Optimized alternatives: if speed matters, your team must evaluate whether an optimized implementation fits your security and licensing review.
- Regression tracking: set baseline timings and re-run them after each change to the code or toolchain.
Before committing to a performance target, measure the build on your real hardware, record the compiler and flags used, and decide whether the reference code meets the requirement.
The README says implementations may allocate heap memory for testing. That means some code paths, especially test and benchmark harnesses, can use dynamic allocation, and your team must decide how memory behaves in the production build. The README does not state a memory-management policy for deployments, so the integrator needs to confirm it.
- Test-time allocation: the README acknowledges heap use for testing, so review which functions allocate before shipping.
- Production build: confirm that the code you ship does not depend on test-only allocation paths.
- Allocator checks: run your build under a memory checker to find leaks, invalid accesses and uninitialized reads.
- Secret material: decide how secret key bytes are cleared and where they may be held, since the README does not cover this in the text cited here.
- Embedded targets: constrained devices may not tolerate dynamic allocation, so verify the build against that limit.
Before release, run the build under a memory checker, confirm which allocation paths reach production, and document how secret material is handled in your deployment.
Which schemes and names PQClean does not cover under current NIST standards
PQClean is a useful reference collection, but its contents do not match the final NIST standards one to one. The cards below cover the naming, scheme and maintenance gaps a buyer must close with other tools or with their own review before relying on it for a migration.
Pre-standard names instead of FIPS names
PQClean's README lists algorithms under their pre-standard names: Kyber for key encapsulation, and Dilithium and SPHINCS+ for signatures. The final NIST standards are FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA), and the names do not map one to one. A team inventorying code or configuration must map each PQClean name to the corresponding FIPS standard and confirm the parameter sets and encodings it actually uses. Read the standards themselves at the NIST FIPS 203, 204 and 205 pages before treating any PQClean implementation as matching a final standard.
FIPS 203 textNo stateful hash-based signatures
The README lists no stateful hash-based signature schemes such as LMS or XMSS. A buyer who needs those schemes, for example for firmware or code signing, will need a different library or a separate implementation. Absence from PQClean is not a finding about those schemes, but it does mean PQClean cannot be the only source for hash-based signing. Confirm which signature families your use cases require before scoping PQClean in or out.
Dropped schemes kept under old tags
Schemes dropped in NIST rounds 3 and 4 remain in PQClean only under the round2 and round3 tags. Teams that clone the default branch will not find them there, and a pinned old tag carries the code as it stood at that point. Check which tag your build references and whether any dependency pulls in a dropped scheme. Treat those implementations as historical reference rather than as candidates for new deployments.
Last release dated 2023-04-19
The most recent release in the repository is the round3 tag, titled as the last version before round-4 candidates were removed, and it is dated 2023-04-19. The repository is now archived and read-only, and a retirement issue says many implementations are out of date and that catching up would take a large amount of work. Ask whether the implementations you plan to use match current NIST standards, because the release history does not show them being updated to match the final FIPS texts.
Retirement issueConfirm the implementations you need
Before adopting any PQClean code, list the exact algorithms, parameter sets and FIPS standards your product requires, then check each one against the implementation itself rather than against its name. The sources listed on this page do not establish that any PQClean implementation matches a final standard. Ask your cryptography owner or the implementation's maintainers to confirm compatibility for the versions you plan to run.
How far the documented side-channel checks reach
PQClean's README lists automated checks for two properties: no branching on secret data and no access to secret memory locations. These checks are run with valgrind, and the README notes that some automated checks were still being developed when it was written. A reader evaluating a PQClean implementation should treat these checks as what the project documents, and nothing more. The README describes them as a suitable starting point for evaluating implementation security, and it makes no broader side-channel claim. It does not say the code resists timing attacks in general, and it does not say which checks are complete. Ask the maintainers, or your own reviewers, which of the planned checks were finished before you rely on any particular result.
Because the README makes no broader claim, the residual risk stays with the team that embeds the code. Compare the scope with mlkem-native, which states that power and EM side channels, microarchitectural side channels and fault injection are out of its scope. Those are the kinds of risk a buyer should raise with any implementation, PQClean included. Valgrind-based checks do not observe power consumption, electromagnetic emissions or faults induced in hardware, and they do not model the behavior of a specific CPU's caches or speculative execution. Plan for these gaps in the threat model. Decide whether the deployment faces a physical or local attacker, whether the code runs on shared hardware, and whether an independent side-channel review or lab testing is needed for that exposure.
Write the open questions into your evaluation record so they are not left implicit. Record which automated checks you ran, the valgrind version and build settings, and which checks the README describes as still in development. Note that PQClean is retired and archived as read-only, so fixes for any side-channel finding will not come from the upstream project. A finding would have to be handled by your own team or a paid party. Treat the absence of a documented claim as an absence of evidence, not as evidence of safety. Confirm the result with your own test runs on the exact code version and target hardware you deploy.
Where PQClean stops and the rest of the work begins
The diagram starts at the PQClean scheme implementations, which are standalone C code for the schemes from the NIST post-quantum project. Randomness from randombytes, hashing through SHA-2, AES, SHA-3 or cSHAKE, protocol and application integration, and benchmarking are all work the integrator must supply, because the README says PQClean does not aim to include them or to be built as a single integrated library. Side-channel testing is limited to the valgrind-based checks for branching on secret data and access to secret memory, which the README calls a starting point, not a broader side-channel claim. Maintenance and vulnerability handling sit outside the project too: the repository is archived as read-only and SECURITY.md describes vulnerability handling as best effort. Check each hand-off before relying on the implementation.
PQClean covers the scheme implementations; the surrounding pieces are the integrator's or reviewers' work.
What retirement and best-effort security handling mean for upkeep
If your team adopts PQClean code, the upkeep of that code moves to your team. The project's retirement changes who maintains the implementations, and the project's own statements set expectations for what remains. PQClean issue 604 says many implementations are out of date and that catching up would take a large amount of work. The SECURITY.md file says vulnerability handling capacity is limited and delivered at best effort. The repository is now archived and read-only, so no new fixes, releases or pull requests will be merged there. Treat the last release, tagged round3 and dated 2023-04-19, as a snapshot, not a maintained baseline.
In practice, you should plan to carry the monitoring and patching yourself. Assign an owner to track public vulnerability reports for each scheme you vendor, including the schemes kept only under the round2 and round3 tags. Decide in advance who reviews a report, who decides whether to patch, replace or remove a scheme, and how quickly that decision must be made. Ask whether your security function has the capacity to do this for every copy of the code in your build, since a vendored copy does not update itself when the upstream project changes.
Downstream projects are already adjusting to the wind-down, which is useful evidence when you plan your own path. liboqs 0.16.0 removed SPHINCS+ and moved the default ML-DSA to mldsa-native, and liboqs issue #2341 discusses how PQClean's wind-down affects Classic McEliece, HQC, Kyber, Falcon and SPHINCS+. Check the release notes and that issue for each scheme you use, and confirm with the liboqs maintainers which copy of an algorithm they ship and how they expect it to be kept current. Compare any alternative source against the ML-KEM, ML-DSA and SLH-DSA names in NIST FIPS 203, 204 and 205, since PQClean uses the pre-standard names.
How to evaluate what PQClean leaves for you to do
This sequence turns the open question of PQClean's scope into a written record of what the project supplies, what your team must supply, and who answers for each gap. It ends with a dated decision that a reviewer can check against your estate.
Inventory every cryptographic use in your estate
List each place your systems use cryptography, including key exchange, signatures, certificates, hashing, symmetric encryption and random number generation. For each entry, mark whether PQClean would supply that piece as a C reference implementation, and note the component, service or repository that owns it. The output is a table with one row per use and a column that says either PQClean supplies it or it does not. Ask an engineering owner to confirm each row before you move on.
Confirm randomness and hashing sources
The PQClean README says the integrator must supply randombytes and may need SHA-2, AES, SHA-3 and cSHAKE. For each implementation you plan to use, identify which of these your build links against and where each one comes from. Record the source library, its version and the owner who reviews it. The check is complete when every required primitive has a named source and a named reviewer, and none depends on an unlisted default.
Map pre-standard names to FIPS 203, 204 and 205
PQClean uses the pre-standard names Kyber, Dilithium and SPHINCS+, and its README lists no stateful hash-based signatures such as LMS or XMSS. Build a table that maps each name in your code and documents to its standard: Kyber to ML-KEM in FIPS 203, Dilithium to ML-DSA in FIPS 204, and SPHINCS+ to SLH-DSA in FIPS 205. Confirm the mapping against the NIST documents themselves, because the pre-standard and final parameter sets may differ. Mark any scheme with no standard match, since reviewers will ask about it.
Decide how side-channel and fault testing happens
The PQClean README describes its automated checks, run with valgrind, for branching on secret data and access to secret memory, and says some checks were still being developed. It makes no broader side-channel claim. Decide which tests you will run for power, electromagnetic, microarchitectural and fault-injection risk, and who will run them, whether an internal team or an outside lab. Write down the test plan and the owner. The step is done when the plan names the tests, the performer and the evidence each will produce.
Plan upkeep for a retired repository
The PQClean repository was archived and made read-only on 4 August 2026, and its last release is dated 2023-04-19. The retirement issue says many implementations are out of date, and SECURITY.md says vulnerability handling is best effort. Decide who will track upstream advisories, who will apply fixes, and whether you will maintain a fork. Confirm with your security team how a vulnerability report would reach your engineers. The check is complete when a named owner can describe the response path for a newly reported flaw.
Record the decision and its owner
Write a single decision record that lists the in-scope cryptographic uses, the supplied and missing pieces, the randomness and hashing sources, the standard mapping, the testing plan and the upkeep owner. Give the record a date and a named owner who approves it. Store it with your architecture documents so a compliance or vendor-risk reviewer can find it. The step is complete when the owner has signed off and the record links to each of the earlier outputs.
Questions to put to the maintainers or to any supplier before adopting PQClean
Who will fix vulnerabilities in PQClean now that it is archived, and on what timeline?
Nobody has committed to a fix timeline. PQClean's repository was archived and made read-only on 4 August 2026, and its README states that PQClean is retired. The SECURITY.md file says vulnerability handling capacity is limited and delivered at best effort, so you should not assume a patch will arrive on any schedule. Ask any supplier you rely on whether they will backport fixes, who staffs that work, and what their response window is in writing. If no one will commit, plan to own the patching yourself or move to an actively maintained implementation.
What side-channel and fault testing has been done on PQClean, and what does it not cover?
The README lists automated checks for no branching on secret data and no access to secret memory locations, run with valgrind, and it notes that some of these checks were still being developed. The README describes them as a suitable starting point for evaluating implementation security and makes no broader side-channel claim. Power and electromagnetic analysis, microarchitectural side channels and fault injection are not covered by that description. Ask for the test reports, and treat the absence of documented testing for these attacks as an open risk for any high-value deployment.
Which randomness and hashing sources must we supply when we integrate PQClean?
PQClean's README says the integrator must supply randombytes, and may need to supply SHA-2, AES, SHA-3 and cSHAKE depending on the scheme. Key generation randomness and hashing therefore remain your team's responsibility rather than something the library provides. Confirm which random number generator your platform uses, how it is seeded, and whether it meets your own requirements. Check each scheme's documentation for the exact primitives it calls, since the required set differs between algorithms.
Which NIST final standard does each PQClean implementation track?
PQClean uses the pre-standard names Kyber, Dilithium and SPHINCS+, and lists Falcon, HQC and Classic McEliece. It does not use the final names ML-KEM, ML-DSA and SLH-DSA. NIST's final standards are FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA). The mapping between pre-standard and final parameters is not a simple rename, so do not assume a PQClean build is interoperable with FIPS-compliant output. Ask each supplier which final standard their build targets and which parameter sets it uses, and confirm this against the FIPS documents themselves.
Is there a supported path for stateful hash-based signatures such as LMS or XMSS in PQClean?
No. The README lists no stateful hash-based signatures such as LMS or XMSS. If you need those schemes for firmware signing or similar use cases, PQClean will not cover them, and you will need a different library. Before you commit, ask your supplier or the library's maintainers whether a supported route exists, and what state management and key handling that route requires. Do not assume that a stateless scheme such as SLH-DSA can replace a stateful one for your use case without checking.
What license governs the PQClean code we will embed in our product?
Confirm the license text in the repository itself before you ship anything, and have your legal or vendor-risk team review it. Check whether the license permits embedding, modification and redistribution under your product's terms, and whether it carries attribution or notice requirements. Also check whether any individual implementation within the collection carries a different license. Record the exact license and version you reviewed, because a later change in the repository should trigger a fresh review.
Who will maintain the code we depend on in six months, and what happens if no one does?
Nothing in the PQClean documentation commits anyone to maintaining it beyond the archive. The retirement issue states that many implementations are out of date and that catching up would take a large amount of work. Plan for the worst case: assume no upstream fixes, no new scheme updates and no compatibility updates from liboqs, which removed SPHINCS+ and moved default ML-DSA to mldsa-native in 0.16.0. Decide now whether you will fork and maintain the code, switch to an actively maintained library, or pay a supplier to carry the maintenance, and write that decision into your roadmap.
How DeployOpen works on this
PQClean provides standalone C implementations and leaves integration, key generation randomness, hashing, benchmarking and broader side-channel assurance to the team. DeployOpen scopes that remaining work in writing, builds and tests it inside your environment, and hands over documentation your engineers can maintain.
How we scope
- We map which PQClean schemes your systems would call and which parts of the surrounding stack you must supply yourself.
- We identify the randombytes source, SHA-2, AES, SHA-3 and cSHAKE dependencies your integration would need to provide.
- Engagements are fixed-scope, with deliverables and boundaries agreed in writing before any work starts.
How we build
- We integrate chosen PQClean implementations into your build, documenting which assurance checks you have and have not run.
- We test for side-channel exposure beyond the automated valgrind checks, and state clearly where those checks stop.
- We review heap allocation and performance characteristics against your workload, since the README says these were not optimized.
How we hand over
- You receive documentation covering the integration, the supplied dependencies and the residual risks your team still owns.
- We record the retirement status and last release date, so your reviewers see that the upstream project is archived read-only.
- Handover includes a plan for tracking which schemes you use under the pre-standard names and their FIPS 203, 204 and 205 equivalents.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, covering dependencies no longer maintained upstream.
- Retainers can cover tracking of liboqs and other downstream changes that affect PQClean-based code you depend on.
- Ask us to confirm in writing which parts of the upstream project remain your responsibility after each retainer period.

