|
crypto/...: more fixes for bug 2841
1) Remove the Reset() member in crypto/aes and crypto/des (and
document the change).
2) Turn several empty error structures into vars. Any remaining error
structures are either non-empty, or will probably become so in the
future.
3) Implement SetWriteDeadline for TLS sockets. At the moment, the TLS
status cannot be reused after a Write error, which is probably fine
for most uses.
4) Make crypto/aes and crypto/des return a cipher.Block.
Total comments: 4
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+232 lines, -487 lines) |
Patch |
 |
M |
doc/go1.html
|
View
|
1
2
3
4
5
6
|
12 chunks |
+61 lines, -166 lines |
0 comments
|
Download
|
 |
M |
doc/go1.tmpl
|
View
|
1
2
3
4
5
6
|
12 chunks |
+61 lines, -166 lines |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/aes/cipher.go
|
View
|
1
2
3
4
5
|
3 chunks |
+12 lines, -30 lines |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/cipher/cbc_aes_test.go
|
View
|
1
2
3
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/cipher/cfb_test.go
|
View
|
1
2
3
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/cipher/common_test.go
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/cipher/ctr_aes_test.go
|
View
|
1
2
3
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/cipher/ofb_test.go
|
View
|
1
2
3
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/des/block.go
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/des/cipher.go
|
View
|
1
2
3
4
5
|
2 chunks |
+21 lines, -48 lines |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/des/des_test.go
|
View
|
1
2
3
|
4 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/dsa/dsa.go
|
View
|
1
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/rand/rand_unix.go
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/rsa/pkcs1v15.go
|
View
|
1
|
7 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/rsa/rsa.go
|
View
|
1
|
6 chunks |
+11 lines, -19 lines |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/tls/conn.go
|
View
|
1
|
4 chunks |
+18 lines, -13 lines |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/x509/x509.go
|
View
|
1
|
5 chunks |
+8 lines, -12 lines |
0 comments
|
Download
|
Total messages: 11
|