s_server with client authentication strange behaviour

2008-01-09 Thread Koza
ined? Does s_server simulate certificate checking? Any help will be appreciated. Best regards, Koza -- View this message in context: http://www.nabble.com/s_server-with-client-authentication-strange-behaviour-tp14708069p14708069.html Sent from the OpenSSL - User mailing list archive at Nabble

s_server and gethostbyname failure error

2008-01-07 Thread Koza
0 session cache timeouts 0 callback cache hits 0 cache full overflows (128 allowed) And openssl finishes. I use OpenSSL 0.9.8e on Windows. Any idea what may be wrong? Thank you for your help in advance! Best regards, Koza -- View this message in context: http://www.nabble.com/s_server

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 tak

strange behaviour of clock() with DH_generate_key

2007-12-02 Thread Koza
advance!! Best regards, Koza -- View this message in context: http://www.nabble.com/strange-behaviour-of-clock%28%29-with-DH_generate_key-tf4930945.html#a14113620 Sent from the OpenSSL - User mailing list archive at Nabble.com. __

last function in ssl connection

2007-11-24 Thread Koza
lp me? Thank you in advance! Best regards, Koza -- View this message in context: http://www.nabble.com/last-function-in-ssl-connection-tf4866788.html#a13927198 Sent from the OpenSSL - User mailing list archive at Nabble.com. __ Op

SHA-1 number of calls

2007-11-23 Thread Koza
? Shouldn't the number be always the same? Number of encrypt/decrypt/rsas functions are always the same. Thank you for explaination in advance! Best regards, Koza -- View this message in context: http://www.nabble.com/SHA-1-number-of-calls-tf4862645.html#a13915148 Sent from the OpenSSL -

docs for openssl speed and EVP

2007-11-19 Thread Koza
some description?). Any help will be appreciated. Best regards, Koza -- View this message in context: http://www.nabble.com/docs-for-openssl-speed-and-EVP-tf4839044.html#a13844107 Sent from the OpenSSL - User mailing list archive at Nabbl

aes_decrypt

2007-10-25 Thread Koza
ion with openssl support (it was wget with openssl in this case) I receive decryption failed or bad record mac error. Any idea why? My own function alone gives the same results as original one... Thank you for any ideas in advance! Best regards, Koza -- View this message in context: h

Re: AES_cbc_encrypt - data differs on first 16 bytes.

2007-10-24 Thread Koza
I know the answer, the problem was with initialization vector - it is changed during encryption... Thanks, Koza Koza wrote: > > Hi, > > I have problem with AES_cbc_encrypt function. I use code you can see below > and unfortunately my function that compares arrays gives an er

AES_cbc_encrypt - data differs on first 16 bytes.

2007-10-23 Thread Koza
regards, Koza Code: AES_KEY akey; unsigned char in3[48]; unsigned char out3[48]; unsigned char tmp3[48]; unsigned char ivec[16]; AES_set_encrypt_key(key2,256,&akey); AES_cbc_encrypt(in3,out3,48,&akey,ivec,1); AES_set_decrypt_key(key2,256,&akey); AES

AES key changes in openssl

2007-10-17 Thread Koza
(key->rd_key) during SSL handshake without using AES_set_decrypt_key. Can someone confirm that? If yes, why does it work that way? Thanks, Koza -- View this message in context: http://www.nabble.com/AES-key-changes-in-openssl-tf4640395.html#a13253169 Sent from the OpenSSL - User mailing l

books about ssl handshake?

2007-09-10 Thread Koza
Hi, Can you recommend any book about secure connections, ssl, handshake and the things alike? Would be nice if it has some reference to openssl, but it is not absolutely necessary. I would be grateful for any suggestions. Thanks, Koza -- View this message in context: http://www.nabble.com

Re: usage of DES_encrypt1 in 0.9.7j

2007-09-03 Thread Koza
Really no help with that? I spend so much time on it and you are my last hope... Thanks, Koza Koza wrote: > > I'd like to use function des_encrypt1 and I have the following code: > > const_DES_cblock key= {0x11,0x11,0x11,0x11,0x11,0x11,0x11,0x11}; >

usage of DES_encrypt1 in 0.9.7j

2007-08-09 Thread Koza
ypt1(dataenc1,&k,1); but it doesn't work... instead of 8a5ae1f81ab8f2dd I receive eb0b38b6de16165 DES_ecb_encrypt works fine with that data (8a5ae1f81ab8f2dd is valid test vector for key/plain set above) Any idea how to use that function? Thank you for your help in advance, Koza EDIT