• Peter Wu's avatar
    crypto/tls: replace signatureAndHash by SignatureScheme. · d1bbdbe7
    Peter Wu authored
    Consolidate the signature and hash fields (SignatureAndHashAlgorithm in
    TLS 1.2) into a single uint16 (SignatureScheme in TLS 1.3 draft 21).
    This makes it easier to add RSASSA-PSS for TLS 1.2 in the future.
    
    Fields were named like "signatureAlgorithm" rather than
    "signatureScheme" since that name is also used throughout the 1.3 draft.
    
    The only new public symbol is ECDSAWithSHA1, other than that this is an
    internal change with no new functionality.
    
    Change-Id: Iba63d262ab1af895420583ac9e302d9705a7e0f0
    Reviewed-on: https://go-review.googlesource.com/62210Reviewed-by: 's avatarAdam Langley <agl@golang.org>
    d1bbdbe7
Name
Last commit
Last update
..
testdata Loading commit data...
alert.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...
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...