Re: RSA-PSS - Backwards compatability - EVP_PKEY_get0_RSA

2020-02-10 Thread Matt Caswell
On 07/02/2020 18:14, Pedro Lopes wrote: > Hello, > > I'm assigning the RSA key as EVP_PKEY_RSA_PSS: > RSA* key; > EVP_PKEY_assign(*outKey, EVP_PKEY_RSA_PSS, key); > > As is known EVP_PKEY_get0_RSA was recently updated to also accepts > EVP_PKEY_RSA_PSS and return the rsa value. > > I'd like

RSA-PSS - Backwards compatability - EVP_PKEY_get0_RSA

2020-02-07 Thread Pedro Lopes
Hello, I'm assigning the RSA key as EVP_PKEY_RSA_PSS: RSA* key; EVP_PKEY_assign(*outKey, EVP_PKEY_RSA_PSS, key); As is known EVP_PKEY_get0_RSA was recently updated to also accepts EVP_PKEY_RSA_PSS and return the rsa value. I'd like to know if there is any workaround to get the RSA key (RSA-PSS)