[openssl-users] Specify padding scheme with EVP_VerifyFinal

Dr. Stephen Henson steve at openssl.org
Sat Feb 25 03:32:37 UTC 2017


On Thu, Feb 23, 2017, openssl at tuta.io wrote:

> Hi Michel,
> 
> it looks like what I am looking for, but the software uses EVP_VerifyInit_ex which is a typedef for EVP_DigestInit_ex. How are those functions related to EVP_DigestVerifyInit? Can I use EVP_DigestVerify* functions along with EVP_Verify* functions? I must not break compatibility with the old implementation which needs to support arbitrary MD algorithms.
> 

You have to use the EVP_Digest* functions if you want to change the RSA
padding mode (or other parameters). This is not supported in the older
EVP_Verify* API.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org


More information about the openssl-users mailing list