RSA provider use example

Matt Caswell matt at openssl.org
Fri Sep 24 11:21:47 UTC 2021



On 24/09/2021 12:17, Dr Paul Dale wrote:
> What about: apps/rsa.c, apps/rsautl.c and apps/genrsa.c
> 3.0 doesn't use the RSA structure in the non-deprecated public API.
> 
> You probably want the EVP_PKEY_fromdata call.

An example of building an RSA key from its constituent parts is 
available on the EVP_PKEY_fromdata() man page:

https://www.openssl.org/docs/man3.0/man3/EVP_PKEY_fromdata.html

Matt


> 
> 
> Pauli
> 
> 
> On 24/9/21 8:55 pm, Antonio Santagiuliana wrote:
>> Hello
>> Is there any app or command in the current Openssl master repository 
>> that initialises and uses the new RSA provider?
>> I would like to see how the RSA* context parameter is filled in and 
>> used, but I can't find an example using the RSA provider.
>>
>>
>> Thank you
>>
> 


More information about the openssl-users mailing list