Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(18)

Issue 3659041: crypto/tls: support CBC ciphers (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 4 months ago by agl1
Modified:
14 years, 4 months ago
Reviewers:
CC:
rsc, ality, golang-dev
Visibility:
Public.

Description

crypto/tls: support CBC ciphers This is largely based on ality's CL 2747042. crypto/rc4: API break in order to conform to crypto/cipher's Stream interface cipher/cipher: promote to the default build Since CBC differs between TLS 1.0 and 1.1, we downgrade and support only 1.0 at the current time. 1.0 is what most of the world uses. Given this CL, it would be trival to add support for AES 256, SHA 256 etc, but I haven't in order to keep the change smaller.

Patch Set 1 #

Patch Set 2 : code review 3659041: NOT FOR SUBMISSION #

Patch Set 3 : code review 3659041: NOT FOR SUBMISSION #

Patch Set 4 : code review 3659041: crypto/tls: support CBC ciphers #

Total comments: 22

Patch Set 5 : code review 3659041: crypto/tls: support CBC ciphers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+663 lines, -209 lines) Patch
M src/pkg/Makefile View 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/crypto/rc4/rc4.go View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
M src/pkg/crypto/rc4/rc4_test.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/crypto/tls/Makefile View 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/crypto/tls/cipher_suites.go View 1 2 3 4 1 chunk +62 lines, -0 lines 0 comments Download
M src/pkg/crypto/tls/common.go View 1 2 3 4 7 chunks +35 lines, -12 lines 0 comments Download
M src/pkg/crypto/tls/conn.go View 1 2 3 4 6 chunks +133 lines, -24 lines 0 comments Download
A src/pkg/crypto/tls/conn_test.go View 1 2 3 4 1 chunk +52 lines, -0 lines 0 comments Download
M src/pkg/crypto/tls/handshake_client.go View 1 6 chunks +16 lines, -14 lines 0 comments Download
M src/pkg/crypto/tls/handshake_server.go View 1 2 3 7 chunks +15 lines, -36 lines 0 comments Download
M src/pkg/crypto/tls/handshake_server_test.go View 1 6 chunks +321 lines, -103 lines 0 comments Download
M src/pkg/crypto/tls/prf.go View 3 chunks +20 lines, -13 lines 0 comments Download
M src/pkg/crypto/tls/prf_test.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8
agl1
rsc: I also have the utility code for generating the handshake traces in handshake_server_test.go. (It ...
14 years, 4 months ago (2010-12-15 14:17:31 UTC) #1
rsc
> Since CBC differs between TLS 1.0 and 1.1, we downgrade and > support only ...
14 years, 4 months ago (2010-12-15 14:28:18 UTC) #2
rsc
> rsc: I also have the utility code for generating the handshake traces in > ...
14 years, 4 months ago (2010-12-15 14:45:05 UTC) #3
rsc1
LGTM http://codereview.appspot.com/3659041/diff/8001/src/pkg/Makefile File src/pkg/Makefile (right): http://codereview.appspot.com/3659041/diff/8001/src/pkg/Makefile#newcode34 src/pkg/Makefile:34: crypto/cipher\ move down 1 line (sort) http://codereview.appspot.com/3659041/diff/8001/src/pkg/crypto/rc4/rc4.go File ...
14 years, 4 months ago (2010-12-15 14:46:15 UTC) #4
agl1
On Wed, Dec 15, 2010 at 9:28 AM, Russ Cox <rsc@golang.org> wrote: > What does ...
14 years, 4 months ago (2010-12-15 15:05:28 UTC) #5
agl1
*** Submitted as http://code.google.com/p/go/source/detail?r=062a54b81304 *** crypto/tls: support CBC ciphers This is largely based on ality's ...
14 years, 4 months ago (2010-12-15 16:50:38 UTC) #6
agl1
14 years, 4 months ago (2010-12-15 16:54:11 UTC) #7
agl1
14 years, 4 months ago (2010-12-15 16:55:00 UTC) #8
Submitted 062a54b81304.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b