RSA_set0_key() equivalent for 3.0.0
Matt Caswell
matt at openssl.org
Tue Jul 13 22:11:49 UTC 2021
On 13/07/2021 22:14, William Roberts wrote:
> Outside of the migration guide others have pointed out, I think the
> functions you need are:
>
> https://www.openssl.org/docs/manmaster/man3/EVP_PKEY_set1_RSA.html
> <https://www.openssl.org/docs/manmaster/man3/EVP_PKEY_set1_RSA.html>
Those functions are deprecated. Better would be EVP_PKEY_fromdata():
https://www.openssl.org/docs/manmaster/man3/EVP_PKEY_fromdata.html
Matt
>
> Use use EVP level now as pointed out in the guide.
>
>
>
> On Tue, Jul 13, 2021, 16:04 Ken Goldman <kgoldman at us.ibm.com
> <mailto:kgoldman at us.ibm.com>> wrote:
>
> What is the 3.0.0 equivalent to RSA_set0_key() when I
> want to create a key token from n and e.
>
> Meta question: Is there a porting guide for these
> type of questions - something that says, "If you
> used this before, use this now."
>
More information about the openssl-users
mailing list