[openssl-users] Specify padding scheme with EVP_VerifyFinal

Michel michel.sales at free.fr
Thu Feb 23 17:54:48 UTC 2017


Hi,

 

> Is it possible to specify a different padding scheme (e.g. RSA_PKCS1_PSS_PADDING) using this API ?

> If not, what is the easiest way to work around this "limitation" ?



Isn’t it what you are looking for : EVP_PKEY_CTX_set_rsa_padding() ?

https://www.openssl.org/docs/manmaster/man3/EVP_PKEY_CTX_set_rsa_padding.html

and :

https://wiki.openssl.org/index.php/EVP_Signing_and_Verifying

(OpenSSL version >= 1.0)

 

Hope it helps,

 

Michel.

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20170223/3514f6c2/attachment.html>


More information about the openssl-users mailing list