[openssl-dev] MGF1-OAEP with SHA2

Dr. Stephen Henson steve at openssl.org
Fri Jul 8 12:12:03 UTC 2016


On Thu, Jul 07, 2016, c.holper at ades.at wrote:

> 
> I try to get RSA enryption/decryption (over the API) with MGF1
> OAEP-padding other then SHA1.
> 

You need to use the EVP_PKEY API and pass the required algotithm to
EVP_PKEY_CTX_set_rsa_oaep_md() which is currently undocumented (fix coming
up).

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


More information about the openssl-dev mailing list