Age | Commit message (Collapse) | Author | Files | Lines |
|
Listener contains private members and 6g now enforces that private
members cannot be assigned outside of their package.
R=rsc
CC=golang-dev
http://codereview.appspot.com/183073
|
|
Add support for TLS extensions in general and Next Protocol
Negotiation in particular.
R=rsc
CC=golang-dev
http://codereview.appspot.com/181045
|
|
parsing and printing to new syntax.
Use -oldparser to parse the old syntax,
use -oldprinter to print the old syntax.
2) Change default gofmt formatting settings
to use tabs for indentation only and to use
spaces for alignment. This will make the code
alignment insensitive to an editor's tabwidth.
Use -spaces=false to use tabs for alignment.
3) Manually changed src/exp/parser/parser_test.go
so that it doesn't try to parse the parser's
source files using the old syntax (they have
new syntax now).
4) gofmt -w src misc test/bench
1st set of files.
R=rsc
CC=agl, golang-dev, iant, ken2, r
http://codereview.appspot.com/180047
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/176062
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
http://codereview.appspot.com/172041
|
|
This is an adaption of the code from http://en.wikipedia.org/wiki/XTEA. The package also implements the block.Cipher
interface so that it can be used with the various block modes.
R=rsc
http://codereview.appspot.com/157152
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes bug 375.
R=rsc
http://codereview.appspot.com/165045
|
|
R=r, rsc
CC=agl1
http://codereview.appspot.com/161070
Committer: Russ Cox <rsc@golang.org>
|
|
this is the exact same thing issue #115 is about. fix makefiles to use relative
path to work in the case we have whitespaces as part of GOROOT.
R=rsc
http://codereview.appspot.com/162055
Committer: Russ Cox <rsc@golang.org>
|
|
- removed New(len int) in favor of new(Vector).Resize(len, cap)
- removed Init(len int) in favor of Resize(len, cap)
- runs all.bash
Fixes issue 294.
R=rsc, r, r1
http://codereview.appspot.com/157143
|
|
See IETF RFC 1320, http://tools.ietf.org/html/rfc1320.
Fixes issue 279.
R=rsc
http://codereview.appspot.com/159051
Committer: Russ Cox <rsc@golang.org>
|
|
the bash scripts and makefiles for building go didn't take into account
the fact $GOROOT / $GOBIN could both be directories containing whitespaces,
and was not possible to build it in such a situation.
this commit adjusts the various makefiles/scripts to make it aware of that
possibility, and now it builds successfully when using a path with whitespaces
as well.
Fixes issue 115.
R=rsc, dsymonds1
http://codereview.appspot.com/157067
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc, agl
CC=golang-dev
http://codereview.appspot.com/157076
|
|
R=r, gri
CC=golang-dev
http://codereview.appspot.com/156115
|
|
TBR=rsc
R=rsc
http://codereview.appspot.com/157075
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/156054
|
|
replace all calls with calls to copy
use copy in regexp and bytes.Buffer
R=rsc
CC=golang-dev
http://codereview.appspot.com/157073
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/156051
|
|
* add Marshal
* add BitString.RightAlign
* change to using a *time.Time (from time.Time) since that's what
the time package uses.
* return the unparsed data from Unmarshal.
R=rsc
CC=golang-dev
http://codereview.appspot.com/156047
|
|
Fixes issue 210.
R=rsc
CC=golang-dev
http://codereview.appspot.com/155057
|
|
We are dealing with the multiplicative group ℤ/pqℤ. Multiples of
either p or q are not members of the group since they cannot have an
inverse. (Such numbers are 0 in the subgroup ℤ/pℤ.)
With p and q of typical size (> 512 bits), the probability of a random
blind [1..pq-1] being a multiple of p or q is negligible. However, in
the unit tests, much smaller sizes are used and the event could occur.
This change checks the result of the ext GCD and deals with this case.
It also increases the size of p and q in the unit test as a large
number of the keys selected were p, q = 227,169.
R=rsc
CC=golang-dev
http://codereview.appspot.com/154141
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 171.
Fixes issue 172.
R=agl1
http://codereview.appspot.com/154136
|
|
|
|
TBR=agl1
CC=golang-dev
http://codereview.appspot.com/154065
|
|
Turn methods that don't store the result in their receiver into
functions in order to preserve the convention.
Re-jig Exp and Div by moving their guts into nat.go.
Add ProbablyPrime to perform Miller-Rabin primality tests.
crypto/rsa: reenable key generation since we now have ProbablyPrime.
R=gri
CC=go-dev
http://codereview.prom.corp.google.com/1024038
|
|
Fixes issue 38.
R=r1, r
http://codereview.appspot.com/152072
|
|
rsc's algorithm
- applied gofmt -w misc src
- partial CL (remaining files in other CLs)
R=rsc, r
http://go/go-review/1026036
|
|
R=rsc, r
http://go/go-review/1025029
|
|
R=r, iant
CC=go-dev
http://go/go-review/1025024
|
|
- enabled for function declarations (not just function literals)
- applied gofmt -w $GOROOT/src
(look for instance at src/pkg/debug/elf/elf.go)
R=r, rsc
CC=go-dev
http://go/go-review/1026006
|
|
crypto/x509: reenable tests.
R=gri
CC=go-dev
http://go/go-review/1026004
|
|
R=agl
http://go/go-review/1024009
|
|
TBR=rsc
R=rsc
CC=go-dev
http://go/go-review/1024007
|
|
(now down to a handfull of files in pkg)
R=rsc
http://go/go-review/1019006
|
|
Results of running gofmt again.
R=rsc
CC=go-dev
http://go/go-review/1022006
Committer: Adam Langley <agl@golang.org>
|
|
Make RSA and X509 build by using big. (This involves commenting out
key generation for now since I haven't written Miller-Rabin in big
yet.)
Add entries to the Makefile.
R=rsc
CC=go-dev
http://go/go-review/1022005
|
|
R=rsc
CC=go-dev
http://go/go-review/1019002
|
|
(With hindsight, record_process might have been designed wrong, but it
works for now. It'll get redrawn when client support is added.)
R=rsc
CC=r
http://go/go-review/1018032
Committer: Adam Langley <agl@golang.org>
|
|
R=agl
CC=rsc
http://go/go-review/1017032
|
|
R=rsc
CC=go-dev
http://go/go-review/1017021
|
|
R=rsc
CC=go-dev
http://go/go-review/1018028
|
|
For testing it can be useful to use a null random source (one which
always returns zero) to remove non-determinism from the tests.
However, when performing RSA blinding, the random blind ends up being
zero and it's hard to reverse a multiplication by zero.
R=rsc
CC=go-dev
http://go/go-review/1018033
|
|
Rather than drop everything into a single, huge review, I've included
some simple bits of code here.
R=rsc
CC=go-dev
http://go/go-review/1016029
|
|
R=rsc
CC=go-dev
http://go/go-review/1018020
|
|
left, like an assignment, like strcpy, etc.
R=rsc
CC=go-dev
http://go/go-review/1016011
|
|
R=go-dev
APPROVED=rsc
DELTA=407 (400 added, 0 deleted, 7 changed)
OCL=36007
CL=36146
|
|
R=r
APPROVED=r
DELTA=16 (0 added, 15 deleted, 1 changed)
OCL=35976
CL=35978
|
|
R=rsc
APPROVED=rsc
DELTA=659 (659 added, 0 deleted, 0 changed)
OCL=35932
CL=35975
|
|
R=rsc
APPROVED=rsc
DELTA=734 (734 added, 0 deleted, 0 changed)
OCL=35738
CL=35879
|
|
R=r
DELTA=30 (8 added, 15 deleted, 7 changed)
OCL=35677
CL=35713
|