question about seeding the PRNG, plz help!

2003-06-19 Thread Michelle Li
Hi all, I posted this message few days ago, haven't got any feedback yet. Since I don't know anywhere else I can ask this, I'm posting it again. Please help: I just wrote a program using OpenSSL crypto library (version 0.9.7b). Everything works fine. But I have concerns about whether I should

question about seeding the PRNG

2003-06-11 Thread Michelle Li
Hi all, I just wrote a program using OpenSSL crypto library (version 0.9.7b). Everything works fine. But I have concerns about whether I should seed the PRNG and exactly how to do that. In my program, I have calls to RSA_generate_key and also RAND_bytes which is used to generate a DES key. It'

negative modulus

2003-04-02 Thread Michelle Li
Hi all, I'm generating RSA key pair using openssl and then use the keys in Java program. I can create a RSAPublicKey from the pem file generated by openssl fine if I just use X509Certificate class to read directly from the file and generate the RSAPublicKey. However, if I generate the RSAPubl

Re: java/openssl

2003-04-01 Thread Michelle Li
Um...are you using the exact same algorithm on both side? What about padding schemes? Can you give more details? I think as long as the algorithm is totally the same, it shouldn't matter if it is Java generated or openssl generated. Michelle On Tue, 1 Apr 2003, Sly Upah wrote: > Can anyone p

Re: RSA padding scheme, plz help!

2003-03-17 Thread Michelle Li
That helped a lot! Thanks, Greg! Michelle On Fri, 14 Mar 2003, Gregory Stark wrote: > > - Original Message - > From: "Michelle Li" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, March 12, 2003 9:38 AM > Subject: RSA padding

RSA padding scheme, plz help!

2003-03-12 Thread Michelle Li
Hi all, Could someone tell me what kind of padding does OpenSSL's crypto library use when implementing RSA asymmetric keys operations? I'm learning to write a smart card application and I want to use openssl's crypto library to do the off-card part of the application. I need to use the exact same

generate RSA CRT private key instead of RSA key

2003-03-01 Thread Michelle Li
Hi all, I'm using openssl command line tool to generate key pairs and the associated certificate. I need to use them inside a smart card. However, the card I have only support RSA CRT private key instead of RSA private key. Is openssl able to generate RSA CRT private key? Is there a way to con