LAMPS P. Liu, Ed. Internet-Draft R. Yang, Ed. Updates: 8696, 9629 (if approved) X. Liu, Ed. Intended status: Standards Track Y. Zhang, Ed. Expires: 4 June 2027 W. Zhang, Ed. Pengcheng Laboratory 1 December 2026 Using Key Encapsulation Mechanisms with External Pre-Shared Keys in the Cryptographic Message Syntax (CMS) draft-liu-lamps-cms-kem-psk-00 Abstract This document specifies a Cryptographic Message Syntax (CMS) recipient mechanism that combines a key encapsulation mechanism (KEM) shared secret and an independently provisioned, high-entropy external pre-shared key (PSK). Both secret contributions participate in deriving the key-encryption key used to wrap a content-encryption key. An explicit recipient type distinguishes this mechanism from KEM-only or PSK-only processing. This document updates RFC 8696 by adding a KEM-with-PSK mechanism alongside its key-transport-with-PSK and key-agreement-with-PSK mechanisms. It updates RFC 9629 by specifying a separate KEM-and-PSK recipient structure and its key derivation conventions. It leaves the syntax and processing of the existing recipient types unchanged. This revision specifies ML-KEM-768, HKDF-SHA-256, AES-256 Key Wrap, and AES-256-GCM for the CMS authenticated-enveloped-data content type. 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. The combiner, context binding, and recipient structure are proposals for cryptographic and interoperability review. The authors seek evidence of deployment requirements and feedback on the scope of the proposed Updates relationships. Liu, et al. Expires 4 June 2027 [Page 1] Internet-Draft CMS KEM with External PSK December 2026 The three identifiers marked TBD1, TBD2, and TBD3 are requested assignments, not assigned object identifiers. Appendix B uses documentation-only identifiers to make an example reproducible. Those identifiers are not an experimental protocol allocation or suitable for production use. 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." This Internet-Draft will expire on 4 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 . . . . . . . . . . . . . . . . . . . . . . . . 3 2. Conventions and Terminology . . . . . . . . . . . . . . . . . 4 3. Scope and Security Objective . . . . . . . . . . . . . . . . 5 4. Mechanism Overview . . . . . . . . . . . . . . . . . . . . . 5 5. KEMPSKRecipientInfo . . . . . . . . . . . . . . . . . . . . . 6 6. Two-Secret Key Derivation . . . . . . . . . . . . . . . . . . 8 6.1. Combiner Identifier . . . . . . . . . . . . . . . . . . . 8 6.2. Derivation Context . . . . . . . . . . . . . . . . . . . 8 6.3. Extract and Expand . . . . . . . . . . . . . . . . . . . 9 Liu, et al. Expires 4 June 2027 [Page 2] Internet-Draft CMS KEM with External PSK December 2026 7. Authenticated Content Encryption . . . . . . . . . . . . . . 10 8. Originator Processing . . . . . . . . . . . . . . . . . . . . 11 9. Recipient Processing . . . . . . . . . . . . . . . . . . . . 12 10. External PSK Provisioning and Lifecycle . . . . . . . . . . . 13 11. Multiple Recipients, Capabilities, and Downgrade Policy . . . 14 12. Failure Handling and Resource Limits . . . . . . . . . . . . 15 13. Updates to RFC 8696 and RFC 9629 . . . . . . . . . . . . . . 16 14. Security Considerations . . . . . . . . . . . . . . . . . . . 16 14.1. Independent Contributions and Compromise . . . . . . . . 16 14.2. Context and Algorithm Binding . . . . . . . . . . . . . 17 14.3. Origin Authentication, Replay, and Key Confirmation . . 17 14.4. Primitive Selection and Implementation . . . . . . . . . 18 15. Privacy Considerations . . . . . . . . . . . . . . . . . . . 18 16. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 19 17. References . . . . . . . . . . . . . . . . . . . . . . . . . 19 17.1. Normative References . . . . . . . . . . . . . . . . . . 19 17.2. Informative References . . . . . . . . . . . . . . . . . 21 Appendix A. ASN.1 Module . . . . . . . . . . . . . . . . . . . . 22 Appendix B. Documentation-Only Derivation Example . . . . . . . 24 Appendix C. Interoperability Evaluation Cases . . . . . . . . . 25 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 26 1. Introduction CMS [RFC5652] supports several mechanisms for delivering a symmetric content-encryption key to a recipient. [RFC8696] combines an external PSK with a secret obtained through key transport or key agreement. [RFC9629] defines KEMRecipientInfo for delivering a content key using a KEM shared secret. [RFC9936] specifies ML-KEM for that recipient type. The RFC 8696 structures do not directly carry the KEMRecipientInfo defined in RFC 9629: KeyTransPSKRecipientInfo contains KeyTransRecipientInfo values, while KeyAgreePSKRecipientInfo uses the key-agreement structure. Conversely, the ordinary KEMRecipientInfo does not identify an external PSK or specify how one participates in key derivation. A deployment can require a recipient's decapsulation key and a separately provisioned secret to contribute to the same decryption path. For example, an archival delivery service could manage a recipient's KEM private key in one security domain and a high-entropy delivery PSK in another. Such a separation is an illustrative requirement, not a claim of a measured deployment or automatic protection against compromise of the receiving application. Liu, et al. Expires 4 June 2027 [Page 3] Internet-Draft CMS KEM with External PSK December 2026 This document defines KEMPSKRecipientInfo and a two-secret HKDF convention for this purpose. It binds recipient-specific metadata and the content-encryption algorithm into the derivation context. An implementation recognizing only the existing KEMRecipientInfo cannot process this mechanism as ordinary KEM-only encryption. ML-KEM alone already provides a post-quantum key-encapsulation mechanism. An external PSK is not a prerequisite for using ML-KEM securely. The additional contribution specified here is useful only where the provisioning, independence, lifecycle, and policy for the PSK meet the deployment's requirements. 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. Originator The entity constructing a CMS authenticated envelope. Recipient An entity authorized to open that envelope. External PSK A secret provisioned independently of the KEM operation, with the entropy and lifecycle requirements in Section 10. ss The shared secret produced by KEM encapsulation or decapsulation. It is distinct from the external PSK. PRK The pseudorandom key output by HKDF-Extract. KEK The key-encryption key used to wrap a CMS content key. CEK The CMS content-authenticated-encryption key. In this document it is the 32-octet key used with AES-256-GCM. Authorized configuration Configuration that binds an application and intended recipient to the accepted KEM credential, PSK identifier, and required protection mechanism. DER(X) is the ASN.1 Distinguished Encoding Rules encoding of X. Hexadecimal strings describe octets, and all lengths in the derivation equations are in octets. ASN.1 absent parameters and a present NULL value are different encodings. The terms salt, IKM, info, and L have the meanings defined in HKDF [RFC5869]. Liu, et al. Expires 4 June 2027 [Page 4] Internet-Draft CMS KEM with External PSK December 2026 3. Scope and Security Objective This revision specifies KEMPSKRecipientInfo only for AuthEnvelopedData [RFC5083] using ML-KEM-768, the combiner in Section 6, AES-256 Key Wrap, and AES-256-GCM. EnvelopedData, AuthenticatedData, password-derived PSKs, additional KEM parameter sets, composite KEMs, and other combiners are outside this revision. Their use requires a separate specification or a revision that defines their complete processing rules. The confidentiality objective is that, for an honestly constructed envelope, learning one secret contribution alone should not suffice to recover the KEK while the other contribution remains independent and secure. This objective assumes the KEM, HKDF, wrapping algorithm, authenticated encryption, provisioning, and implementation retain their required properties. This document does not claim a general proof of robustness against arbitrary related or adversarially chosen secret contributions. The mechanism is not threshold cryptography, a two-party authorization protocol, or a substitute for local access control. An originator knows the CEK. A recipient that has recovered the CEK can disclose it or the plaintext. A compromised process able to invoke both secret operations can defeat a separation between storage domains. The authenticated envelope supplies content integrity after key recovery; it does not establish a unique sender identity. Anyone with the PSK and the recipient's public KEM key can construct a new valid envelope, including the recipient itself. Applications requiring sender identity MUST use a separate, appropriate authentication mechanism, such as a validated CMS signature, and bind it to the expected application context. 4. Mechanism Overview The originator obtains and validates an authorized recipient KEM credential and selects the corresponding external PSK from authorized configuration. It generates a fresh CEK and an AES-GCM nonce, and fixes the content type and content-encryption AlgorithmIdentifier before deriving any recipient KEK. For each recipient, the originator performs a fresh KEM encapsulation, constructs KEMPSKOtherInfo, and combines ss with the external PSK using Section 6. It wraps the CEK with the resulting KEK and stores the per-recipient fields in KEMPSKRecipientInfo. It then encrypts the content and produces the authentication tag using the CEK. Liu, et al. Expires 4 June 2027 [Page 5] Internet-Draft CMS KEM with External PSK December 2026 The recipient selects its local KEM key and exactly one PSK from the recipient and PSK identifiers. It decapsulates the KEM ciphertext, reconstructs the identical context, derives the KEK, unwraps the CEK, and verifies the authenticated encryption before releasing plaintext. recipient KEM public key recipient KEM private key | | Encapsulate ---- transmitted kemct ------> Decapsulate | | ss ss | | external PSK + ss external PSK + ss | | HKDF-Extract HKDF-Extract | | PRK PRK | | HKDF-Expand(context) HKDF-Expand(context) | | KEK KEK | | fresh CEK -> Key Wrap ---- encryptedKey -------> Key Unwrap -> CEK | | AES-256-GCM ---- ciphertext and tag ----> verify and decrypt Adding a KEM-only RecipientInfo and a PSK-only RecipientInfo does not implement this flow: those would be alternative ways to recover the same CEK. The recipient-selection and no-fallback requirements in Section 11 are therefore part of the protection policy. 5. KEMPSKRecipientInfo The OtherRecipientInfo alternative of RecipientInfo MUST be used. Its oriType MUST be id-ori-kemPSK and its oriValue MUST contain a KEMPSKRecipientInfo. The requested identifier is: id-ori-kemPSK OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) id-ori(13) TBD1 } TBD1 is to be replaced by an assigned value before publication. The structure, using the IMPLICIT TAGS convention, is: Liu, et al. Expires 4 June 2027 [Page 6] Internet-Draft CMS KEM with External PSK December 2026 KEMPSKRecipientInfo ::= SEQUENCE { version CMSVersion, -- MUST be 0 pskid KEMPSKIdentifier, rid RecipientIdentifier, kem KEMAlgorithmIdentifier, kemct OCTET STRING, kdf KeyDerivationAlgorithmIdentifier, kekLength INTEGER (1..65535), ukm [0] EXPLICIT UserKeyingMaterial OPTIONAL, wrap KeyEncryptionAlgorithmIdentifier, encryptedKey EncryptedKey } KEMPSKIdentifier ::= OCTET STRING (SIZE (1..64)) The version MUST be 0. It is the version of this new recipient structure and is independent of the AuthEnvelopedData version, which also remains 0 as required by RFC 5083. A receiver MUST reject an unsupported recipient version instead of attempting to reinterpret it as another recipient type. pskid is an opaque, case-sensitive octet-string identifier for an external PSK. It is public metadata, not the PSK. It MUST contain between 1 and 64 octets, inclusive. Its lookup and lifecycle semantics are specified in Section 10. It MUST NOT be interpreted as a network location from which to retrieve a key. rid identifies the recipient KEM certificate or key using the RecipientIdentifier conventions of Section 3 of [RFC9629]. Recipients MUST support issuerAndSerialNumber and subjectKeyIdentifier; originators MUST support at least one. When an X.509 certificate is referenced, a subjectKeyIdentifier MUST match its extension value. The originator MUST validate the recipient credential, its key usage, and authorization before using it. kem MUST identify ML-KEM-768 using id-alg-ml-kem-768 with absent parameters. Public keys and certificates MUST follow [RFC9935]. When a keyUsage extension is present, keyEncipherment MUST be its only set bit. The path-validation requirements of [RFC5280] and the deployment's recipient-authentication policy apply. kemct MUST be the 1088-octet ML-KEM-768 ciphertext generated for this recipient. The ciphertext MUST NOT have an additional ASN.1 wrapper inside the OCTET STRING. kdf MUST identify id-alg-kemPSK-hkdf-sha256, with absent parameters. This new identifier denotes the complete two-secret convention in Section 6. It is not interchangeable with id-alg-hkdf-with-sha256 from [RFC8619]. Liu, et al. Expires 4 June 2027 [Page 7] Internet-Draft CMS KEM with External PSK December 2026 kekLength MUST be 32. wrap MUST identify id-aes256-wrap, with absent parameters, using AES Key Wrap as specified in [RFC3394] and [RFC3565]. encryptedKey MUST contain the resulting 40-octet wrapping of the 32-octet CEK. ukm is optional public context. When present, its OCTET STRING value MUST NOT exceed 64 octets. Receivers MUST support its presence and bind its exact value and presence to the derivation context. Absent ukm and a present zero-length ukm are distinct. A sender SHOULD omit ukm when no additional application context is needed. The PSK MUST NOT be placed in ukm or another transmitted field. All fields in oriValue MUST be DER encoded. A receiver MUST reject trailing fields, invalid parameter encodings, incorrect fixed lengths, or an unsupported algorithm combination. The surrounding CMS object can use BER where the relevant CMS specification permits it. 6. Two-Secret Key Derivation 6.1. Combiner Identifier The following identifier is requested for the exact convention in this section: id-alg-kemPSK-hkdf-sha256 OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) alg(3) TBD2 } TBD2 is unassigned. The AlgorithmIdentifier parameters MUST be absent. This identifier is defined only for the kdf field of KEMPSKRecipientInfo. It MUST NOT be used as a drop-in KDF identifier in an ordinary KEMRecipientInfo or an RFC 8696 recipient structure. 6.2. Derivation Context The originator and recipient MUST independently construct the following value using the IMPLICIT TAGS convention. Its DER encoding is the HKDF info input. Liu, et al. Expires 4 June 2027 [Page 8] Internet-Draft CMS KEM with External PSK December 2026 KEMPSKOtherInfo ::= SEQUENCE { label UTF8String, oriType OBJECT IDENTIFIER, version CMSVersion, pskid KEMPSKIdentifier, rid RecipientIdentifier, kem KEMAlgorithmIdentifier, kemct OCTET STRING, kdf KeyDerivationAlgorithmIdentifier, kekLength INTEGER (1..65535), ukm [0] EXPLICIT UserKeyingMaterial OPTIONAL, wrap KeyEncryptionAlgorithmIdentifier, envelopeType ContentType, contentType ContentType, contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier } label MUST contain the exact ASCII characters CMS-KEM-PSK-v1, encoded as UTF8String, with no terminating zero, whitespace, or case conversion. oriType MUST be id-ori-kemPSK. The fields version through wrap MUST be copied from the KEMPSKRecipientInfo, preserving all values and optional-field presence. envelopeType MUST be id-ct-authEnvelopedData. contentType and contentEncryptionAlgorithm MUST be taken from the enclosing AuthEnvelopedData.authEncryptedContentInfo. The AlgorithmIdentifier includes the complete GCMParameters, including the nonce and authentication-tag length. The fields are not taken from unauthenticated attributes, an inferred default algorithm, or a local replacement for the transmitted algorithm. These values MUST be re-encoded as DER. A receiver MUST NOT substitute a hash of the context, raw BER bytes, a textual rendering of an OID, or the CMSORIforKEMOtherInfo or CMSORIforPSKOtherInfo structure of an earlier mechanism. In particular, encryptedKey is not part of this context, avoiding a circular dependency. Binding the enclosing content-encryption algorithm makes a change of that algorithm or its parameters change the derived KEK. Binding pskid and rid associates the selected secret and recipient with the derivation. This does not itself authenticate either identifier or the originator before the envelope has been successfully processed. 6.3. Extract and Expand Both ss and PSK MUST be exactly 32 octets. For ss, this is the ML- KEM shared-secret length. For PSK, this is the required independently generated secret length. An empty PSK, a missing PSK, or an all-zero substitute for a missing secret MUST NOT be used. Liu, et al. Expires 4 June 2027 [Page 9] Internet-Draft CMS KEM with External PSK December 2026 The derivation MUST use the HKDF-Extract and HKDF-Expand functions of [RFC5869] with HMAC-SHA-256 and the following inputs: PRK = HKDF-Extract(salt = ss, IKM = PSK) info = DER(KEMPSKOtherInfo) KEK = HKDF-Expand(PRK, info, L = 32) Equivalently, for this fixed output length: PRK = HMAC-SHA-256(key = ss, data = PSK) KEK = HMAC-SHA-256(key = PRK, data = info || 0x01) The two inputs MUST NOT be swapped, XORed, concatenated into a different IKM, pre-hashed, or truncated. No additional HKDF extraction step, implicit zero salt, or independent derivation of a KEM-only KEK is performed by this convention. Implementations MUST compute the complete PRK and KEK before using them. In the KEM-only case of RFC 9936, salt is unused and IKM is ss. Here ss is the salt input and PSK is the IKM input. The new identifier and recipient type make this distinction explicit. Neither secret is encoded into the transmitted OtherInfo value. The requirement for a secret contribution in each input position relies on HKDF's extraction and HMAC pseudorandomness assumptions with independent inputs. This is a proposed two-secret convention; the one-secret-compromise confidentiality objective in Section 3 is subject to cryptographic review. Security strengths MUST NOT be added together or inferred simply from the 256-bit output length. 7. Authenticated Content Encryption The enclosing content type MUST be AuthEnvelopedData as specified in [RFC5083]. Its version MUST be 0. The content-encryption algorithm MUST be AES-256-GCM with the identifier id-aes256-GCM from [RFC5084]. The GCMParameters MUST be present. The aes-nonce MUST have 12 octets. The aes-ICVlen MUST be explicitly encoded with value 16, since this differs from the ASN.1 DEFAULT value 12. The authentication tag MUST have 16 octets and MUST be carried in AuthEnvelopedData.mac, not appended to the encryptedContent field. A fresh random 32-octet CEK MUST be generated for each new envelope. The nonce MUST be freshly generated and MUST NOT repeat with the same CEK. A complete envelope can be retransmitted unchanged, but retransmission MUST NOT encrypt different content or different authenticated attributes with the same CEK and nonce. Liu, et al. Expires 4 June 2027 [Page 10] Internet-Draft CMS KEM with External PSK December 2026 Authenticated attributes and the AAD MUST follow RFC 5083, including its DER SET OF encoding rule for the AAD. If the encapsulated content type is not id-data, authAttrs MUST be present. This mechanism does not introduce a new authenticated attribute. When an application requires identifiers, counters, expiry, or sender- authentication information, its specification needs to define how those are authenticated. The recipient MUST check the algorithm and parameter combination before key derivation and MUST reconstruct the content-encryption binding in Section 6.2. It MUST NOT process the same recipient structure under EnvelopedData, AuthenticatedData, AES-CBC, another AEAD algorithm, or an alternate tag length. RFC 9709 [RFC9709] describes a related problem of content-encryption algorithm substitution. This document binds that algorithm in its own recipient KEK derivation and restricts the permitted content format. It does not invoke RFC 9709's content-key derivation or its algorithm identifier, and support for that RFC is not required by this profile. 8. Originator Processing An originator MUST perform the following steps: 1. Determine the complete authorized recipient set and protection policy. For each recipient, obtain an authenticated ML-KEM-768 credential and an authorized mapping to one external PSK and pskid. Check credential validity, authorization, algorithm, and applicable key usage. 2. Generate a fresh 32-octet CEK and 12-octet GCM nonce. Fix the content type, complete contentEncryptionAlgorithm, and any authenticated attributes. These choices MUST NOT change after the per-recipient contexts are constructed. 3. For each recipient, invoke ML-KEM-768 encapsulation with fresh randomness as specified in [FIPS203]. Populate the version, pskid, rid, kem, kemct, kdf, kekLength, optional ukm, and wrap fields. 4. Construct KEMPSKOtherInfo from those fields and the fixed content-encryption information. Derive the KEK using ss and the external PSK exactly as specified in Section 6.3. 5. Wrap the CEK using AES-256 Key Wrap and the KEK. Place the 40-octet result in encryptedKey. Encode KEMPSKRecipientInfo as DER in OtherRecipientInfo using id-ori-kemPSK. Liu, et al. Expires 4 June 2027 [Page 11] Internet-Draft CMS KEM with External PSK December 2026 6. Encrypt the content and calculate the GCM tag using the CEK, nonce, and AAD defined by RFC 5083. Populate encryptedContent and mac and assemble AuthEnvelopedData. 7. Erase ss, encapsulation randomness, PRK, KEK, and transient CEK copies when no longer required. Keep a persistent PSK only under the authorized lifecycle policy. Do not log transient or persistent secrets. Each recipient entry MUST use a fresh encapsulation, even when several entries use the same PSK or recipient key. The CEK is shared by the recipients of one envelope, but no per-recipient ss or KEK is shared or reused for a new envelope. The API order of ciphertext and shared secret is implementation specific. This document uses their names rather than prescribing tuple ordering. An implementation MUST distinguish the 32-octet shared secret from the 1088-octet ciphertext. 9. Recipient Processing A recipient MUST perform the following steps, subject to bounded parsing and resource limits: 1. Verify that the enclosing object is the permitted AuthEnvelopedData form, that the recipient set meets Section 11, and that the content-encryption algorithm, GCM nonce length, and tag length satisfy Section 7. 2. Select a KEMPSKRecipientInfo for an authorized local recipient credential. Check its oriType, DER encoding, version, algorithms, parameters, fixed lengths, and optional ukm bound. Locate exactly one active PSK using the authorized application, recipient, and pskid mapping. 3. Perform ML-KEM-768 decapsulation using the selected private key and kemct, including all validation and implicit-rejection requirements of FIPS 203. If the API signals an error, reject the entry. 4. Reconstruct KEMPSKOtherInfo from the actual fields of the selected entry and the enclosing content-encryption information. Derive the KEK using the recovered ss and selected external PSK. 5. Unwrap encryptedKey using AES-256 Key Wrap. Reject an unwrap- integrity failure or a recovered CEK whose length is not 32 octets. Liu, et al. Expires 4 June 2027 [Page 12] Internet-Draft CMS KEM with External PSK December 2026 6. Verify and decrypt the AES-256-GCM content with that CEK, the transmitted nonce, and the AAD encoding required by RFC 5083. Verify the authentication tag and all applicable authenticated attributes before releasing any plaintext or acting on it. 7. Apply application-specific authorization, sender authentication, and replay policy. Erase transient secrets and tentative plaintext on failure. Erase ss, PRK, KEK, and the CEK when no longer needed on success. An implementation MUST NOT retry an entry with an empty PSK, a guessed PSK, or a KEM-only derivation after failure. It MUST NOT use a recovered CEK for another algorithm or content type. A tentative plaintext MUST NOT be streamed to an application before the authentication tag is verified. An application can be authorized under more than one recipient entry. An implementation MAY try another entry explicitly selected by authorized configuration, within resource limits, but MUST NOT search unrelated keys or relax the required mechanism. Each accepted path MUST independently satisfy this document. 10. External PSK Provisioning and Lifecycle Each PSK MUST be a uniformly generated 32-octet secret obtained from a cryptographically secure random generator. A password, passphrase, public identifier, KEM shared secret, KEM private-key seed, or value derived solely from any of those MUST NOT be used as the PSK. Generation and provisioning MUST preserve independence from the KEM key pair and per-envelope encapsulation randomness. Provisioning of the PSK is outside this document. If confidentiality against an adversary recording traffic for future quantum decryption is required, provisioning MUST use a channel or out-of-band process that meets that requirement. Protecting the PSK only with a vulnerable classical public-key exchange can remove the intended independent protection. A local lookup key is the authorized application context, intended recipient credential or credential set, and pskid. That tuple MUST select exactly one PSK value. The same pskid MUST NOT identify multiple PSK generations within that scope. Implementations MUST NOT copy RFC 8696's optional try-several-PSKs behavior into this mechanism. Liu, et al. Expires 4 June 2027 [Page 13] Internet-Draft CMS KEM with External PSK December 2026 On rotation, a new PSK MUST have a new pskid within its scope. Old identifiers can remain associated with a single retained key for an explicitly authorized archival period, but MUST NOT be reassigned to a new key. Removal of a key from active sending policy and retention for authorized old-message decryption are separate decisions. pskid SHOULD be an opaque identifier independent of the secret value. It MUST NOT expose the PSK, a reversible encoding of it, or an authorization credential. A received pskid MUST NOT create an authorization mapping or trigger unrestricted remote key retrieval. Pairwise PSKs scoped to the application and recipient are RECOMMENDED. A group PSK MAY be used when group membership, rotation, disclosure risk, and originator-authentication limits are acceptable to the deployment. Knowledge of a group PSK does not confer a unique sender identity. PSKs MUST be dedicated to this mechanism. They MUST NOT also be used directly as AES content keys, wrapping keys, unrelated protocol PSKs, or authentication passwords. Policy SHOULD also separate KEM keys used with and without an external PSK. If the same KEM key is authorized for both, the recipient MUST enforce the required mechanism using application policy, not just certificate keyUsage. 11. Multiple Recipients, Capabilities, and Downgrade Policy Every RecipientInfo in an envelope conforming to this document MUST be an OtherRecipientInfo with oriType id-ori-kemPSK. There MUST be at least one recipient. An originator MUST NOT wrap the same CEK in a KEM-only, PSK-only, classical, password-only, or otherwise weaker recipient path, inside this envelope or in another object. Multiple KEMPSKRecipientInfo entries are alternative decryption paths. Each path depends on its own KEM secret and associated PSK; they do not form an AND relationship between different recipients. Confidentiality of the common content depends on every authorized decryption path and on every recipient allowed to obtain the CEK. An application requiring a particular recipient set needs an independently authenticated policy for that set; the per-entry context does not authenticate the membership or completeness of recipientInfos. Sending the same plaintext in a separately weaker envelope can defeat the confidentiality objective even if a different CEK is used. Originators MUST NOT do so when policy requires the combined protection of this mechanism. Liu, et al. Expires 4 June 2027 [Page 14] Internet-Draft CMS KEM with External PSK December 2026 This document defines no S/MIME capability syntax or negotiation exchange. Support for ML-KEM, RFC 8696, or RFC 9629 alone MUST NOT be interpreted as support for KEMPSKRecipientInfo. Originators MUST obtain recipient support and the required mechanism through authorized configuration or an independently authenticated application mechanism. A recipient MUST retain and enforce the configured requirement for KEM-with-PSK protection independently of the oriType received in an untrusted object. Failure, an unsupported identifier, a missing PSK, timeout, or a purported capability update MUST NOT cause automatic fallback to another recipient mechanism. A separately authorized legacy workflow is a different protection policy and MUST NOT be represented as conforming to this document. 12. Failure Handling and Resource Limits External failure behavior MUST NOT distinguish secret-dependent decapsulation, PSK selection, key-unwrapping, or AEAD-authentication failures in a way that creates an oracle. A recipient SHOULD provide one generic envelope-decryption failure at an application boundary and rate-limit repeated failures. Local diagnostics MAY identify stages for authorized operators, but MUST NOT expose secrets or tentative plaintext. ML-KEM implicit rejection returns a pseudorandom secret for certain invalid ciphertexts. An implementation MUST NOT replace that behavior with an internal re-encryption-validity signal exposed to the application. Subsequent unwrap or AEAD failure MUST be handled under the same external failure policy. Untrusted identifiers MUST NOT cause an unbounded search through PSKs, recipient keys, certificates, or remote services. Implementations SHOULD bound recipient count, input size, ASN.1 depth, certificate-validation work, concurrent decapsulations, and total attempts per object. Bounds MUST allow the fixed sizes and operations the implementation claims to support. An object failing format, algorithm-policy, authorization, unwrap, or authentication checks MUST NOT install a credential, update trusted configuration, deliver content to a business workflow, or change key- retention policy. This document defines no new CMS error code or network error message. Liu, et al. Expires 4 June 2027 [Page 15] Internet-Draft CMS KEM with External PSK December 2026 13. Updates to RFC 8696 and RFC 9629 This document makes an additive update to [RFC8696]: KEMPSKRecipientInfo is an additional external-PSK mechanism for AuthEnvelopedData, alongside the existing keyTransPSK and keyAgreePSK mechanisms. It defines its own structure, combiner, PSK-lookup restrictions, and context. It does not add a value to the existing CMSORIforPSKOtherInfo.keyMgmtAlgType enumeration or change that structure's semantics. This document makes an additive update to [RFC9629] by defining a separate external-PSK KEM recipient mechanism using that RFC's KEM algorithm and recipient-identification conventions. For KEMPSKRecipientInfo, Section 6 supplies the derivation rules; the KEM-only rules for KEMRecipientInfo remain unchanged. No field is appended to an existing KEMRecipientInfo, and the new structure MUST NOT be encoded under id-ori-kem. The KEM key identifiers, encodings, and validation requirements of RFC 9935 are reused. The new structure is not the KEMRecipientInfo profiled by RFC 9936; this document specifies its own permitted KEM parameter set, combined KDF identifier, wrapping algorithm, and content profile. It does not change RFC 9936's mandatory KDF support or redefine its salt convention. The existing recipient structures and identifiers continue to be usable according to their defining specifications. An implementation that implements those structures alone is not thereby required to implement this optional extension. 14. Security Considerations The security considerations of RFC 8696, RFC 9629, RFC 5083, RFC 5084, and the referenced primitive specifications apply, with the different two-secret derivation and PSK semantics explicitly specified in this document. 14.1. Independent Contributions and Compromise The intended protection against disclosure of a single contribution depends on independence. A PSK derived from the KEM private key, ss, or the same compromised provisioning artifact does not provide that independence. Separate administrative ownership can help reduce shared failure modes but is not itself a cryptographic guarantee. For an honestly generated stored envelope, knowledge of the PSK alone leaves the adversary needing the KEM shared secret; knowledge of ss alone leaves the adversary needing the PSK. These are conditional Liu, et al. Expires 4 June 2027 [Page 16] Internet-Draft CMS KEM with External PSK December 2026 design goals under the assumptions in Section 3, not claims of additive security bits or a proof against all malicious-input strategies. A party knowing the PSK can construct a fresh encapsulation of its own and forge a new envelope, so the stored- message confidentiality objective is distinct from origin authentication. Disclosure of a recipient's decapsulation key and the relevant PSK can expose recorded envelopes. Rotation does not retroactively protect recorded traffic after disclosure of old secrets. This static-recipient mechanism does not provide forward secrecy against later compromise of both required secrets. A compromised CEK exposes its envelope regardless of the KEM or PSK. A compromised KEK exposes the CEK it wraps. An originator or authorized recipient can disclose plaintext. Neither the context binding nor the additional PSK prevents those consequences. 14.2. Context and Algorithm Binding Context fields bind the selected recipient path, PSK identifier, KEM ciphertext, combiner, key size, wrapping algorithm, envelope type, and content-encryption algorithm. They are not separately transmitted as an assertion by a trusted party. An attacker can change them, but successful processing of a modified entry requires the corresponding derivation and authenticated-encryption checks. The recipient set as a whole, originatorInfo, and unauthenticated attributes are not included in this derivation context. Applications MUST NOT infer an authenticated sender or complete recipient list from them. Changes to authenticated attributes are detected by AEAD verification under RFC 5083; changes to unauthenticated attributes do not carry that guarantee. The new recipient and combiner identifiers prevent accidental interchange with the older derivation conventions. That separation requires correct dispatch and an enforced local mechanism requirement. It does not protect a deployment that voluntarily accepts a KEM-only copy of the same content. 14.3. Origin Authentication, Replay, and Key Confirmation Possession of the PSK does not identify one originator, particularly for group keys. KEM encapsulation uses a public key and does not identify its caller. Even with a pairwise PSK, the recipient can construct envelopes to itself. Applications needing verifiable sender identity need a distinct authentication design and, for post- quantum authentication, an appropriate signature and trust path. Liu, et al. Expires 4 June 2027 [Page 17] Internet-Draft CMS KEM with External PSK December 2026 Neither AES-GCM nor a fresh encapsulation prevents replay of an unchanged valid envelope. An application that requires replay detection MUST authenticate an application identifier and freshness information and maintain the necessary replay state. This document defines no replay window or acknowledgement message. Successful unwrapping and tag verification provide the recipient with local evidence that a content key was recovered consistently. They do not tell the originator that a recipient received or accepted the message. No explicit recipient-to-originator key confirmation is provided. 14.4. Primitive Selection and Implementation ML-KEM-768 is defined in [FIPS203]. HKDF extraction and expansion are defined in RFC 5869. The finite sizes of the HMAC output, KEK, CEK, wrapping integrity check, and AEAD tag impose distinct limits. The 16-octet GCM tag is not a claim of 256-bit authentication security, and the 64-bit AES Key Wrap integrity value is not a general-purpose content authenticator. The PSK requirement is 256 bits of independently generated entropy, not merely a field of length 32 octets. A KDF cannot manufacture missing entropy. There is no password stretching or password- authenticated exchange in this mechanism, and an observable unwrap or tag result can permit testing guesses when the other contribution is known. Implementations need correct randomness, constant-time secret processing where applicable, algorithm-required key and ciphertext checks, bounded parsing, and secure destruction of transient material. Testing only the derivation equations does not establish side-channel resistance, adequate entropy, or security of the PSK provisioning channel. 15. Privacy Considerations pskid, rid, KEM algorithm identifiers, KEM ciphertexts, and other recipient metadata are visible. Reusing a PSK identifier can link envelopes across time or reveal group membership. An opaque identifier does not hide the presence of a stable identifier. Applications SHOULD avoid embedding personal names, account identifiers, or organizational secrets in pskid or ukm. Rotating identifiers can reduce some linkage but does not hide recipient identifiers, message sizes, timing, or traffic patterns. This document provides no recipient anonymity. Liu, et al. Expires 4 June 2027 [Page 18] Internet-Draft CMS KEM with External PSK December 2026 16. IANA Considerations IANA is requested to assign the following identifiers in the existing S/MIME registries [IANA-SMIME]. Each reference is to this document. No numeric value is proposed or assumed in this revision. +==========================+===========================+=======+ | Registry arc | Description | Value | +==========================+===========================+=======+ | 1.2.840.113549.1.9.16.13 | id-ori-kemPSK | TBD1 | +--------------------------+---------------------------+-------+ | 1.2.840.113549.1.9.16.3 | id-alg-kemPSK-hkdf-sha256 | TBD2 | +--------------------------+---------------------------+-------+ | 1.2.840.113549.1.9.16.0 | id-mod-cms-kem-psk-2026 | TBD3 | +--------------------------+---------------------------+-------+ Table 1: Requested Object Identifiers The registries are respectively named "SMI Security for S/MIME Other Recipient Info Identifiers (1.2.840.113549.1.9.16.13)", "SMI Security for S/MIME Algorithms (1.2.840.113549.1.9.16.3)", and "SMI Security for S/MIME Module Identifier (1.2.840.113549.1.9.16.0)". TBD1, TBD2, and TBD3 MUST be replaced consistently in the ASN.1 and prose before publication as an RFC. The documentation-only values in Appendix B are not requested IANA assignments and MUST NOT be registered or treated as production identifiers for this mechanism. 17. References 17.1. Normative References [FIPS203] National Institute of Standards and Technology, "Module- Lattice-Based Key-Encapsulation Mechanism Standard", FIPS 203, DOI 10.6028/NIST.FIPS.203, August 2024, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC3394] Schaad, J. and R. Housley, "Advanced Encryption Standard (AES) Key Wrap Algorithm", RFC 3394, DOI 10.17487/RFC3394, October 2002, . Liu, et al. Expires 4 June 2027 [Page 19] Internet-Draft CMS KEM with External PSK December 2026 [RFC3565] Schaad, J., "Use of the Advanced Encryption Standard (AES) Encryption Algorithm in Cryptographic Message Syntax (CMS)", RFC 3565, DOI 10.17487/RFC3565, July 2003, . [RFC5083] Housley, R., "Cryptographic Message Syntax (CMS) Authenticated-Enveloped-Data Content Type", RFC 5083, DOI 10.17487/RFC5083, November 2007, . [RFC5084] Housley, R., "Using AES-CCM and AES-GCM Authenticated Encryption in the Cryptographic Message Syntax (CMS)", RFC 5084, DOI 10.17487/RFC5084, November 2007, . [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, . [RFC5652] Housley, R., "Cryptographic Message Syntax (CMS)", STD 70, RFC 5652, DOI 10.17487/RFC5652, September 2009, . [RFC5869] Krawczyk, H. and P. Eronen, "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)", RFC 5869, DOI 10.17487/RFC5869, May 2010, . [RFC5912] Hoffman, P. and J. Schaad, "New ASN.1 Modules for the Public Key Infrastructure Using X.509 (PKIX)", RFC 5912, DOI 10.17487/RFC5912, June 2010, . [RFC6268] Schaad, J. and S. Turner, "Additional New ASN.1 Modules for the Cryptographic Message Syntax (CMS) and the Public Key Infrastructure Using X.509 (PKIX)", RFC 6268, DOI 10.17487/RFC6268, July 2011, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . Liu, et al. Expires 4 June 2027 [Page 20] Internet-Draft CMS KEM with External PSK December 2026 [RFC8696] Housley, R., "Using Pre-Shared Key (PSK) in the Cryptographic Message Syntax (CMS)", RFC 8696, DOI 10.17487/RFC8696, December 2019, . [RFC9629] Housley, R., Gray, J., and T. Okubo, "Using Key Encapsulation Mechanism (KEM) Algorithms in the Cryptographic Message Syntax (CMS)", RFC 9629, DOI 10.17487/RFC9629, August 2024, . [RFC9935] Turner, S., Kampanakis, P., Massimo, J., and B. E. Westerbaan, "Internet X.509 Public Key Infrastructure - Algorithm Identifiers for the Module-Lattice-Based Key- Encapsulation Mechanism (ML-KEM)", RFC 9935, DOI 10.17487/RFC9935, March 2026, . [X680] ITU-T, "Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation", ITU-T Recommendation X.680, February 2021, . [X690] ITU-T, "Information technology - ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)", ITU-T Recommendation X.690, February 2021, . 17.2. Informative References [IANA-SMIME] IANA, "Structure of Management Information (SMI) Numbers: S/MIME Registries", . [RFC5612] Eronen, P. and D. Harrington, "Enterprise Number for Documentation Use", RFC 5612, DOI 10.17487/RFC5612, August 2009, . [RFC8619] Housley, R., "Algorithm Identifiers for the HMAC-based Extract-and-Expand Key Derivation Function (HKDF)", RFC 8619, DOI 10.17487/RFC8619, June 2019, . Liu, et al. Expires 4 June 2027 [Page 21] Internet-Draft CMS KEM with External PSK December 2026 [RFC9709] Housley, R., "Encryption Key Derivation in the Cryptographic Message Syntax (CMS) Using HKDF with SHA- 256", RFC 9709, DOI 10.17487/RFC9709, January 2025, . [RFC9936] Prat, J., Ounsworth, M., and D. Van Geest, "Use of ML-KEM in the Cryptographic Message Syntax (CMS)", RFC 9936, DOI 10.17487/RFC9936, March 2026, . Appendix A. ASN.1 Module This module follows the ASN.1 conventions of [RFC5912] and [RFC6268]. ASN.1 notation and DER follow [X680] and [X690]. The module includes the public context structure used only as a local input to HKDF. It does not include any transmitted PSK value. The identifiers contain allocation placeholders and are not compilable numeric assignments until those placeholders are replaced. An implementation can resolve them locally for controlled testing, but no test substitution is a protocol allocation. file "CMS-KEM-PSK-2026.asn" CMS-KEM-PSK-2026 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) modules(0) id-mod-cms-kem-psk-2026(TBD3) } DEFINITIONS IMPLICIT TAGS ::= BEGIN IMPORTS OTHER-RECIPIENT, CMSVersion, RecipientIdentifier, EncryptedKey, KeyDerivationAlgorithmIdentifier, KeyEncryptionAlgorithmIdentifier, UserKeyingMaterial, ContentType, ContentEncryptionAlgorithmIdentifier FROM CryptographicMessageSyntax-2010 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) modules(0) id-mod-cms-2009(58) } KEMAlgorithmIdentifier FROM CMS-KEMRecipientInfo-2023 { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) modules(0) id-mod-cms-kemri-2023(77) } KEY-DERIVATION FROM AlgorithmInformation-2009 { iso(1) identified-organization(3) dod(6) internet(1) Liu, et al. Expires 4 June 2027 [Page 22] Internet-Draft CMS KEM with External PSK December 2026 security(5) mechanisms(5) pkix(7) id-mod(0) id-mod-algorithmInformation-02(58) }; id-ori OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) 13 } id-alg OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) smime(16) 3 } id-ori-kemPSK OBJECT IDENTIFIER ::= { id-ori TBD1 } id-alg-kemPSK-hkdf-sha256 OBJECT IDENTIFIER ::= { id-alg TBD2 } ori-kemPSK OTHER-RECIPIENT ::= { KEMPSKRecipientInfo IDENTIFIED BY id-ori-kemPSK } SupportedOtherRecipInfo OTHER-RECIPIENT ::= { ori-kemPSK, ... } kda-kemPSK-hkdf-sha256 KEY-DERIVATION ::= { IDENTIFIER id-alg-kemPSK-hkdf-sha256 PARAMS ARE absent } KEMPSKKDFs KEY-DERIVATION ::= { kda-kemPSK-hkdf-sha256, ... } KEMPSKIdentifier ::= OCTET STRING (SIZE (1..64)) KEMPSKRecipientInfo ::= SEQUENCE { version CMSVersion, -- MUST be 0 pskid KEMPSKIdentifier, rid RecipientIdentifier, kem KEMAlgorithmIdentifier, kemct OCTET STRING, kdf KeyDerivationAlgorithmIdentifier, kekLength INTEGER (1..65535), ukm [0] EXPLICIT UserKeyingMaterial OPTIONAL, wrap KeyEncryptionAlgorithmIdentifier, encryptedKey EncryptedKey } KEMPSKOtherInfo ::= SEQUENCE { label UTF8String, oriType OBJECT IDENTIFIER, version CMSVersion, pskid KEMPSKIdentifier, rid RecipientIdentifier, kem KEMAlgorithmIdentifier, Liu, et al. Expires 4 June 2027 [Page 23] Internet-Draft CMS KEM with External PSK December 2026 kemct OCTET STRING, kdf KeyDerivationAlgorithmIdentifier, kekLength INTEGER (1..65535), ukm [0] EXPLICIT UserKeyingMaterial OPTIONAL, wrap KeyEncryptionAlgorithmIdentifier, envelopeType ContentType, contentType ContentType, contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier } END Appendix B. Documentation-Only Derivation Example The example checks the context encoding, two-secret derivation, key wrapping, and authenticated encryption. It does not contain a valid ML-KEM encapsulation, recipient certificate, or complete production CMS message. Its ss and kemct are synthetic inputs, so it MUST NOT be used as an ML-KEM conformance vector. To avoid assuming IANA assignments, the example substitutes id-ori- kemPSK with 1.3.6.1.4.1.32473.1 and id-alg-kemPSK-hkdf-sha256 with 1.3.6.1.4.1.32473.2. The enterprise number 32473 is reserved for documentation [RFC5612]. These values MUST NOT be used for live interoperability. Allocated identifiers will change the context and all dependent outputs. The synthetic kemct is 1088 octets, with octet at zero-based position i equal to i modulo 256. ukm is absent, rid is the subjectKeyIdentifier alternative, contentType is id-data, and the AAD is empty because authenticated attributes are absent in this example. Liu, et al. Expires 4 June 2027 [Page 24] Internet-Draft CMS KEM with External PSK December 2026 pskid = ASCII("example-psk-2026-01") rid = subjectKeyIdentifier: 101112131415161718191a1b1c1d1e1f20212223 ss: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f PSK: a0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebf CEK: 404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f GCM nonce: 000102030405060708090a0b Plaintext = ASCII("CMS KEM with external PSK example.") AAD = empty DER(KEMPSKOtherInfo) length = 1267 octets SHA-256(DER(KEMPSKOtherInfo)): e4d9d1c6f53b9df158357ec64f782948f08c0c78fa58ab913c64dd9b81eaf578 PRK: 0c95bd8bdd96004ec3f84f7bcc9526ee33491925dae778d32b6b81a42c38fe93 KEK: 79bbf5ffc11b6d48703292225e9e3632839454bc507b1ad1af995604298efd02 encryptedKey (AES-256 Key Wrap): fa5a5ced4314eca09518ff160aaaa91a21b0e3f026c7f0b57a63a91b37f42c91 0755acac02bc7a40 encryptedContent (GCM ciphertext, without tag): 79483f583cc90980b57bf4aa9888b4cfe6b64368006cfd00a5008dee20dc1932 255e mac (GCM tag): d400395e39b2eca7231b3b069a371c65 Appendix C. Interoperability Evaluation Cases Independent implementations need to agree on the ASN.1 tagging, DER context, input order, fixed algorithm profile, and policy checks. The following cases are suggested for evaluation and do not assert completed multi-implementation testing. +===============================+================================+ | Case | Expected outcome | +===============================+================================+ | Valid ML-KEM-768 key and | Decapsulation, derivation, | | independently provisioned PSK | unwrap, and AEAD verification | | | succeed. | +-------------------------------+--------------------------------+ | Correct KEM key but wrong, | Reject without KEM-only | | missing, or ambiguous PSK | fallback or trial of unrelated | | | keys. | +-------------------------------+--------------------------------+ | Correct PSK but wrong | Reject without PSK-only | Liu, et al. Expires 4 June 2027 [Page 25] Internet-Draft CMS KEM with External PSK December 2026 | decapsulation key | fallback. | +-------------------------------+--------------------------------+ | Changed pskid, rid, kemct, | Reject through policy, | | kdf, ukm, wrap, or content | derivation, unwrap, or | | nonce | authentication checks. | +-------------------------------+--------------------------------+ | Absent ukm compared with | Derive different context | | present empty ukm | encodings and different KEKs. | +-------------------------------+--------------------------------+ | NULL parameters for the KEM, | Reject rather than normalize | | combiner, or wrap identifier | the invalid encoding. | +-------------------------------+--------------------------------+ | Unsupported ORI identifier, | Reject; never reinterpret as | | recipient version, or content | an existing KEM-only | | algorithm | structure. | +-------------------------------+--------------------------------+ | Mixed KEM-only and KEM-with- | Reject as outside the required | | PSK recipient entries | protection policy. | +-------------------------------+--------------------------------+ | Modified GCM tag or | Reject without releasing | | ciphertext | tentative plaintext. | +-------------------------------+--------------------------------+ | Repeated valid envelope | Cryptographic verification can | | | succeed; application replay | | | policy decides acceptance. | +-------------------------------+--------------------------------+ | PSK rotation with an old | Use the unique old mapping | | retained key | only where archival policy | | | permits it. | +-------------------------------+--------------------------------+ | Several valid combined | Each authorized recipient | | recipients | independently recovers the | | | same CEK. | +-------------------------------+--------------------------------+ Table 2: Suggested Evaluation Cases Authors' Addresses Penghui Liu (editor) Pengcheng Laboratory No.2 Xingke 1 Street Shenzhen 518055 China Email: liuph@pcl.ac.cn Liu, et al. Expires 4 June 2027 [Page 26] Internet-Draft CMS KEM with External PSK December 2026 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 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 4 June 2027 [Page 27]