Error while encryption or Decrypting

2007-07-27 Thread Pink Princess
Dear all; I wish this time I will find an answer from any one I implemented my own cipher in OpenSSL . The implementation works fine with encryption and decryption but it always give me dump core error Can any one help me ! what might cause the problem ? OpenSSL enc -cs-256-ecb -in

Re: Error while encryption or Decrypting

2007-07-27 Thread Joe Adamo
Pink Princess wrote: Dear all; I wish this time I will find an answer from any one I implemented my own cipher in OpenSSL . The implementation works fine with encryption and decryption but it always give me dump core error Can any one help me ! what might cause the problem ? OpenSSL

Re: Puzzling 50ms delay between SSL_write and poll response

2007-07-27 Thread David Lobron
2007-07-26 20:18:04.375 [3317] GS: Got response from sendDataPending 2007-07-26 20:18:04.376 [3317] GS: Calling poll with timeout 6 2007-07-26 20:18:04.376 [3317] GS: Checking poll results 2007-07-26 20:18:04.376 [3317] GS: calling SSL_write on buffer of length 1281 2007-07-26

Re: Puzzling 50ms delay between SSL_write and poll response

2007-07-27 Thread Rick Jones
David Lobron wrote: 2007-07-26 20:18:04.375 [3317] GS: Got response from sendDataPending 2007-07-26 20:18:04.376 [3317] GS: Calling poll with timeout 6 2007-07-26 20:18:04.376 [3317] GS: Checking poll results 2007-07-26 20:18:04.376 [3317] GS: calling SSL_write on buffer of length 1281

Re: Puzzling 50ms delay between SSL_write and poll response

2007-07-27 Thread Darryl Miles
Here is my take on it, I maybe completely off target but here goes. David Lobron wrote: 21:08:30.190534 CLIENT.39044 SERVER.8443: P 844:1025(181) ack 4827 win 65535 nop,nop,timestamp 173778704 299402767 (DF) This is 181 bytes sent to SERVER. Presumably the GET x and headers all in

Re: OpenSSL in Eclipse

2007-07-27 Thread jimmy
Hi, pinkprincess wrote: Dear All; Build of configuration Debug for project openssl make all Building file: ../openssl-0.9.8e/test/bntest.c Invoking: GCC C Compiler gcc -O3 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF openssl-0.9.8e/test/bntest.d

RE: Puzzling 50ms delay between SSL_write and poll response

2007-07-27 Thread David Schwartz
First off have you tried to merge the application data for the SSL_write() calls into larger writes ? That is don't write the HTTP/1.1 200 Ok on its own, but concatenate the headers/content-body into the same SSL_write() call so the total size for the call is at least 1500 bytes but maybe