[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-dev] Proposal 189: AUTHORIZE and AUTHORIZED cells
On Sun, Nov 06, 2011 at 01:45:43AM +0100, George Kadianakis wrote:
> 3.1. AUTHORIZE cell
>
> The AUTHORIZE cell is a variable-sized cell.
>
> The generic AUTHORIZE cell format is:
>
> AuthMethod [1 octet]
> MethodFields [...]
> PadLen [2 octets]
> Padding ['PadLen' octets]
Why include PadLen and Padding? A variable-sized cell already says how
big it is. So the client can pick a size for the variable-sized cell
(the client has to anyway), and then any unused space is unused.
> The AUTHORIZED cell format is:
>
> 'AuthMethod' [1 octet]
> 'PadLen' [2 octets]
> 'Padding' ['PadLen' octets]
Same here.
--Roger
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev