Alternative TLS implementation in Go
Go to file
Luit van Drongelen 0464590bc2 crypto/hmac: Deprecate hmac.NewMD5, hmac.NewSHA1 and hmac.NewSHA256
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
2012-01-19 17:28:38 -05:00
alert.go crypto/tls: add Error method to alert 2011-10-27 19:42:32 -07:00
cipher_suites.go crypto/hmac: Deprecate hmac.NewMD5, hmac.NewSHA1 and hmac.NewSHA256 2012-01-19 17:28:38 -05:00
common.go crypto/tls: Improve TLS Client Authentication 2012-01-05 12:05:38 -05:00
conn_test.go crypto/tls: add server side SNI support. 2011-10-08 10:06:53 -04:00
conn.go net: change SetTimeout to SetDeadline 2012-01-18 16:24:06 -08:00
generate_cert.go crypto/tls: update generate_cert.go for new time package 2012-01-04 14:56:16 -05:00
handshake_client_test.go crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
handshake_client.go crypto/tls: Improve TLS Client Authentication 2012-01-05 12:05:38 -05:00
handshake_messages_test.go crypto/tls: fix handshake message test 2011-11-14 15:21:08 -05:00
handshake_messages.go crypto/tls: Improve TLS Client Authentication 2012-01-05 12:05:38 -05:00
handshake_server_test.go crypto/tls: Improve TLS Client Authentication 2012-01-05 12:05:38 -05:00
handshake_server.go crypto/tls: Improve TLS Client Authentication 2012-01-05 12:05:38 -05:00
key_agreement.go crypto/elliptic: add constant-time P224. 2012-01-19 08:39:03 -05:00
Makefile build: Changes to the build infrastructure for NetBSD. 2011-12-12 15:42:06 -05:00
parse-gnutls-cli-debug-log.py crypto/tls: add 3DES ciphersuites 2011-10-11 13:07:32 -04:00
prf_test.go crypto/tls: support SSLv3 2011-09-14 15:32:19 -04:00
prf.go Add a []byte argument to hash.Hash to allow an allocation to be saved. 2011-12-01 12:35:37 -05:00
root_darwin.go crypto/tls: quiet build 2011-12-15 18:37:31 -05:00
root_stub.go go/build: add new +build tags 'cgo' and 'nocgo' 2011-12-21 08:51:18 -05:00
root_test.go crypto/tls: fetch root certificates using Mac OS API 2011-10-13 13:59:13 -04:00
root_unix.go crypto/tls: add FreeBSD root certificate location 2012-01-18 10:03:00 -08:00
root_windows.go crypto/tls: cleanup certificate load on windows 2011-12-01 12:38:00 -05:00
tls.go crypto/tls: Improve TLS Client Authentication 2012-01-05 12:05:38 -05:00