[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iaik-jce] iaik and openssl

I have never programmed OpenSSL but as the OpenSSL and the IAIK SSL
implementations interoperate ok there cannot be any fundamental

Sorry I cannot help you more.

 Andreas Sterbenz              mailto:Andreas.Sterbenz@iaik.tu-graz.ac.at

-----Ursprüngliche Nachricht-----
Von: Tom Schuring <TomS@esd.nec.com.au>
An: <iaik-jce@iaik.tu-graz.ac.at>
Gesendet: Mittwoch, 21. Juli 1999 11:58
Betreff: [iaik-jce] iaik and openssl

> Hello,
> Is there a difference in the implementation of RSA by IAIK and Openssl
> I am trying to encypt something with iaik-RSA and then decrypting it
> with openssl but it gives me an error when I try to decrypt it.
> When I en and de-crypt with IAIK it works fine, when I try to en- and
> de-crypt it works fine, but I can't get a common 'setting' that would
> allow me to use one for encrypting and the other platform for
> decrypting.
> I have tried 0, 1, 2 and ECB as the block type but nothing seems to be
> compatible with openssl..
> Cipher rsa = Cipher.getInstance("RSA/2/PKCS1Padding");
> and I pass in a public key in the
> rsa.init(Cipher.ENCRYPT_MODE, key );
> // the (openssl) function I use for decrypting is
> RSA_private_decrypt(*length, cipherText, clearText, key,
> Anyone have any idea's ?