From: "Jan Mikosi‚ñski" <[EMAIL PROTECTED]>

MikosinskiJ> To create sign I use CKM_RSA_PKCS ( PKCS#11) algoritm. To decrypt sign 
with
MikosinskiJ>       OpenSSL I use RSA_NO_PADDING algoritm definied in  rsa.h.
MikosinskiJ> Decrypted value isn't identical with value whitch was encrypted. From
MikosinskiJ>       documentation, which I've got , results that both algorithms should
MikosinskiJ>       be compatible
MikosinskiJ> each with other. They are compatible with PKCS #1 RSA
MikosinskiJ> Does anybody know, if thoes algorithms are reale compatible ? I receive
MikosinskiJ>       results which don't confirm their compatibility

I'm not sure I understood you well, but RSA_NO_PADDING is not
compatible with PKCS#1, as far as I know.  PKCS#1 requires PKCS#1
padding.

-- 
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to