2
0

EVP_KEM-RSA.pod 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. =pod
  2. =head1 NAME
  3. EVP_KEM-RSA
  4. - EVP_KEM RSA keytype and algorithm support
  5. =head1 DESCRIPTION
  6. The B<RSA> keytype and its parameters are described in L<EVP_PKEY-RSA(7)>.
  7. See L<EVP_PKEY_encapsulate(3)> and L<EVP_PKEY_decapsulate(3)> for more info.
  8. =head2 RSA KEM parameters
  9. =over 4
  10. =item "operation" (B<OSSL_KEM_PARAM_OPERATION>) <UTF8 string>
  11. The OpenSSL RSA Key Encapsulation Mechanism only currently supports the
  12. following operation
  13. =over 4
  14. =item "RSASVE"
  15. The encapsulate function simply generates a secret using random bytes and then
  16. encrypts the secret using the RSA public key (with no padding).
  17. The decapsulate function recovers the secret using the RSA private key.
  18. =back
  19. This can be set using EVP_PKEY_CTX_set_kem_op().
  20. =back
  21. =head1 CONFORMING TO
  22. =over 4
  23. =item SP800-56Br2
  24. Section 7.2.1.2 RSASVE Generate Operation (RSASVE.GENERATE).
  25. Section 7.2.1.3 RSASVE Recovery Operation (RSASVE.RECOVER).
  26. =back
  27. =head1 SEE ALSO
  28. L<EVP_PKEY_CTX_set_kem_op(3)>,
  29. L<EVP_PKEY_encapsulate(3)>,
  30. L<EVP_PKEY_decapsulate(3)>
  31. L<EVP_KEYMGMT(3)>,
  32. L<EVP_PKEY(3)>,
  33. L<provider-keymgmt(7)>
  34. =head1 HISTORY
  35. This functionality was added in OpenSSL 3.0.
  36. =head1 COPYRIGHT
  37. Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
  38. Licensed under the Apache License 2.0 (the "License"). You may not use
  39. this file except in compliance with the License. You can obtain a copy
  40. in the file LICENSE in the source distribution or at
  41. L<https://www.openssl.org/source/license.html>.
  42. =cut