Re: strange behaviour of clock() with DH_generate_key

2007-12-05 Thread Koza
Koza wrote: > > I try to measure time of generating a key for DH. I have a code alike: > startclk = clock(); > for (i=0;i DH_generate_key(a); > stopclk = clock(); > I know the anser now, it was my fault since not DH_generate_key takes a long time but DH_generate

hello

2007-12-05 Thread Ohad Avraham
i m running the openssl 3 commands : openssl genrsa -out "C:\Documents and Settings\bon\Desktop\openssl\test1\temp-key.pem" 1024 openssl rsa -passin pass:123 -in "C:\Documents and Settings\bon\Desktop\openssl\test1\temp-key.pem" -out " C:\Documents and Settings\bon\Desktop\openssl\test1\ser

Re: asymmetric file encryption

2007-12-05 Thread Aleksander Kamenik
Marek Marcola wrote: When using asymmetric cryptography you in reality use hybrid symmetric and asymmetric methods. Depending on your needs, you may need different "hybrid" protocol. What are the other options? S/MIME is for email. I want to encrypt/decrypt files (mostly gunzip packages) for

Re: ssl version compatibility

2007-12-05 Thread jfhuynh
Since I do not handle client side , what I can just tell is that the server receives a "warning close_notify" message. I have a quick look in openssl sources; it seems that this message is sent everytime someone wants to perform a shutdown ... I have tested with other clients ( openssl s_client,