openssl/crypto/cms
Daniel Van Geest d0899abb1b Implement KEMRecipientInfo (RFC9629) in CMS
Also add support for ML-KEM in CMS (draft-ietf-lamps-cms-kyber).

Add the -recip_kdf and -recip_ukm parameters to `openssl cms -encrypt`
to allow the user to specify the KDF algorithm and optional user
keying material for each recipient.

A provider may indicate which RecipientInfo type is supported
for a key, otherwise CMS will try to figure it out itself. A
provider may also indicate which KDF to use in KEMRecipientInfo
if the user hasn't specified one.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27681)
2025-07-30 11:39:04 +02:00
..
build.info Implement KEMRecipientInfo (RFC9629) in CMS 2025-07-30 11:39:04 +02:00
cms_asn1.c Implement KEMRecipientInfo (RFC9629) in CMS 2025-07-30 11:39:04 +02:00
cms_att.c Copyright year updates 2024-04-09 13:43:26 +02:00
cms_cd.c Convert ZLIB defines to OPENSSL_NO_ZLIB 2022-10-18 09:30:21 -04:00
cms_dd.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cms_dh.c libapps + libcrypto: Silence warnings on Win64 builds 2025-07-02 17:26:26 +02:00
cms_ec.c Fix multiple wrong checks of EVP_PKEY_set1_encoded_public_key 2024-11-22 12:09:38 +01:00
cms_enc.c libapps + libcrypto: Silence warnings on Win64 builds 2025-07-02 17:26:26 +02:00
cms_env.c Implement KEMRecipientInfo (RFC9629) in CMS 2025-07-30 11:39:04 +02:00
cms_err.c Implement KEMRecipientInfo (RFC9629) in CMS 2025-07-30 11:39:04 +02:00
cms_ess.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cms_io.c Stop raising ERR_R_MALLOC_FAILURE in most places 2022-10-05 14:02:03 +02:00
cms_kari.c Implement KEMRecipientInfo (RFC9629) in CMS 2025-07-30 11:39:04 +02:00
cms_kem.c Implement KEMRecipientInfo (RFC9629) in CMS 2025-07-30 11:39:04 +02:00
cms_kemri.c Implement KEMRecipientInfo (RFC9629) in CMS 2025-07-30 11:39:04 +02:00
cms_lib.c Fix use of SHAKE as a digest in CMS 2025-03-20 12:20:37 +01:00
cms_local.h Implement KEMRecipientInfo (RFC9629) in CMS 2025-07-30 11:39:04 +02:00
cms_pwri.c Implement KEMRecipientInfo (RFC9629) in CMS 2025-07-30 11:39:04 +02:00
cms_rsa.c libapps + libcrypto: Silence warnings on Win64 builds 2025-07-02 17:26:26 +02:00
cms_sd.c libapps + libcrypto: Silence warnings on Win64 builds 2025-07-02 17:26:26 +02:00
cms_smime.c Implement KEMRecipientInfo (RFC9629) in CMS 2025-07-30 11:39:04 +02:00