1
0
mirror of https://github.com/golang/go synced 2024-11-05 17:46:16 -07:00
go/src/crypto
Adam Langley 1ddb8c20c6 crypto/x509: be strict about trailing data.
The X.509 parser was allowing trailing data after a number of structures
in certificates and public keys. There's no obvious security issue here,
esp in certificates which are signed anyway, but this change makes
trailing data an error just in case.

Fixes #10583

Change-Id: Idc289914899600697fc6d30482227ff4bf479241
Reviewed-on: https://go-review.googlesource.com/9473
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
2015-04-30 03:49:36 +00:00
..
aes
cipher crypto/cipher: update docs for the Stream interface 2014-12-26 20:57:43 +00:00
des
dsa
ecdsa crypto/{ecdsa,rsa}: always use io.ReadFull with crypto/rand.Reader. 2015-03-18 00:37:48 +00:00
elliptic crypto/elliptic: don't unmarshal points that are off the curve 2015-04-26 21:11:50 +00:00
hmac all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
md5 [dev.cc] crypto/md5, crypto/sha1: restore a few SP references 2015-02-20 18:54:29 +00:00
rand internal/syscall: move to unix subdirectory 2015-04-15 23:51:36 +00:00
rc4 [dev.cc] cmd/asm: make 4(SP) illegal except on 386 2015-02-18 03:41:29 +00:00
rsa crypto/{ecdsa,rsa}: always use io.ReadFull with crypto/rand.Reader. 2015-03-18 00:37:48 +00:00
sha1 [dev.cc] crypto/md5, crypto/sha1: restore a few SP references 2015-02-20 18:54:29 +00:00
sha256
sha512
subtle
tls crypto/tls: update the supported signature algorithms. 2015-04-30 03:47:51 +00:00
x509 crypto/x509: be strict about trailing data. 2015-04-30 03:49:36 +00:00
crypto.go crypto/rsa: implement crypto.Decrypter 2015-03-16 23:15:08 +00:00