Fork of the Go standard TLS library, providing low-level access to the ClientHello for mimicry purposes.
Find a file
Adam Langley 26ba1eacdb crypto/tls: panic with unknown hash functions.
Just so that we notice in the future if another hash function is added
without updating this utility function, make it panic when passed an
unknown handshake hash function. (Which should never happen.)

Change-Id: I60a6fc01669441523d8c44e8fbe7ed435e7f04c8
Reviewed-on: https://go-review.googlesource.com/7646
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: Joël Stemmer <stemmertech@gmail.com>
2015-03-18 00:37:56 +00:00
testdata crypto/tls: return correct hash function when using client certificates in handshake 2015-03-16 23:38:51 +00:00
alert.go crypto/tls: support TLS_FALLBACK_SCSV as a server. 2014-10-15 17:54:04 -07:00
cipher_suites.go crypto/tls: add support for AES_256_GCM_SHA384 cipher suites specified in RFC5289 2015-02-04 00:18:14 +00:00
common.go crypto/tls: return correct hash function when using client certificates in handshake 2015-03-16 23:38:51 +00:00
conn.go crypto/tls: allow larger initial records. 2015-02-24 19:39:36 +00:00
conn_test.go build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
example_test.go build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
generate_cert.go build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
handshake_client.go crypto/tls: add support for AES_256_GCM_SHA384 cipher suites specified in RFC5289 2015-02-04 00:18:14 +00:00
handshake_client_test.go crypto/tls: return correct hash function when using client certificates in handshake 2015-03-16 23:38:51 +00:00
handshake_messages.go crypto/tls: fix renegotiation extension. 2015-01-06 19:50:07 +00:00
handshake_messages_test.go build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
handshake_server.go crypto/tls: fix typo in tls handshake error 2015-03-06 18:18:40 +00:00
handshake_server_test.go crypto/tls: fix typo in tls handshake error 2015-03-06 18:18:40 +00:00
handshake_test.go build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
key_agreement.go build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
prf.go crypto/tls: panic with unknown hash functions. 2015-03-18 00:37:56 +00:00
prf_test.go crypto/tls: add support for AES_256_GCM_SHA384 cipher suites specified in RFC5289 2015-02-04 00:18:14 +00:00
ticket.go crypto/tls: ensure that we don't resume when tickets are disabled. 2014-09-26 11:02:09 +10:00
tls.go crypto/tls: remove return parameter stutter 2015-01-13 21:35:11 +00:00
tls_test.go build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00