openssl/providers/implementations
Shane Lontis 80f4fd18f7 Add KEM (Key encapsulation mechanism) support to providers
SP800-56Br2 requires support for the RSA primitives for RSASVE generate and recover.
As these are simple KEM operations another operation type has been added that can support future extensions.

Added public functions EVP_PKEY_encapsulate_init(), EVP_PKEY_encapsulate(), EVP_PKEY_decapsulate_init() and EVP_PKEY_decapsulate()
Added EVP_KEM_* functions.
Added OSSL_FUNC_kem_* dispatch functions

Added EVP_PKEY_CTX_set_kem_op() so that different types of KEM can be added in the future. This value must currently be set to
"RSASVE" after EVP_PKEY_encapsulate_init() & EVP_PKEY_decapsulate_init() as there is no default value.
This allows the existing RSA key types, keymanagers, and encoders to be used with the encapsulation operations.

The design of the public API's resulted from contributions from @romen & @levitte.

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12750)
2020-09-19 18:08:46 +10:00
..
asymciphers Add 'fips-securitychecks' option and plumb this into the actual fips checks 2020-09-18 14:20:39 +01:00
ciphers
digests
encode_decode
exchange Add 'fips-securitychecks' option and plumb this into the actual fips checks 2020-09-18 14:20:39 +01:00
include/prov Add KEM (Key encapsulation mechanism) support to providers 2020-09-19 18:08:46 +10:00
kdfs Add missing 'ossl_unused' tags to some gettable and settable methods. 2020-09-18 14:20:38 +01:00
kem Add KEM (Key encapsulation mechanism) support to providers 2020-09-19 18:08:46 +10:00
keymgmt Add KEM (Key encapsulation mechanism) support to providers 2020-09-19 18:08:46 +10:00
macs
rands Add selftest callback to CRNG output test 2020-09-18 06:20:33 +10:00
signature Teach EdDSA signature algorithms about AlgorithmIdentifiers 2020-09-18 15:26:28 +01:00
storemgmt
build.info Add KEM (Key encapsulation mechanism) support to providers 2020-09-19 18:08:46 +10:00