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

Issue 7197048: code review 7197048: crypto/tls: allow alternate low-level cryptographic fun...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by jgc
Modified:
10 years, 10 months ago
Reviewers:
rsc, golang-dev, dfc, agl2, jgc, bradfitz
Visibility:
Public.

Description

crypto/tls: allow alternate low-level cryptographic functions crypto/tls relies on the crypto/ implementations of AES, 3DES, MD5, SHA1 and RC4. For performance or security reasons it may be preferable to use alternate implementations (such as a Go wrapper to OpenSSL). This change enables use of alternate AES, 3DES, MD5, SHA1 and RC4 function by setting global functions that crypto/tls uses to create cipher or hash objects. By default the standard Go implementations are used.

Patch Set 1 #

Patch Set 2 : diff -r 7f25ce26f38f https://code.google.com/p/go #

Patch Set 3 : diff -r 7f25ce26f38f https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -14 lines) Patch
M src/pkg/crypto/tls/cipher_suites.go View 1 5 chunks +44 lines, -5 lines 0 comments Download
M src/pkg/crypto/tls/key_agreement.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/crypto/tls/prf.go View 1 4 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 9
jgc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 2 months ago (2013-01-23 16:31:02 UTC) #1
rsc
If you want to sub in faster implementations, why not compile a copy of Go ...
11 years, 2 months ago (2013-01-23 22:19:59 UTC) #2
jgc_jgc.org
On Wed, Jan 23, 2013 at 10:19 PM, Russ Cox <rsc@golang.org> wrote: > If you ...
11 years, 2 months ago (2013-01-23 22:23:11 UTC) #3
bradfitz
On Wed, Jan 23, 2013 at 2:22 PM, John Graham-Cumming <jgc@jgc.org> wrote: > On Wed, ...
11 years, 2 months ago (2013-01-23 22:46:58 UTC) #4
agl2
We already have a registry of hash functions in crypto. I think a patch that ...
11 years, 2 months ago (2013-01-23 22:52:41 UTC) #5
jgc_jgc.org
On Wed, Jan 23, 2013 at 10:52 PM, Adam Langley <agl@google.com> wrote: > We already ...
11 years, 2 months ago (2013-01-23 23:03:19 UTC) #6
dfc
> One fear is that this crutch leads to everybody doing this, and Go's crypto ...
11 years, 2 months ago (2013-01-24 01:17:32 UTC) #7
jgc
On 2013/01/24 01:17:32, dfc wrote: > I understand that John has a deadline, and the ...
11 years, 2 months ago (2013-01-28 09:51:44 UTC) #8
bradfitz
10 years, 10 months ago (2013-06-05 21:04:00 UTC) #9
R=close

rejected / retracted.
Sign in to reply to this message.

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