Hello,

I am using openssl library for crypto operations in implementation of W3C
XML Encryption specifications - http://www.w3.org/TR/xmlenc-core/.
The specification requires supporting the RSA-OAEP public-key algorithm with
encoding-parameters - http://www.w3.org/TR/xmlenc-core/#sec-RSA-OAEP.
I have used RSA_padding_add_PKCS1_OAEP() and RSA_padding_check_PKCS1_OAEP()
functions for adding padding using a configurable encoding-parameter, but
RSA_padding_check_PKCS1_OAEP() returned with -1 (failure). I tried searching
for solutions at this mailing-list and all that I found was a very similar
problem here:
http://www.mail-archive.com/openssl-users%40openssl.org/msg35663.html, but
no solution. I also tried using XMLsec tool (an open-source tool for
handling XML Encryption) that uses openssl as well, but found specific
encoding-parameter to be problematic in that tool either.

Can you please help?

Thanks,
Henry

Reply via email to