]> Cypherpunks repositories - gostls13.git/commit
crypto/rand: use getrandom system call on Linux
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 12 Aug 2014 21:35:27 +0000 (14:35 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 12 Aug 2014 21:35:27 +0000 (14:35 -0700)
commit67e1d40031d66bc2b67f422a17af0fea7e60effd
tree9302ebe606b672661d70325f1464faf188094ce4
parent1837419f302da9b36055bf12b6a7f92c420cb32b
crypto/rand: use getrandom system call on Linux

Adds internal/syscall package.

Fixes #8520

LGTM=r, agl
R=agl, rsc, r
CC=golang-codereviews, iant
https://golang.org/cl/123260044
src/pkg/crypto/rand/rand_linux.go [new file with mode: 0644]
src/pkg/crypto/rand/rand_unix.go
src/pkg/go/build/deps_test.go
src/pkg/internal/syscall/getrandom_linux.go [new file with mode: 0644]