|
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.
Total comments: 22
|
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
|
Total messages: 8
|