# FIPS 204

**FIPS 204**，全称《基于模格的数字签名标准》（Module-Lattice-Based Digital Signature Standard），是美国国家标准与技术研究院（NIST）于2024年8月13日发布的联邦信息处理标准。该标准规定了ML-DSA，即一套用于生成和验证数字签名的算法。NIST表示，即使面对拥有大规模量子计算机的对手，该算法也被认为具有安全性。<sup>[1](https://csrc.nist.gov/pubs/fips/204/final)</sup> 该算法源自提交至NIST后量子密码标准化流程的CRYSTALS-Dilithium方案。<sup>[2](https://csrc.nist.gov/Projects/Post-Quantum-Cryptography/Post-Quantum-Cryptography-Standardization?data1=v2)</sup>

| 关键事实 | 详情 |
|---|---|
| 完整标题 | 基于模格的数字签名标准<sup>[1](https://csrc.nist.gov/pubs/fips/204/final)</sup> |
| 发布日期 | 草案2023年8月24日；最终版2024年8月13日<sup>[1](https://csrc.nist.gov/pubs/fips/204/final)</sup> |
| 规定算法 | ML-DSA，源自CRYSTALS-Dilithium<sup>[1](https://csrc.nist.gov/pubs/fips/204/final)</sup><sup> • </sup><sup>[2](https://csrc.nist.gov/Projects/Post-Quantum-Cryptography/Post-Quantum-Cryptography-Standardization?data1=v2)</sup>  |
| 参数集 | ML-DSA-44、ML-DSA-65和ML-DSA-87<sup>[3](https://www.rfc-editor.org/rfc/rfc9882.html)</sup> |
| 尺寸（ML-DSA-44） | 签名2,420字节，公钥1,312字节，而ECDSA P-256签名为64字节<sup>[4](https://www.techradar.com/pro/the-fixes-are-architectural-not-bigger-pipes-openssl-president-on-what-businesses-can-expect-and-how-to-prepare-for-a-post-quantum-internet)</sup> |
| 签名模式 | 纯模式与预哈希模式（HashML-DSA）；对冲式或确定性签名生成<sup>[5](https://www.rfc-editor.org/rfc/rfc9881.html)</sup> |
| 安全性声明 | 被认为可抵御拥有大规模量子计算机的对手<sup>[1](https://csrc.nist.gov/pubs/fips/204/final)</sup> |
| 配套标准 | FIPS 203（ML-KEM密钥封装）和FIPS 205（SLH-DSA无状态哈希签名），均于同日发布<sup>[1](https://csrc.nist.gov/pubs/fips/204/final)</sup><sup> • </sup><sup>[2](https://csrc.nist.gov/Projects/Post-Quantum-Cryptography/Post-Quantum-Cryptography-Standardization?data1=v2)</sup>  |

## 目的与安全目标

该标准涉及数字签名的三种用途：检测对数据的未经授权修改、认证签名者的身份，以及不可否认性——即接收方可以向第三方证明签名由所声称的签名者生成，而后者事后难以否认。<sup>[1](https://csrc.nist.gov/pubs/fips/204/final)</sup> 其显著特性是抗量子性。RSA和ECDSA等经典公钥签名依赖于足够强大的量子计算机能够解决的问题，因此NIST于2016年12月启动了一项公开的、类似竞赛的标准化流程，以遴选抗量子替代方案。<sup>[6](https://csrc.nist.rip/external/nvlpubs.nist.gov/nistpubs/ir/2025/NIST.IR.8545.pdf)</sup>

在该流程第三轮结束时，NIST选定了三种签名算法进行标准化：CRYSTALS-Dilithium、FALCON和SPHINCS+。尽管选定了多种算法，NIST推荐将CRYSTALS-Dilithium作为优先实现的主要算法，它在FIPS 204中成为ML-DSA。<sup>[7](https://csrc.nist.gov/pubs/ir/8413/upd1/final)</sup> FALCON正作为FN-DSA单独标准化，SPHINCS+则在FIPS 205中成为SLH-DSA。<sup>[8](https://csrc.nist.gov/Projects/pqc-dig-sig)</sup>

## ML-DSA算法

ML-DSA是一种基于格的方案：其安全性依赖于多项式模上格问题的困难性。<sup>[9](https://github.com/bhemen/PQC-Benchmarks)</sup> NIST关于该标准的介绍称，它有望成为NIST批准的通用主力签名方案。<sup>[10](https://csrc.nist.gov/csrc/media/Presentations/2024/fips-204/images-media/perlner-fips-204-pqc2024.pdf)</sup>

该标准定义了三个参数集：ML-DSA-44、ML-DSA-65和ML-DSA-87，每个参数集都有一个决定其安全级别的碰撞强度参数λ。<sup>[3](https://www.rfc-editor.org/rfc/rfc9882.html)</sup> 具体尺寸说明了相对于经典签名的代价：ML-DSA-44签名为2,420字节，公钥为1,312字节；ML-DSA-65签名为3,309字节，公钥为1,952字节；而ECDSA P-256签名仅为64字节。<sup>[4](https://www.techradar.com/pro/the-fixes-are-architectural-not-bigger-pipes-openssl-president-on-what-businesses-can-expect-and-how-to-prepare-for-a-post-quantum-internet)</sup>

**签名模式。** ML-DSA支持纯模式，即消息直接提供给签名算法；也支持称为HashML-DSA的预哈希模式，即先单独计算消息摘要。<sup>[5](https://www.rfc-editor.org/rfc/rfc9881.html)</sup> 签名生成可以是对冲式的，将新鲜随机性与私钥中预计算的随机数据混合；也可以是确定性的，仅取决于私钥和消息；两种方式使用相同的验证算法，因此选择不影响互操作性。<sup>[3](https://www.rfc-editor.org/rfc/rfc9882.html)</sup> 该算法内部使用SHAKE256进行哈希，并在签名前将公钥的SHAKE256哈希值前置到消息中，与HashML-DSA或传统RSA和ECDSA相比，这一设计增强了对碰撞攻击的抵抗力。<sup>[5](https://www.rfc-editor.org/rfc/rfc9881.html)</sup>

**安全属性。** 该方案在选择消息攻击下具有强不可伪造性（SUF-CMA），其安全强度估计假设攻击者最多可获取2<sup>64</sup>条选定消息的签名。<sup>[5](https://www.rfc-editor.org/rfc/rfc9881.html)</sup> 该设计避免了高斯采样，以便更容易实现抗侧信道攻击，但签名算法位解包函数中已证明的泄漏表明，实现时仍须谨慎，且存在以性能为代价的掩码对策。<sup>[5](https://www.rfc-editor.org/rfc/rfc9881.html)</sup>

## 标准化背景与迁移

FIPS 204是2024年8月13日发布的三项后量子标准之一，另外两项是FIPS 203（ML-KEM，源自CRYSTALS-KYBER）和FIPS 205（SLH-DSA，源自SPHINCS+）。<sup>[2](https://csrc.nist.gov/Projects/Post-Quantum-Cryptography/Post-Quantum-Cryptography-Standardization?data1=v2)</sup> 这些FIPS对联邦系统具有强制性，并已被世界各地的组织采用。<sup>[11](https://www.nist.gov/pqc)</sup> NIST预计，两项签名标准ML-DSA和SLH-DSA以及ML-KEM标准将为大多数后量子密码部署提供基础。<sup>[12](https://csrc.nist.gov/Projects/Post-Quantum-Cryptography?source=post_page---------------------------)</sup>

过渡遵循既定时间表：根据NIST IR 8547，量子脆弱算法将在2035年前被弃用并最终从NIST标准中移除，而高风险系统必须更早迁移。<sup>[12](https://csrc.nist.gov/Projects/Post-Quantum-Cryptography?source=post_page---------------------------)</sup> NIST的国家网络安全卓越中心开展了一项“向后量子密码迁移”项目，以展示发现工具和迁移实践。<sup>[13](https://csrc.nist.gov/pubs/pd/2021/08/04/migration-to-postquantum-cryptography/final)</sup>

## 部署与集成

协议和库的支持已紧随标准而来。RFC 9881定义了ML-DSA公钥和签名的X.509算法标识符，RFC 9882规定了其在密码消息语法（CMS）中的使用；两者均限于纯模式，RFC 9881主要出于互操作性原因在PKIX协议中禁止HashML-DSA。<sup>[5](https://www.rfc-editor.org/rfc/rfc9881.html)</sup><sup> • </sup><sup>[3](https://www.rfc-editor.org/rfc/rfc9882.html)</sup>  OpenSSL 3.5是2025年4月的长期支持版本，增加了对ML-KEM、ML-DSA和SLH-DSA的支持。<sup>[14](https://openssl-corporation.org/blog/2025-04-08-openssl-35-final-release.html)</sup> Cloudflare已在其产品中部署ML-DSA支持，并在其1.1.1.1解析器上启用了DNSSEC签名的ML-DSA-44验证，IANA为此分配了DNSSEC算法编号18。<sup>[15](https://developers.cloudflare.com/ssl/post-quantum-cryptography/)</sup><sup> • </sup><sup>[16](https://blog.cloudflare.com/post-quantum-dnssec-1111/)</sup>

尺寸仍是实际约束。Cloudflare的测量发现，向现有证书链添加超过10 kB会急剧提高客户端和中间盒的连接失败率，而插入Dilithium2（ML-DSA-44的前身）增加了约17 kB，并导致握手耗时中位数增加20%。<sup>[17](https://labhub.hopto.org/blog/2026-07-16-pq-certificates-merkle-tree-certs?lang=en)</sup> 简单地替换到浏览器证书链中（包括链签名和证书透明度时间戳），每个连接大约增加7至10 kB。<sup>[4](https://www.techradar.com/pro/the-fixes-are-architectural-not-bigger-pipes-openssl-president-on-what-businesses-can-expect-and-how-to-prepare-for-a-post-quantum-internet)</sup> 这些压力正推动默克尔树证书以及NIST正在评估的作为ML-DSA备份的额外签名方案的研究工作。<sup>[8](https://csrc.nist.gov/Projects/pqc-dig-sig)</sup><sup> • </sup><sup>[17](https://labhub.hopto.org/blog/2026-07-16-pq-certificates-merkle-tree-certs?lang=en)</sup>

NIST已发布电子表格形式的勘误表，列出若干小问题，将在该出版物的未来更新或修订中予以更正。<sup>[1](https://csrc.nist.gov/pubs/fips/204/final)</sup>

## References

1. [FIPS 204, Module-Lattice-Based Digital Signature Standard, NIST CSRC](https://csrc.nist.gov/pubs/fips/204/final)
2. [Post-Quantum Cryptography Standardization, NIST CSRC](https://csrc.nist.gov/Projects/Post-Quantum-Cryptography/Post-Quantum-Cryptography-Standardization?data1=v2)
3. [RFC 9882: Use of the ML-DSA Signature Algorithm in the Cryptographic Message Syntax (CMS)](https://www.rfc-editor.org/rfc/rfc9882.html)
4. [The fixes are architectural, not bigger pipes: OpenSSL President on preparing for a post-quantum internet, TechRadar](https://www.techradar.com/pro/the-fixes-are-architectural-not-bigger-pipes-openssl-president-on-what-businesses-can-expect-and-how-to-prepare-for-a-post-quantum-internet)
5. [RFC 9881: Internet X.509 Public Key Infrastructure -- Algorithm Identifiers for ML-DSA](https://www.rfc-editor.org/rfc/rfc9881.html)
6. [Status Report on the Fourth Round of the NIST Post-Quantum Cryptography Standardization Process, NIST IR 8545](https://csrc.nist.rip/external/nvlpubs.nist.gov/nistpubs/ir/2025/NIST.IR.8545.pdf)
7. [IR 8413, Status Report on the Third Round of the NIST Post-Quantum Cryptography Standardization Process, NIST CSRC](https://csrc.nist.gov/pubs/ir/8413/upd1/final)
8. [Post-Quantum Cryptography: Additional Digital Signature Schemes, NIST CSRC](https://csrc.nist.gov/Projects/pqc-dig-sig)
9. [PQC-Benchmarks repository (ML-DSA background)](https://github.com/bhemen/PQC-Benchmarks)
10. [FIPS 204 Update, NIST PQC 2024 presentation (Ray Perlner, NIST)](https://csrc.nist.gov/csrc/media/Presentations/2024/fips-204/images-media/perlner-fips-204-pqc2024.pdf)
11. [Post-quantum cryptography, NIST](https://www.nist.gov/pqc)
12. [Post-Quantum Cryptography project page, NIST CSRC](https://csrc.nist.gov/Projects/Post-Quantum-Cryptography?source=post_page---------------------------)
13. [Migration to Post-Quantum Cryptography, NIST CSRC](https://csrc.nist.gov/pubs/pd/2021/08/04/migration-to-postquantum-cryptography/final)
14. [OpenSSL 3.5 Final Release - Live, OpenSSL Corporation](https://openssl-corporation.org/blog/2025-04-08-openssl-35-final-release.html)
15. [Post-quantum cryptography (PQC), Cloudflare SSL/TLS docs](https://developers.cloudflare.com/ssl/post-quantum-cryptography/)
16. [1.1.1.1 now supports post-quantum DNSSEC, all 2,420 bytes of it, Cloudflare Blog](https://blog.cloudflare.com/post-quantum-dnssec-1111/)
17. [Why Post-Quantum Certificates Are Not Here Yet, LabHub Blog](https://labhub.hopto.org/blog/2026-07-16-pq-certificates-merkle-tree-certs?lang=en)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 物理学 › 量子物理学 › Quantum information science › Quantum communication and information theory

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/fips-204

English original: https://www.edgepedia.org/fips-204
