This needs more space for each flag.  8 bits is a pretty small space.  If you 
are concerned with the size of the result, we have some variable-length integer 
encodings you could try.

On Tue, Mar 26, 2019, at 00:22, Salz, Rich wrote:
>  
> That was FAST.
> 
> 
> Looks good.
> 
> 
> *From: *Yoav Nir <ynir.i...@gmail.com>
> *Date: *Monday, March 25, 2019 at 10:10 PM
> *To: *"tls@ietf.org" <tls@ietf.org>
> *Subject: *[TLS] A flags extension
> 
> 
> Hi. Today at the TLS meeting, there was a discussion at the mic about 
> 1-bit extensions that only serve to indicate support for an optional 
> feature. EKR commented that such extensions take 4 bytes each and that 
> maybe we need to replace them with a flags extension. 
> 
> 
> So I threw together a quick -00 draft with an extension that does just that 
> [1].
> 
> 
> Comments are welcome.
> 
> 
> Yoav
> 
> 
> [1] https://datatracker.ietf.org/doc/draft-nir-tls-tlsflags/ 
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__datatracker.ietf.org_doc_draft-2Dnir-2Dtls-2Dtlsflags_&d=DwMFAg&c=96ZbZZcaMF4w0F4jpN6LZg&r=4LM0GbR0h9Fvx86FtsKI-w&m=vI7f_lTRNmPJU_afvRwCfhhfrX-GjDMCcpRfUZF254A&s=rcJFjdA-91NCh1SnDreFMvQpvRnUwUJYHXgYOz05wzI&e=>
> 
> 
> 
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>

_______________________________________________
TLS mailing list
TLS@ietf.org
https://www.ietf.org/mailman/listinfo/tls

Reply via email to