1
0
mirror of https://github.com/golang/go synced 2024-10-04 20:21:22 -06:00
go/src/pkg/crypto/tls
Adam Langley e308d55973 crypto: add package.
The crypto package is added as a common place to store identifiers for
hash functions. At the moment, the rsa package has an enumeration of
hash functions and knowledge of their digest lengths. This is an
unfortunate coupling and other high level crypto packages tend to need
to duplicate this enumeration and knowledge (i.e. openpgp).

crypto pulls this code out into a common location.

It would also make sense to add similar support for ciphers to crypto,
but the problem there isn't as acute that isn't done in this change.

R=bradfitzgo, r, rsc
CC=golang-dev
https://golang.org/cl/4080046
2011-02-01 11:02:48 -05:00
..
alert.go crypto/tls: simpler implementation of record layer 2010-04-26 22:19:04 -07:00
ca_set.go crypto/tls: add *Config argument to Dial 2010-12-07 16:15:15 -05:00
cipher_suites.go crypto/tls: add ECDHE support 2010-12-16 17:10:50 -05:00
common.go crypto/tls: add ECDHE support 2010-12-16 17:10:50 -05:00
conn_test.go tls: fix argument mistake in Error call. 2010-12-17 13:47:52 -08:00
conn.go crypto/tls: add ECDHE support 2010-12-16 17:10:50 -05:00
generate_cert.go crypto/tls: use rand.Reader in cert generation example 2010-12-14 12:22:28 -05:00
handshake_client_test.go crypto/tls: add ECDHE support 2010-12-16 17:10:50 -05:00
handshake_client.go crypto: add package. 2011-02-01 11:02:48 -05:00
handshake_messages_test.go crypto/tls: add ECDHE support 2010-12-16 17:10:50 -05:00
handshake_messages.go crypto/tls: add ECDHE support 2010-12-16 17:10:50 -05:00
handshake_server_test.go crypto/tls: missed a file 2010-12-16 17:14:02 -05:00
handshake_server.go crypto: add package. 2011-02-01 11:02:48 -05:00
key_agreement.go crypto: add package. 2011-02-01 11:02:48 -05:00
Makefile crypto/tls: add ECDHE support 2010-12-16 17:10:50 -05:00
parse-gnutls-cli-debug-log.py crypto/tls: check in support code. 2010-12-16 10:39:53 -05:00
prf_test.go crypto/tls: support CBC ciphers 2010-12-15 11:49:55 -05:00
prf.go crypto/tls: support CBC ciphers 2010-12-15 11:49:55 -05:00
tls.go crypto/tls: add *Config argument to Dial 2010-12-07 16:15:15 -05:00