Hi, In the past I used the combination RSA_public_decrypt/RSA_private_encrypt without any problems.
I am now trying to use the combination RSA_public_encrypt / RSA_private_decrypt but the function RSA_private_decrypt always returns me the error : "RSA_padding_check_PKCS1_type2: block type it not 02". I use the RSA_PKCS1_PADDING padding format in both encryption and decryption. Any idea what's causing the problem ? -- View this message in context: http://www.nabble.com/RSA_public_decrypt----%3E-RSA_padding_check_PKCS1_type2%3A-block-type-it-not-02-tp21037530p21037530.html Sent from the OpenSSL - User mailing list archive at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org