Alternative TLS implementation in Go
0464590bc2
Remove NewMD5, NewSHA1 and NewSHA256 in favor of using New and explicitly importing the used hash-function. This way when using, for example, HMAC with RIPEMD there's no md5, sha1 and sha256 linked in through the hmac package. A gofix rule is included, and applied to the standard library (3 files altered). This change is the result of a discussion at https://golang.org/cl/5550043/ to pull the discussion about deprecating these functions out of that issue. R=golang-dev, agl CC=golang-dev, r, rsc https://golang.org/cl/5556058 |
||
---|---|---|
alert.go | ||
cipher_suites.go | ||
common.go | ||
conn_test.go | ||
conn.go | ||
generate_cert.go | ||
handshake_client_test.go | ||
handshake_client.go | ||
handshake_messages_test.go | ||
handshake_messages.go | ||
handshake_server_test.go | ||
handshake_server.go | ||
key_agreement.go | ||
Makefile | ||
parse-gnutls-cli-debug-log.py | ||
prf_test.go | ||
prf.go | ||
root_darwin.go | ||
root_stub.go | ||
root_test.go | ||
root_unix.go | ||
root_windows.go | ||
tls.go |