go/src/crypto
David Benjamin ebbe4f8db7 crypto/tls: Never resume sessions across different versions.
Instead, decline the session and do a full handshake. The semantics of
cross-version resume are unclear, and all major client implementations
treat this as a fatal error. (This doesn't come up very much, mostly if
the client does the browser version fallback without sharding the
session cache.)

See BoringSSL's bdf5e72f50e25f0e45e825c156168766d8442dde and OpenSSL's
9e189b9dc10786c755919e6792e923c584c918a1.

Change-Id: I51ca95ac1691870dd0c148fd967739e2d4f58824
Reviewed-on: https://go-review.googlesource.com/21152
Reviewed-by: Adam Langley <agl@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-05-18 21:20:33 +00:00
..
aes crypto/cipher, crypto/aes: add s390x implementation of AES-CTR 2016-04-29 21:17:31 +00:00
cipher crypto/cipher: execute AES-GCM decryption example 2016-05-09 23:03:55 +00:00
des all: remove unnecessary type conversions 2016-04-15 07:31:45 +00:00
dsa crypto/dsa: eliminate invalid PublicKey early 2016-04-05 17:41:47 +00:00
ecdsa crypto/ecdsa: reject negative inputs. 2016-05-18 14:18:48 +00:00
elliptic crypto/ecdsa: reject negative inputs. 2016-05-18 14:18:48 +00:00
hmac crypto/hmac: simplify implementation 2016-03-25 06:24:00 +00:00
md5 crypto/md5: add s390x assembly implementation 2016-04-27 22:11:41 +00:00
rand all: single space after period. 2016-03-02 00:13:47 +00:00
rc4 all: single space after period. 2016-03-02 00:13:47 +00:00
rsa crypto/rsa, crypto/ecdsa: fail earlier on zero parameters 2016-04-05 21:03:20 +00:00
sha1 crypto/sha1: disable crashing AVX2 optimizations for now 2016-05-10 16:44:53 +00:00
sha256 crypto/sha256: Use AVX2 if possible 2016-05-06 15:20:37 +00:00
sha512 crypto/sha512: add s390x assembly implementation 2016-04-26 17:37:45 +00:00
subtle
tls crypto/tls: Never resume sessions across different versions. 2016-05-18 21:20:33 +00:00
x509 crypto/x509: add Admin & User Keychains to FetchPEMRoots on Darwin 2016-05-18 14:26:59 +00:00
crypto.go crypto: document that Signer.Sign does not hash 2016-01-26 16:27:16 +00:00