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

Issue 1773041: code review 1773041: crypto/rand for Windows

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by peterGo
Modified:
13 years, 9 months ago
Reviewers:
brainman
CC:
rsc, brainman, golang-dev
Visibility:
Public.

Description

crypto/rand for Windows

Patch Set 1 #

Patch Set 2 : code review 1773041: crypto/rand for Windows #

Patch Set 3 : code review 1773041: crypto/rand for Windows #

Total comments: 7

Patch Set 4 : code review 1773041: crypto/rand for Windows #

Total comments: 14

Patch Set 5 : code review 1773041: crypto/rand for Windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -150 lines) Patch
M src/pkg/crypto/rand/Makefile View 1 chunk +17 lines, -0 lines 0 comments Download
M src/pkg/crypto/rand/rand.go View 1 2 3 4 1 chunk +2 lines, -111 lines 0 comments Download
M src/pkg/crypto/rand/rand_unix.go View 1 2 3 2 chunks +3 lines, -9 lines 0 comments Download
A src/pkg/crypto/rand/rand_windows.go View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
M src/pkg/crypto/rsa/pkcs1v15_test.go View 1 2 3 4 5 chunks +6 lines, -12 lines 0 comments Download
M src/pkg/crypto/rsa/rsa_test.go View 1 2 3 4 4 chunks +6 lines, -12 lines 0 comments Download
M src/pkg/crypto/x509/x509_test.go View 1 2 3 4 3 chunks +3 lines, -6 lines 0 comments Download
M src/pkg/syscall/syscall_windows.go View 1 chunk +3 lines, -0 lines 0 comments Download
M src/pkg/syscall/zsyscall_windows_386.go View 3 chunks +37 lines, -0 lines 0 comments Download
M src/pkg/syscall/ztypes_windows_386.go View 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 12
peterGo
Hello rsc, brainman (cc: golang-dev@googlegroups.com), I'd like you to review this change.
13 years, 9 months ago (2010-07-09 02:22:26 UTC) #1
peterGo
Hello rsc, brainman (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 9 months ago (2010-07-09 04:46:52 UTC) #2
brainman
One more brick in the wall <g>. Thank you. http://codereview.appspot.com/1773041/diff/7001/8004 File src/pkg/crypto/rand/rand_windows.go (right): http://codereview.appspot.com/1773041/diff/7001/8004#newcode26 src/pkg/crypto/rand/rand_windows.go:26: ...
13 years, 9 months ago (2010-07-09 05:00:40 UTC) #3
peterGo
These are cosmetic changes, primarily improved documentation. http://codereview.appspot.com/1773041/diff/7001/8003 File src/pkg/crypto/rand/rand_unix.go (right): http://codereview.appspot.com/1773041/diff/7001/8003#newcode5 src/pkg/crypto/rand/rand_unix.go:5: // Package ...
13 years, 9 months ago (2010-07-09 16:49:24 UTC) #4
peterGo
Hello rsc, brainman (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 9 months ago (2010-07-09 16:58:30 UTC) #5
peterGo
http://codereview.appspot.com/1773041/diff/7001/8004 File src/pkg/crypto/rand/rand_windows.go (right): http://codereview.appspot.com/1773041/diff/7001/8004#newcode26 src/pkg/crypto/rand/rand_windows.go:26: if r.prov == 0 { On 2010/07/09 05:00:42, brainman ...
13 years, 9 months ago (2010-07-10 02:43:00 UTC) #6
peterGo
Hello rsc, brainman (cc: golang-dev@googlegroups.com), I'd like you to review this change.
13 years, 9 months ago (2010-07-10 02:43:43 UTC) #7
brainman
> Even if we do use once.Do(...), I would still test for nil or zero. ...
13 years, 9 months ago (2010-07-11 02:21:39 UTC) #8
rsc1
looks pretty good, thanks. http://codereview.appspot.com/1773041/diff/16001/17002 File src/pkg/crypto/rand/rand.go (right): http://codereview.appspot.com/1773041/diff/16001/17002#newcode16 src/pkg/crypto/rand/rand.go:16: // On Unix-like systems, Reader ...
13 years, 9 months ago (2010-07-12 20:15:30 UTC) #9
peterGo
Hello rsc, brainman (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 9 months ago (2010-07-12 21:06:15 UTC) #10
peterGo
http://codereview.appspot.com/1773041/diff/16001/17002 File src/pkg/crypto/rand/rand.go (right): http://codereview.appspot.com/1773041/diff/16001/17002#newcode16 src/pkg/crypto/rand/rand.go:16: // On Unix-like systems, Reader is initialized to use ...
13 years, 9 months ago (2010-07-12 21:06:33 UTC) #11
rsc
13 years, 9 months ago (2010-07-12 23:38:01 UTC) #12
*** Submitted as http://code.google.com/p/go/source/detail?r=42e4767b10be ***

crypto/rand for Windows

R=rsc, brainman
CC=golang-dev
http://codereview.appspot.com/1773041

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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