libcrypto key data structures reentrant?

2003-02-12 Thread tim
Hello, Quick question. I have a multi-threaded app in which a master thread creates a RSA key-pair and subsequently spawns a number of worker threads. I am assuming that routines like RSA_public_encrypt() are reentrant because an RSA * pointer is passed (please correct me if this assumption is

Manufacturing Certs

2003-02-12 Thread Chandrasekhar R S
Hello All, I have to generate a new cert, for which I am making use of X509_new(). This returns a certificate which is not generated from a root certificate. Its a standalone cert. I want to generate a new cert dynamically, making use of a root certificate (a CA cert).

are server certs different from client certs

2003-02-12 Thread Chandrasekhar R S
Hi all, I have created a certificate using the following sequence of calls : X509_new() RSA_generate_key() X509_set_version(cert,3) ASN1_INTEGER_set(X509_get_serialNumber(cert),0) X509_gmtime_adj(X509_get_notBefore(cert),0);

Re: libcrypto key data structures reentrant?

2003-02-12 Thread Geoff Thorpe
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Hello, Quick question. I have a multi-threaded app in which a master thread creates a RSA key-pair and subsequently spawns a number of worker threads. I am assuming that routines like RSA_public_encrypt() are reentrant because an RSA * pointer

Re: are server certs different from client certs

2003-02-12 Thread Götz Babin-Ebell
Hello, Chandrasekhar R S wrote: Hi all, I have created a certificate using the following sequence of calls : X509_new() RSA_generate_key() X509_set_version(cert,3) ASN1_INTEGER_set(X509_get_serialNumber(cert),0) X509_gmtime_adj(X509_get_notBefore(cert),0);

Re: Problem with EVP_EncryptInit and EVP_DecryptInit

2003-02-12 Thread Tim Xex
Just send the IV with the data, it doesn't need to be secret. --- CHARLES CHEBLI [EMAIL PROTECTED] wrote: I want to use a program that encrypt a file from a user A and send the encrypted file to user B, For user B to decrypt the file he must use the same IV and ctx that were used for

RE: are server certs different from client certs

2003-02-12 Thread Chandrasekhar R S
Dear Ebell All, Indeed what you said is true. I copied the newly created self signed cert to the bundle of CA lists the server would accept, and the connection goes through fine. Now, then I am to make my own private CA and then create a certificate signed by my private