TLS-PSK implementation

2005-06-28 Thread Gat, Gilad
Hi,   Does openSSL support TLS communication based on Pre-Shared Keys? I'm referring to the implementation suggested by http://www.ietf.org/internet-drafts/draft-ietf-tls-psk-09.txt.   Thanks in advance,       Gilad Gat.

Supporting both TLSv1 and SSLv3

2005-06-28 Thread david kine
Hello, How should I program my client application to support both TSLv1 and SSLv3? According to RFC2246 appendix E, the client sends a single SSLv3 record format HELLO message with the version field set to {3, 1}. Is this possible with OpenSSL? If not, do I connect with the TLSv1_client_method(

Re: Getting sockaddr_in structures from a BIO or SSL struct.

2005-06-28 Thread Joe Santapau
Thanks one and all, I had priviously used a socket BIO, but now I think I'll use accept() get what I need, and then populate it into a SSL * it might give me flexability with the socket itself, timeouts and the like. Thanks, Joe S. _

Please remove me from the mailing list.

2005-06-28 Thread John LaRocka
Thanks, John __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]

Re: Setting memory buffer for BIO_s_mem operations

2005-06-28 Thread Nadav Golombick
That is memory for reading. What about memory for writing? On 6/28/05, Prashant Kumar <[EMAIL PROTECTED]> wrote:  Look under the documentation for BIO_s_mem, an example is given there.   char data[] = "Hello World"; BIO *mem; mem = BIO_new_mem_buf(data, -1);   Regards, Prashant. Nadav Golombick <

Re: Setting memory buffer for BIO_s_mem operations

2005-06-28 Thread Prashant Kumar
 Look under the documentation for BIO_s_mem, an example is given there.   char data[] = "Hello World"; BIO *mem; mem = BIO_new_mem_buf(data, -1);   Regards, Prashant.Nadav Golombick <[EMAIL PROTECTED]> wrote: Hi,   I was wondering if there is a way to set my own memory buffer for the use of BIO_re

Re: Approximate memory ratio for encrypted and non encrypted data

2005-06-28 Thread Bear Giles
Nadav Golombick wrote: Hi, Is there an average ratio to encrypted --> non-encrypted data? It should be 1:1. HOWEVER, it's more complex when you're talking about a complete system. Data should usually be compressed before encryption and there's normally framing and other added in the encry

Approximate memory ratio for encrypted and non encrypted data

2005-06-28 Thread Nadav Golombick
Hi,   Is there an average ratio to encrypted --> non-encrypted data?-- Nadav Golombick

Setting memory buffer for BIO_s_mem operations

2005-06-28 Thread Nadav Golombick
Hi,   I was wondering if there is a way to set my own memory buffer for the use of BIO_read and BIO_write operations when using BIO_s_mem functions? My problem is that I don't want the waste of copying from one memory to another.   Thanks,-- Nadav Golombick

Block cipher pad is wrong

2005-06-28 Thread Philip Bowden
I am trying to use OpenSSL to secure communications between 2 little apps that I am writing myself. I am trying to use TLSv1, and have tried many different approaches using ADH, as well as authenticating both ends of the connection, but no matter what I try, I always seem to get the error: