• Filippo Valsorda's avatar
    crypto/tls: implement TLS 1.3 version-specific messages · 0663fe98
    Filippo Valsorda authored
    Note that there is significant code duplication due to extensions with
    the same format appearing in different messages in TLS 1.3. This will be
    cleaned up in a future refactor once CL 145317 is merged.
    
    Enforcing the presence/absence of each extension in each message is left
    to the upper layer, based on both protocol version and extensions
    advertised in CH and CR. Duplicated extensions and unknown extensions in
    SH, EE, HRR, and CT will be tightened up in a future CL.
    
    The TLS 1.2 CertificateStatus message was restricted to accepting only
    type OCSP as any other type (none of which are specified so far) would
    have to be negotiated.
    
    Updates #9671
    
    Change-Id: I7c42394c5cc0af01faa84b9b9f25fdc6e7cfbb9e
    Reviewed-on: https://go-review.googlesource.com/c/145477Reviewed-by: 's avatarAdam Langley <agl@golang.org>
    0663fe98
Name
Last commit
Last update
..
testdata Loading commit data...
alert.go Loading commit data...
auth.go Loading commit data...
auth_test.go Loading commit data...
cipher_suites.go Loading commit data...
common.go Loading commit data...
conn.go Loading commit data...
conn_test.go Loading commit data...
example_test.go Loading commit data...
generate_cert.go Loading commit data...
handshake_client.go Loading commit data...
handshake_client_test.go Loading commit data...
handshake_messages.go Loading commit data...
handshake_messages_test.go Loading commit data...
handshake_server.go Loading commit data...
handshake_server_test.go Loading commit data...
handshake_test.go Loading commit data...
key_agreement.go Loading commit data...
key_schedule.go Loading commit data...
key_schedule_test.go Loading commit data...
prf.go Loading commit data...
prf_test.go Loading commit data...
ticket.go Loading commit data...
tls.go Loading commit data...
tls_test.go Loading commit data...