Hi all,

I have the following problem:

I want to verify a signature that was created by a smartcard. The smartcard 
creates a digital signature with RSA 2048 bit over a hash that was created 
using SHA-384 (OpenSSL).
To verify the signature I call the OpenSSL-function 

RSA_public_decrypt

with RSA_PKCS1_PADDING as padding.
Most of the created signature work fine with this function, but I have one of 
them that causes the following error reason

RSA_R_BLOCK_TYPE_IS_NOT_01

What could be the problem?
The one that doesn't work is part of some signatures that were all created at 
the same time with the same card and program. All other signatures work fine.

Hope someone can help me.


Best regards

Frank Wockenfuß
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to