]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: support ChaCha20-Poly1305.
authorAdam Langley <agl@golang.org>
Wed, 12 Oct 2016 17:46:43 +0000 (10:46 -0700)
committerAdam Langley <agl@golang.org>
Mon, 17 Oct 2016 21:05:26 +0000 (21:05 +0000)
commit67d8226b4862f0f8deb4dc6fa8617017ecb0f32b
tree96a6a4a746f7d3c1272dd5327e045b4993c06ca5
parente7edc7e27e13c789b56768b556dfcde767920f10
crypto/tls: support ChaCha20-Poly1305.

This change adds support for the ChaCha20-Poly1305 AEAD to crypto/tls,
as specified in https://tools.ietf.org/html/rfc7905.

Fixes #15499.

Change-Id: Iaa689be90e03f208c40b574eca399e56f3c7ecf1
Reviewed-on: https://go-review.googlesource.com/30957
Run-TryBot: Adam Langley <agl@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/tls/cipher_suites.go
src/crypto/tls/conn.go
src/crypto/tls/handshake_client_test.go
src/crypto/tls/handshake_server_test.go
src/crypto/tls/testdata/Client-TLSv12-ECDHE-ECDSA-CHACHA20-POLY1305 [new file with mode: 0644]
src/crypto/tls/testdata/Client-TLSv12-ECDHE-RSA-CHACHA20-POLY1305 [new file with mode: 0644]
src/go/build/deps_test.go