6 - EVP_KEM RSA keytype and algorithm support
10 The B<RSA> keytype and its parameters are described in L<EVP_PKEY-RSA(7)>.
11 See L<EVP_PKEY_encapsulate(3)> and L<EVP_PKEY_decapsulate(3)> for more info.
13 =head2 RSA KEM parameters
17 =item "operation" (B<OSSL_KEM_PARAM_OPERATION>) <UTF8 string>
19 The OpenSSL RSA Key Encapsulation Mechanism only currently supports the
26 The encapsulate function simply generates a secret using random bytes and then
27 encrypts the secret using the RSA public key (with no padding).
28 The decapsulate function recovers the secret using the RSA private key.
32 This can be set using EVP_PKEY_CTX_set_kem_op().
43 Section 7.2.1.2 RSASVE Generate Operation (RSASVE.GENERATE).
44 Section 7.2.1.3 RSASVE Recovery Operation (RSASVE.RECOVER).
50 L<EVP_PKEY_CTX_set_kem_op(3)>,
51 L<EVP_PKEY_encapsulate(3)>,
52 L<EVP_PKEY_decapsulate(3)>
55 L<provider-keymgmt(7)>
59 Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
61 Licensed under the Apache License 2.0 (the "License"). You may not use
62 this file except in compliance with the License. You can obtain a copy
63 in the file LICENSE in the source distribution or at
64 L<https://www.openssl.org/source/license.html>.