go/src/crypto
Michael McConville ddfe7b3dc0 crypto/rand: use the getentropy syscall on OpenBSD
Go already supports Linux's getrandom, which is a slightly modified
version of getentropy.

getentropy was added in OpenBSD 5.6. All supported versions of OpenBSD
include it so, unlike with Linux and getrandom, we don't need to test
for its presence.

Fixes #13785.

Change-Id: Ib536b96675f257cd8c5de1e3a36165e15c9abac9
Reviewed-on: https://go-review.googlesource.com/18219
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-02-26 19:58:09 +00:00
..
aes cmd/internal/obj/x86: add new instructions, cleanup. 2016-01-13 14:04:44 +00:00
cipher crypto/cipher: Add AES-GCM encryption and decryption example 2016-01-26 15:58:42 +00:00
des
dsa crypto/dsa: adjust GenerateParameters comment 2016-01-06 16:58:21 +00:00
ecdsa all: fix typos and spelling 2016-02-24 18:42:29 +00:00
elliptic crypto/elliptic: resample private keys if out of range. 2015-12-08 17:39:09 +00:00
hmac crypto/hmac: update link to FIPS HMAC spec 2016-01-06 02:17:06 +00:00
md5 all: fix typos and spelling 2016-02-24 18:42:29 +00:00
rand crypto/rand: use the getentropy syscall on OpenBSD 2016-02-26 19:58:09 +00:00
rc4 [dev.cc] cmd/asm: make 4(SP) illegal except on 386 2015-02-18 03:41:29 +00:00
rsa all: fix typos 2016-02-23 13:58:47 +00:00
sha1 [dev.cc] crypto/md5, crypto/sha1: restore a few SP references 2015-02-20 18:54:29 +00:00
sha256
sha512 crypto: add SHA-512/224 and SHA-512/256 as described in FIPS 180-4 2015-07-14 19:45:21 +00:00
subtle
tls all: fix typos and spelling 2016-02-24 18:42:29 +00:00
x509 crypto/x509: better documentation for ParsePKIXPublicKey 2016-02-26 06:36:10 +00:00
crypto.go crypto: document that Signer.Sign does not hash 2016-01-26 16:27:16 +00:00