2
0

EVP_KEM-RSA.pod 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 COPYRIGHT
  35. Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
  36. Licensed under the Apache License 2.0 (the "License"). You may not use
  37. this file except in compliance with the License. You can obtain a copy
  38. in the file LICENSE in the source distribution or at
  39. L<https://www.openssl.org/source/license.html>.
  40. =cut