ietf-openpgp
[Top] [All Lists]

Partial length chunks and 5-byte lengths

2003-12-23 23:10:59

Section 4.2.2.4. ("Partial Body Lengths") of bis-09 specifies that
after the initial partial body length chunk:

  Another length header (of one of the three types -- one octet,
  two-octet, or partial) follows that portion.

It explicitly says "one of three types", and mentions only the one
octet, two octet, and partial length encodings.  Some bias against the
5-octet length encoding ? ;)

Unless that was intentional (was it?)  I suggest that the text be
changed to say one of the *four* types, etc, or just drop the
parenthetical comment altogether.

Also, it looks like part of the partial body length definition is in
section 4.2.3 ("Packet Length Examples"), but should be in section
4.2.2.4 along with the rest of the definition:

    An implementation MAY use Partial Body Lengths for data packets,
    be they literal, compressed, or encrypted. The first partial
    length MUST be at least 512 octets long. Partial Body Lengths MUST
    NOT be used for any other packet types.

David

<Prev in Thread] Current Thread [Next in Thread>
  • Partial length chunks and 5-byte lengths, David Shaw <=