[openssl-users] Padding OAEP

2016-07-05 Thread c.hol...@ades.at

Hi!

I had a look into Apache Santuario. A XML-Security-Framework using OpenSSL.
For my eyes it looks like only OAEP with MGF SHA1 is supported out of 
the OpenSSL-box.


Other digests need to be handeled manually.
In Santuario they wrote an own RSA_padding_check_PKCS1_OAEP with 2 new 
parameters for MGF and digest.


Chris
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


[openssl-users] Padding OAEP

2016-07-04 Thread c.hol...@ades.at

I had some further analysis.
I am looking for RSA-decryption with OAEP-padding and MGF1 and digest 
SHA-256.

Is there a way to do it??

Thanks!

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


[openssl-users] Padding OAEP

2016-07-04 Thread c.hol...@ades.at

Hello!

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??

Thanks!
Chris




-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users