[14528] in cryptography@c2.net mail archive
Re: Simple SSL/TLS - Some Questions
daemon@ATHENA.MIT.EDU (Eric Rescorla)
Mon Oct 6 12:03:39 2003
X-Original-To: cryptography@metzdowd.com
X-Original-To: cryptography@metzdowd.com
To: Florian Weimer <fw@deneb.enyo.de>
Cc: Jill Ramonsky <Jill.Ramonsky@aculab.com>,
cryptography@metzdowd.com, hadmut@danisch.de
Reply-To: EKR <ekr@rtfm.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: 06 Oct 2003 09:02:35 -0700
In-Reply-To: <20031006155257.GA27551@deneb.enyo.de>
Florian Weimer <fw@deneb.enyo.de> writes:
> Jill Ramonsky wrote:
> > My question is, how much of a problem is this for the embedded market?
>
> Have you looked at GNU Pth? It's a non-preemptive threading package
> which should be reasonably portable.
>
> I don't know the TLS/ASN.1 formats by heart, but maybe it's possible to
> receive the complete blob (possibly involving I/O multiplexing) without
> parsing it? IOW, the parser starts only after the communication layer
> has finished transmitting the message.
The way that TLS works is that you can identify record size
by the record header (first 5 octets). Only when you have
a complete record in hand can you start to parse.
-Ekr
--
[Eric Rescorla ekr@rtfm.com]
http://www.rtfm.com/
---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo@metzdowd.com