Papers

PQCImplement-Bench:评测 LLM 能否实现 NIST 后量子密码标准

PQCImplement-Bench: Evaluating LLMs on Implementing NIST Post-Quantum Standards in Production Cryptographic Libraries

Why we picked it

把 NIST 后量子密码标准变成能用的代码补丁,GPT-6.1-Sol、Kimi K3.1 Pro、GLM-5.3-FlashX 表现差距很大,最高和最低差出几十个百分点。做密码库维护或安全审计的人值得看看这份基准,它能直接告诉你该给智能体喂多细的规格说明。

arXiv 论文 2612.03088 发布 PQCImplement-Bench,首个评测编码智能体将 NIST 后量子密码标准(FIPS 203-205:ML-KEM、ML-DSA、SLH-DSA)落地为现有密码库补丁的基准。基准包含 15 个任务,源自 9 个仓库的 14 个 PR,覆盖 7 种编程语言,每个任务配有改动前的仓库快照和经过评审的规格说明。

Body

评测采用两个独立判定器:仓库测试衡量代码在库内是否正确,NIST 验证向量衡量是否符合标准本身。在 OpenHands 框架中,仅给问题陈述时 GPT-6.1-Sol 在验证向量上平均通过率 29.0%、仓库测试 18.9%;加入接口规格后,GPT-6.1-Sol 在验证向量上达 100%,Kimi K3.1 Pro 为 55.8%,GLM-5.3-FlashX 仅 6.7%;仓库测试上三者分别为 93.7%、52.4%、0.0%。

结果显示接口规格说明是关键变量,缺失时模型输出大量不合规实现,对维护密码库的团队意味着直接丢标准文档给智能体并不可靠。数据集和评测框架已随论文开源。

Original · arXiv cs.AI

PQCImplement-Bench: Evaluating LLMs on Implementing NIST Post-Quantum Standards in Production Cryptographic Libraries

A large-scale quantum computer would break the public-key cryptography that protects today's communications, and NIST has standardized ML-KEM, ML-DSA, and SLH-DSA (FIPS 203-205) as replacements that cryptographic libraries must implement. It remains unexplored whether coding agents can turn such a standard into a working and conforming patch for an existing library. This paper presents PQCImplement-Bench, a benchmark comprising 15 tasks derived from 14 pull requests across nine repositories and seven programming languages, each pairing a pre-change repository snapshot with a reviewed specification of requirements and interfaces. The benchmark grades patches with two independent test oracles that separate correctness within the repository from conformance to the standard. One oracle consists of relevant repository tests, and the other consists of NIST validation vectors for each standard. We evaluate three models, GPT-6.1-Sol, Kimi K3.1 Pro, and GLM-5.3-FlashX in OpenHands. Given only the problem statement, GPT-6.1-Sol reaches a mean pass rate of 29.0% on the validation vectors and 18.9% on repository tests. With the interface specification added, the pass rate for GPT-6.1-Sol rises to 100%, while Kimi K3.1 Pro reaches 55.8% and GLM-5.3-FlashX 6.7%. On the repository tests, the three models reach mean pass rates of 93.7%, 52.4%, and 0.0%. We release the dataset and evaluation framework for future research.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include PQCImplement-Bench, ML-KEM, post-quantum cryptography, GPT-6.1-Sol.

Source attribution: curated from arXiv cs.AI (@Souhardya Saha Dip, Moshood A. Fakorede, A. B. Siddique, Umar Farooq). Cross-source corroboration: 2 independent sources have covered this development (including Ate-a-Pi), confirming industry-wide signal strength.

Spotted an error in the summary or translation? Tell us