跳到正文
arXiv cs.AI· Souhardya Saha Dip, Moshood A. Fakorede, A. B. Siddique, Umar Farooq·· 3 天前AI 评分39

PQCImplement-Bench:评测 LLM 在生产密码库中实现 NIST 后量子标准的能力

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

AI 导读

研究者提出 PQCImplement-Bench 基准,包含来自 14 个 pull request、9 个仓库和 7 种编程语言的 15 个任务,评测编码智能体能否将 NIST 后量子标准 ML-KEM、ML-DSA、SLH-DSA(FIPS 203-205)转化为密码库的可用补丁。

正文 · 原文

View PDF HTML (experimental)

Abstract: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.
Comments: 10 pages, 1 figure, 6 tables
Subjects: Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI); Software Engineering (cs.SE)
Cite as: arXiv:2612.03088 [cs.CR]
  (or arXiv:2612.03088v1 [cs.CR] for this version)
  https://doi.org/10.48550/arXiv.2612.03088

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Moshood Fakorede [view email]
[v1] Wed, 2 Dec 2026 03:47:46 UTC (96 KB)

来源:arXiv cs.AI · arxiv.org