if i send the string "hello" across an openssl connection, it looks
like i'm sending 5 bytes on the client side and it looks like i'm
receiving 5 bytes on the server end, but somewhere in the openssl
layers between those two points (and most importantly when it's on the
wire), it's encrypted representation is something like 512 or 1k, isn't
it?
The handshake sucks up probably a few K going back and forth, depending on the
details (size of the cert chain, if client certs are used, etc). The message,
assuming you write the whole thing as a single stream, will take up
header+26+padding+MAC, which for a typical ciphersuite will come to a total of
54 bytes or so.
so...
[A] i shouldn't worry about the amount of bandwidth the handshake uses simply because nothing can be done about it, right?
and...
[B] 54(ish) bytes isn't too far off target anyway
... so maybe just scratch that last post i sent about minimizing the padding. i thought the padding was in kilobytes range or close to it. if it's that small, i'm not going to worry about it.
thanks for the help.
- philip
______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]