cloudflare / tls-tris

crypto/tls, now with 100% more 1.3. THE API IS NOT STABLE AND DOCUMENTATION IS NOT GUARANTEED.
Other
292 stars 50 forks source link

draft-25: Add the header to additional data #109

Closed kriskwiatkowski closed 6 years ago

kriskwiatkowski commented 6 years ago

TLS 1.3, draft-28 specifies AD as record header, i.e.

additional_data = TLSCiphertext.opaque_type 
                            TLSCiphertext.legacy_record_version 
                            TLSCiphertext.length 

This will need to be implemented in tris in order to make it compatible with TLS 1.3