BiGNoRm6969 a écrit :
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 ?
Hi,

I've a similar error message. I use EVP functions to sign and verify a buffer. The call to EVP_VerifyFinal() function give me this :

RSA_padding_check_PKCS1_type_1:block type is not* 01*

I found no documentation about padding problem... So I'm interested too about this !

Regards,

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to