RE: Using OpenSSL cryptographic functions in a multi-threaded application

2008-04-14 Thread Mark
> We are using only the OpenSSL cryptographic > functionality, the EVP and > HMAC functions, in a multi-threaded application. Do we need to do > anything to ensure thread safety ? The documentation mentions > CRYPTO_set_locking_callback() and CRYPTO_set_id_callback() > ,but we are > not

Re: Using OpenSSL cryptographic functions in a multi-threaded application

2008-03-07 Thread Edward Diener
John T. Cox wrote: I do not know if it does or not. But, as an experienced programmer, I can guarantee that even if it does not today, one day someone will do something that will cause it to need it and you will start to get failures that will take weeks to track down. Why can't people just do

Re: Using OpenSSL cryptographic functions in a multi-threaded application

2008-03-06 Thread John T. Cox
I do not know if it does or not. But, as an experienced programmer, I can guarantee that even if it does not today, one day someone will do something that will cause it to need it and you will start to get failures that will take weeks to track down. Why can't people just do things right the first

Re: Using OpenSSL cryptographic functions in a multi-threaded application

2008-03-06 Thread Edward Diener
Bobby Krupczak wrote: Hi! The ORA Network Security with OpenSSL documents the few stubs you need to in order for openssl to work with pthreads as well as windows threads. You can even download the example code from the net. What is the link for the above ? http://www.oreilly.com/catalog/op

Re: Re: Using OpenSSL cryptographic functions in a multi-threaded application

2008-03-06 Thread Bobby Krupczak
Hi! > > > The ORA Network Security with OpenSSL documents the few > > stubs you need > > > to in order for openssl to work with pthreads as well as windows > > > threads. You can even download the example code from the net. > > > > What is the link for the above ? > > http://www.oreilly.com/ca

RE: Re: Using OpenSSL cryptographic functions in a multi-threaded application

2008-03-06 Thread Mark
> > The ORA Network Security with OpenSSL documents the few > stubs you need > > to in order for openssl to work with pthreads as well as windows > > threads. You can even download the example code from the net. > > What is the link for the above ? http://www.oreilly.com/catalog/openssl/ Mark.

Re: Using OpenSSL cryptographic functions in a multi-threaded application

2008-03-06 Thread Jens Dönhoff
--On Thursday, March 06, 2008 07:26:11 AM -0500 Edward Diener <[EMAIL PROTECTED]> wrote: What is the link for the above ? Greetings, Jens pgp0Jj3wYmEkw.pgp Description: PGP signature

Re: Using OpenSSL cryptographic functions in a multi-threaded application

2008-03-06 Thread Edward Diener
Bobby Krupczak wrote: Hi! We are using only the OpenSSL cryptographic functionality, the EVP and HMAC functions, in a multi-threaded application. Do we need to do anything to ensure thread safety ? The documentation mentions CRYPTO_set_locking_callback() and CRYPTO_set_id_callback() but we ar

Re: Using OpenSSL cryptographic functions in a multi-threaded application

2008-03-05 Thread Bobby Krupczak
Hi! > We are using only the OpenSSL cryptographic functionality, the EVP and HMAC > functions, in a multi-threaded application. Do we need to do anything to > ensure thread safety ? The documentation mentions > CRYPTO_set_locking_callback() and CRYPTO_set_id_callback() but we are not > calling