1
0
mirror of https://github.com/golang/go synced 2024-11-18 04:04:49 -07:00
go/src/crypto
David Leon Gil 081bc6b226 crypto/elliptic: add Name field to CurveParams struct
And add names for the curve implemented in crypto/elliptic.

This permits a safer alternative to switching on BitSize
for code that implements curve-dependent cryptosystems.
(E.g., ECDSA on P-xxx curves with the matched SHA-2
instances.)

Change-Id: I653c8f47506648028a99a96ebdff8389b2a95fc1
Reviewed-on: https://go-review.googlesource.com/2133
Reviewed-by: Adam Langley <agl@golang.org>
2015-01-12 22:08:49 +00:00
..
aes
cipher crypto/cipher: update docs for the Stream interface 2014-12-26 20:57:43 +00:00
des
dsa
ecdsa
elliptic crypto/elliptic: add Name field to CurveParams struct 2015-01-12 22:08:49 +00:00
hmac
md5
rand crypto/rand: handle EAGAIN reads from /dev/urandom 2014-12-16 04:52:09 +00:00
rc4
rsa crypto/rsa: rsa.SignPSS with opts=nil shouldn't crash. 2015-01-06 19:18:28 +00:00
sha1
sha256
sha512
subtle
tls crypto/tls: fix renegotiation extension. 2015-01-06 19:50:07 +00:00
x509 crypto/x509: NULL parameter MUST be present in the Signature Algorithm (RSA) 2015-01-12 22:07:04 +00:00
crypto.go all: use golang.org/x/... import paths 2014-11-10 09:15:57 +11:00