QianHeng乾珩 PQC Docs Hub量子文档 ✦ Ask AI✦ 问问文档 ⚐ Scan⚐ 扫一扫

PQC & AI large models

Post-quantum cryptography and AI intersect in three distinct ways: AI helps find and fix cryptographic risk, PQC helps protect AI systems and their secrets, and the two combine in privacy-preserving machine learning. None of these means "AI broke PQC" — a caveat we return to at the end.

1. AI assisting cryptography & migration

Large language models are increasingly useful for the unglamorous work of crypto inventory and remediation. LLM-based crypto-misuse detection has been studied on real codebases (arXiv 2407.16576) where a model surfaced 63 new vulnerabilities — though roughly half were false positives, underscoring that human review remains mandatory. Tooling such as CryptoLLM and LLM-driven CBOM / crypto-asset discovery automates building the cryptographic bill of materials that any migration depends on.

Research is pushing toward end-to-end automation, combining PQC-aware detection, semantic refactoring, and hybrid verification, with LLM-assisted quantum-safe code auditing an active area of exploration.

On the commercial side, CBOM and crypto-discovery tools include SandboxAQ AQtive Guard, IBM Quantum Safe Explorer, and Keyfactor Command Risk Intelligence (Keyfactor acquired InfoSec Global in May 2025). See Discovery & inventory and Migration.

Important grounding: ML-aided cryptanalysis works only on reduced-round or toy ciphers (eprint 2025/1306). By contrast, ML-KEM and Dilithium have machine-checked security proofs (EasyCrypt / Jasmin, CRYPTO 2024) — the formal guarantees run the opposite direction of any AI "attack" hype.

2. Protecting AI with PQC

AI infrastructure is itself a HNDL target. The Cloud Security Alliance paper "Harvest Now, Decrypt Later: Quantum Risk to AI Infrastructure" recommends signing model artifacts and SBOMs with ML-DSA so provenance survives a quantum break. Per vendor materials/roadmaps, NVIDIA confidential computing (Hopper / Blackwell GPU TEE plus remote attestation) uses hybrid ML-KEM-1024 and is crypto-agile by design. PQC TLS protects AI and API traffic end to end, including Cloudflare's PQC SASE. Per vendor materials/roadmaps, Google's 2029 quantum-safe target explicitly includes Android ML-DSA. See Hybrid deployment.

3. PQC + privacy-preserving ML

Federated learning and other privacy-preserving ML schemes rely on cryptographic aggregation that must itself become quantum-safe. Post-quantum secure aggregation using a key-homomorphic PRF, and code-based aggregation, let a server combine client updates without learning individual contributions. Combinations of FHE (fully homomorphic encryption) with quantum federated learning are an active research frontier. See Resources.

Grounding caveat — AI did not break PQC. The 2023 "Kyber broken by AI" headlines described a deep-learning-enhanced side-channel attack on a leaky implementation, not a break of the underlying math (Cloudflare, blog.cloudflare.com/kyber-isnt-broken/). Grover's algorithm gives only a quadratic speedup against symmetric primitives, addressed by doubling key sizes. Treat sensational preprints — e.g. transformer "attacks" on ECC — with skepticism pending peer review. As of June 2026 there is no verified Chinese-LLM (e.g. DeepSeek) PQC product; only industry "密码+AI" roadmap talk exists. Snapshot as of June 2026 — verify before citing.

Standards & references

PQC 与 AI 大模型

后量子密码与 AI 在三个层面交汇:AI 帮助发现并修复密码学风险,PQC 帮助保护 AI 系统及其密钥,二者又在隐私保护机器学习中结合。但这都不等于"AI 攻破了 PQC",我们会在文末专门澄清这一点。

1 AI 辅助密码学与迁移

大模型在枯燥但关键的密码资产盘点与修复工作上越来越有用。基于 LLM 的密码误用检测已在真实代码库上研究过(arXiv 2407.16576):模型发现了 63 个新漏洞,但约一半为误报,说明人工复核仍不可或缺。CryptoLLM 以及 LLM 驱动的 CBOM / 密码资产发现可自动构建迁移所依赖的密码物料清单。

相关研究正推动端到端自动化,结合 PQC 感知检测、语义重构与混合验证;LLM 辅助的抗量子代码审计也是活跃的探索方向。

商业侧的 CBOM 与密码发现工具包括 SandboxAQ AQtive GuardIBM Quantum Safe ExplorerKeyfactor Command Risk Intelligence(Keyfactor 于 2025 年 5 月收购 InfoSec Global)。参见 资产发现与盘点迁移

重要澄清:ML 辅助的密码分析仅在缩减轮数或玩具级密码上有效(eprint 2025/1306)。相反,ML-KEM 与 Dilithium 拥有机器可验证的安全性证明(EasyCrypt / Jasmin,CRYPTO 2024),其形式化保证与任何 AI"攻破"的炒作方向恰恰相反。

2 用 PQC 保护 AI

AI 基础设施本身就是 HNDL 的目标。云安全联盟(CSA)报告《Harvest Now Decrypt Later 量子风险与 AI 基础设施》建议用 ML-DSA 对模型工件与 SBOM 签名,使来源可信在量子破解后依然成立。据厂商材料/公开路线图,NVIDIA 机密计算(Hopper / Blackwell GPU TEE 加远程证明)采用混合 ML-KEM-1024,并在设计上支持密码敏捷。PQC TLS 端到端保护 AI 与 API 流量,包括 Cloudflare PQC SASE。据厂商材料/公开路线图,Google 的 2029 抗量子目标明确包含 Android ML-DSA。参见 混合部署

3 PQC 与隐私保护机器学习

联邦学习等隐私保护 ML 方案所依赖的密码聚合本身也必须抗量子。基于密钥同态 PRF 的后量子安全聚合,以及基于编码的聚合,让服务器在不获知单个客户端贡献的前提下合并更新。FHE(全同态加密)与量子联邦学习的结合是活跃的研究前沿。参见 资源链接

关键澄清:AI 并未攻破 PQC。 2023 年"AI 攻破 Kyber"的标题,描述的是针对存在泄漏实现的深度学习增强侧信道攻击,而非底层数学被攻破(Cloudflare blog.cloudflare.com/kyber-isnt-broken/)。Grover 算法对对称原语仅提供平方级加速,通过加倍密钥长度即可应对。对耸动的预印本(例如针对 ECC 的 transformer"攻击"),在通过同行评审前应保持怀疑。截至 2026 年 6 月,尚不存在已验证的中文大模型(如 DeepSeek)PQC 产品,仅有业界"密码+AI"路线图层面的讨论。本文为 2026 年 6 月快照,引用前请自行核实。

标准与参考

⚑ Report an error⚑ 纠错与校正