[openssl-users] Padding OAEP

c.holper at ades.at c.holper at ades.at
Mon Jul 4 10:29:31 UTC 2016


I try to do some XML-ENC with OpenSSL 
(https://www.w3.org/TR/xmlenc-core1/#sec-RSA-OAEP, section 5.5.2) and I 
have some problems with the padding.
Now I have some problems with decrypting a RSA-encoded string.

For identifier "rsa-oaep-mgf1p" I use RSA_PKCS1_OAEP_PADDING for padding 
and it is fine.
For "http://www.w3.org/2001/04/xmlenc#rsa-1_5" I use RSA_PKCS1_PADDING 
and it is also ok.

But it is not working for "rsa-oaep". I tried any padding setting possible.
Any ideas??


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

More information about the openssl-users mailing list