LAMPS P. Liu, Ed. Internet-Draft R. Yang, Ed. Updates: 9481 (if approved) X. Liu, Ed. Intended status: Standards Track Y. Zhang, Ed. Expires: 5 June 2027 W. Zhang, Ed. Pengcheng Laboratory 2 December 2026 Certificate Confirmation Hash Algorithms for ML-DSA and SLH-DSA in CMP draft-liu-lamps-cmp-pqc-algorithms-01 Abstract This document updates RFC 9481 by specifying SHA-512 as the certificate-confirmation hash algorithm for certificates signed with ML-DSA or pure SLH-DSA when the optional hashAlg field is absent. It defines the applicable signature algorithm identifiers and follows the existing CMP processing of an explicit hashAlg. It does not select an algorithm suite for CMP or require support for a particular signature algorithm or parameter set. Discussion Status This note is to be removed before publishing as an RFC. This is an individual contribution for discussion in the Limited Additional Mechanisms for PKIX and SMIME (LAMPS) Working Group. It has not been adopted by the working group. This revision isolates the certificate-confirmation hash mapping from the broader algorithm profile in revision -00. The proposed SHA-512 mapping remains subject to working group review. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." Liu, et al. Expires 5 June 2027 [Page 1] Internet-Draft CMP PQ Certificate Confirmation December 2026 This Internet-Draft will expire on 5 June 2027. Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 2. Conventions and Terminology . . . . . . . . . . . . . . . . . 3 3. Certificate-Confirmation Hash Mapping . . . . . . . . . . . . 3 4. Processing the hashAlg Field . . . . . . . . . . . . . . . . 5 5. Update to RFC 9481 . . . . . . . . . . . . . . . . . . . . . 6 6. Security Considerations . . . . . . . . . . . . . . . . . . . 6 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 6 8. References . . . . . . . . . . . . . . . . . . . . . . . . . 6 8.1. Normative References . . . . . . . . . . . . . . . . . . 6 Appendix A. Changes from Revision -00 . . . . . . . . . . . . . 7 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 8 1. Introduction The Certificate Management Protocol (CMP) [RFC9810] uses the certConf message to confirm acceptance or rejection of issued certificates. Each CertStatus contains a certHash identifying the certificate being confirmed. Section 5.3.18 of RFC 9810 permits the hash to be specified by a convention associated with the certificate's signature algorithm. CMP Algorithms [RFC9481] already specifies such conventions for EdDSA. ML-DSA [RFC9881] and pure SLH-DSA [RFC9909] also need an explicit convention: their signature identifiers do not specify a unique external message-digest algorithm for certificate confirmation. Selecting a hash independently at each implementation can cause otherwise compatible CMP implementations to disagree on certHash. Liu, et al. Expires 5 June 2027 [Page 2] Internet-Draft CMP PQ Certificate Confirmation December 2026 This document specifies only that convention and the associated hashAlg processing. Selection of certificate algorithms, CMP protection algorithms, KEMs, and deployment algorithm suites is left to application and deployment specifications. No new CMP message, ASN.1 type, or algorithm identifier is defined. 2. Conventions and Terminology The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. DER(Certificate) denotes the Distinguished Encoding Rules encoding of the complete X.509 Certificate structure defined in [RFC5280], including signatureAlgorithm and signatureValue. All lengths in this document are in octets. 3. Certificate-Confirmation Hash Mapping When CertStatus.hashAlg is absent and the outer signatureAlgorithm of the certificate being confirmed identifies one of the algorithms in Table 1, the certHash in that CertStatus MUST be calculated as follows: certHash = SHA-512(DER(Certificate)) Liu, et al. Expires 5 June 2027 [Page 3] Internet-Draft CMP PQ Certificate Confirmation December 2026 +=======================+=========================+=========+ | Signature algorithm | Object identifier | Hash | +=======================+=========================+=========+ | id-ml-dsa-44 | 2.16.840.1.101.3.4.3.17 | SHA-512 | +-----------------------+-------------------------+---------+ | id-ml-dsa-65 | 2.16.840.1.101.3.4.3.18 | SHA-512 | +-----------------------+-------------------------+---------+ | id-ml-dsa-87 | 2.16.840.1.101.3.4.3.19 | SHA-512 | +-----------------------+-------------------------+---------+ | id-slh-dsa-sha2-128s | 2.16.840.1.101.3.4.3.20 | SHA-512 | +-----------------------+-------------------------+---------+ | id-slh-dsa-sha2-128f | 2.16.840.1.101.3.4.3.21 | SHA-512 | +-----------------------+-------------------------+---------+ | id-slh-dsa-sha2-192s | 2.16.840.1.101.3.4.3.22 | SHA-512 | +-----------------------+-------------------------+---------+ | id-slh-dsa-sha2-192f | 2.16.840.1.101.3.4.3.23 | SHA-512 | +-----------------------+-------------------------+---------+ | id-slh-dsa-sha2-256s | 2.16.840.1.101.3.4.3.24 | SHA-512 | +-----------------------+-------------------------+---------+ | id-slh-dsa-sha2-256f | 2.16.840.1.101.3.4.3.25 | SHA-512 | +-----------------------+-------------------------+---------+ | id-slh-dsa-shake-128s | 2.16.840.1.101.3.4.3.26 | SHA-512 | +-----------------------+-------------------------+---------+ | id-slh-dsa-shake-128f | 2.16.840.1.101.3.4.3.27 | SHA-512 | +-----------------------+-------------------------+---------+ | id-slh-dsa-shake-192s | 2.16.840.1.101.3.4.3.28 | SHA-512 | +-----------------------+-------------------------+---------+ | id-slh-dsa-shake-192f | 2.16.840.1.101.3.4.3.29 | SHA-512 | +-----------------------+-------------------------+---------+ | id-slh-dsa-shake-256s | 2.16.840.1.101.3.4.3.30 | SHA-512 | +-----------------------+-------------------------+---------+ | id-slh-dsa-shake-256f | 2.16.840.1.101.3.4.3.31 | SHA-512 | +-----------------------+-------------------------+---------+ Table 1: Certificate Signature Algorithms and Confirmation Hash The ML-DSA identifiers are defined in RFC 9881 and the twelve pure SLH-DSA identifiers are defined in RFC 9909. The signature AlgorithmIdentifier parameters MUST satisfy those specifications. This mapping does not make an invalid certificate signature or AlgorithmIdentifier acceptable. Liu, et al. Expires 5 June 2027 [Page 4] Internet-Draft CMP PQ Certificate Confirmation December 2026 The hash input is the complete certificate. It MUST NOT be replaced by TBSCertificate, SubjectPublicKeyInfo, or the subject public key. With SHA-512, the result is 64 octets. The mapping depends on the certificate's signature algorithm, independently of its subject- public-key algorithm and the protection algorithm used for certConf. For example, an ML-KEM certificate signed with ML-DSA-65 uses this mapping when hashAlg is absent. SHA-512 provides one fixed-length convention for all listed parameter sets and is already specified for use with CMP in Section 2.1 of RFC 9481. Its 512-bit output provides a classical generic collision resistance of 256 bits. This choice does not prescribe a hash inside ML-DSA or SLH-DSA, or assert an end-to-end security level for a CMP deployment. This mapping does not apply to HashSLH-DSA, composite signature algorithms, or other signature algorithms. Hash selection for certificates signed with algorithms outside the table continues to follow Section 5.3.18 of RFC 9810 and the applicable algorithm specification. 4. Processing the hashAlg Field For certificates covered by Table 1, the certConf sender SHOULD omit CertStatus.hashAlg because this document specifies a hash convention. Exceptional use of an explicit hashAlg continues to follow Section 5.3.18 of RFC 9810. When present, hashAlg identifies the algorithm used to compute certHash over the complete certificate, subject to supported algorithms and the application's security policy. A receiver implementing this mapping MUST support both an absent hashAlg and an explicit SHA-512 hashAlg. SHA-512 is identified by id-sha512 (2.16.840.1.101.3.4.2.3). Its AlgorithmIdentifier parameters MUST be absent when generated. Receivers MUST accept either absent parameters or an ASN.1 NULL value, as specified in [RFC5754]. Other SHA-512 parameter encodings MUST be rejected. If an explicit hashAlg identifies another supported and permitted hash, the receiver uses that algorithm according to its specification. An unsupported or disallowed algorithm MUST cause confirmation processing to fail. The receiver MUST check the certHash length for the selected algorithm; for SHA-512 it is 64 octets. It MUST NOT ignore an explicit hashAlg, select a hash from the subject public key, or try alternative hashes until one matches. Liu, et al. Expires 5 June 2027 [Page 5] Internet-Draft CMP PQ Certificate Confirmation December 2026 The version rules of RFC 9810 continue to apply. In particular, a certConf message containing hashAlg MUST indicate pvno cmp2021(3). This document does not introduce a further version requirement when hashAlg is omitted. 5. Update to RFC 9481 This document adds the certificate-confirmation hash mapping in Section 3 and the hashAlg processing rules in Section 4 to the algorithm conventions of RFC 9481. These rules supply the algorithm- specific convention referenced by Section 5.3.18 of RFC 9810. The EdDSA mappings in Section 3.3 of RFC 9481 continue to apply. The algorithm profiles and implementation requirements in Section 7 of RFC 9481 are unchanged. Support for this mapping does not require implementing every listed signature algorithm. 6. Security Considerations The security considerations of RFC 9481 and RFC 9810 apply. A certificate hash alone does not authenticate the certConf sender or establish that the certificate satisfies the request and issuance policy. Certificate validation, message protection, authorization, certReqId matching, and transaction-state checks remain necessary. The sender MUST compute certHash over the certificate whose acceptance or rejection is indicated by that CertStatus. A receiver MUST compare it with the hash of the corresponding issued certificate. Checking only the length or algorithm identifier does not verify confirmation. When encrypted-certificate confirmation serves as proof of possession, the non-disclosure and proof-of-possession requirements of Sections 5.2.8.3.2 and 8.11 of RFC 9810 apply. Specifying a confirmation hash does not relax those requirements. Use of a post-quantum signature on the certificate does not by itself provide post-quantum authentication of the management operation. The CMP protection, trust paths, and other algorithms remain subject to the application's security policy. 7. IANA Considerations This document has no IANA actions. 8. References 8.1. Normative References Liu, et al. Expires 5 June 2027 [Page 6] Internet-Draft CMP PQ Certificate Confirmation December 2026 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC5280] Cooper, D., Santesson, S., Farrell, S., Boeyen, S., Housley, R., and W. Polk, "Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile", RFC 5280, DOI 10.17487/RFC5280, May 2008, . [RFC5754] Turner, S., "Using SHA2 Algorithms with Cryptographic Message Syntax", RFC 5754, DOI 10.17487/RFC5754, January 2010, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [RFC9481] Brockhaus, H., Aschauer, H., Ounsworth, M., and J. Gray, "Certificate Management Protocol (CMP) Algorithms", RFC 9481, DOI 10.17487/RFC9481, November 2023, . [RFC9810] Brockhaus, H., von Oheimb, D., Ounsworth, M., and J. Gray, "Internet X.509 Public Key Infrastructure -- Certificate Management Protocol (CMP)", RFC 9810, DOI 10.17487/RFC9810, July 2025, . [RFC9881] Massimo, J., Kampanakis, P., Turner, S., and B. E. Westerbaan, "Internet X.509 Public Key Infrastructure -- Algorithm Identifiers for the Module-Lattice-Based Digital Signature Algorithm (ML-DSA)", RFC 9881, DOI 10.17487/RFC9881, October 2025, . [RFC9909] Bashiri, K., Fluhrer, S., Gazdag, S., Van Geest, D., and S. Kousidis, "Internet X.509 Public Key Infrastructure -- Algorithm Identifiers for the Stateless Hash-Based Digital Signature Algorithm (SLH-DSA)", RFC 9909, DOI 10.17487/RFC9909, December 2025, . Appendix A. Changes from Revision -00 This section is to be removed before publishing as an RFC. Liu, et al. Expires 5 June 2027 [Page 7] Internet-Draft CMP PQ Certificate Confirmation December 2026 * Narrowed the document to certificate-confirmation hashing and changed the title to reflect that scope. * Removed the baseline algorithm suite, signature-use profiles, KEM delivery profile, and KEM-based message-protection profile. * Listed the covered signature identifiers explicitly and retained the proposed SHA-512 mapping. * Applied the mapping when hashAlg is absent, preserved explicit hashAlg processing under RFC 9810, and limited the explicit version requirement to the cases defined there. Authors' Addresses Penghui Liu (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Email: liuph@pcl.ac.cn Rongwei Yang (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Email: yangrw@pcl.ac.cn Xiang Liu (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Email: liux15@pcl.ac.cn Yu Zhang (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Liu, et al. Expires 5 June 2027 [Page 8] Internet-Draft CMP PQ Certificate Confirmation December 2026 Email: zhangy08@pcl.ac.cn Weizhe Zhang (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Email: weizhe.zhang@pcl.ac.cn Liu, et al. Expires 5 June 2027 [Page 9]