Bruce Cartland wrote:
I am using PKCS#11 libraries supplied by vendors (although I'm starting to look at openCryptoki) to generate oncard keypairs and sign data for authentication (non cert based).
However, when I then run the resulting signature through OpenSSL 0.9.6 RSA_public_decrypt() with padding type of RSA_PKCS1_PADDING we receive an error telling us that the padding type is incorrect (not block type 01). I have tried the other types.
This function works fine for GemSafe and AET cards.
Is anyone aware of a compatibility issue with the SB cards, a solution or what I may be doing wrong?
Any assistance much appreciated.
regards
bruce
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]