]> Cypherpunks repositories - gostls13.git/commit
crypto/rand: support generation of 2-5 bit primes, also document the error return...
authorShenghou Ma <minux.ma@gmail.com>
Tue, 10 Dec 2013 04:25:49 +0000 (23:25 -0500)
committerShenghou Ma <minux.ma@gmail.com>
Tue, 10 Dec 2013 04:25:49 +0000 (23:25 -0500)
commit4f2cfdc7f44f26548be4a84414a8e21985b3e441
tree9e05c104ce173bd9c77a4707e0d414dae8d7e272
parentaa0ae7554c460947ff40ae43eb10a098dc4e3f6d
crypto/rand: support generation of 2-5 bit primes, also document the error return for Prime
Fixes #6849.
Fixes #6867.

R=golang-dev, agl
CC=golang-dev
https://golang.org/cl/35870043
src/pkg/crypto/rand/util.go
src/pkg/crypto/rand/util_test.go [new file with mode: 0644]