1
0
mirror of https://github.com/golang/go synced 2024-10-04 16:21:22 -06:00
go/src/pkg/crypto
Adam Langley 5b20a18f3b crypto/x509: support IP SANs.
Subject Alternative Names in X.509 certificates may include IP
addresses. This change adds support for marshaling, unmarshaling and
verifying this form of SAN.

It also causes IP addresses to only be checked against IP SANs,
rather than against hostnames as was previously the case. This
reflects RFC 6125.

Fixes #4658.

R=golang-dev, mikioh.mikioh, bradfitz
CC=golang-dev
https://golang.org/cl/7336046
2013-02-15 10:40:17 -05:00
..
aes crypto/aes: speed up using AES-NI on amd64 2012-09-27 01:54:10 +08:00
cipher crypto/cipher: avoid out of bounds error in CryptBlocks 2013-01-30 12:45:13 -08:00
des crypto/des: add an example to demonstrate EDE2 operation. 2012-12-22 10:50:11 -05:00
dsa crypto/dsa: add missing period in package comment 2012-02-17 14:48:44 -08:00
ecdsa crypto/elliptic: explicitly handle P+P, ∞+P and P+∞ 2012-08-03 15:42:14 -04:00
elliptic crypto/elliptic: explicitly handle P+P, ∞+P and P+∞ 2012-08-03 15:42:14 -04:00
hmac crypto/hmac: add Equal function. 2012-10-11 15:28:02 -04:00
md5 crypto/md5: fix for big-endian processors 2013-02-07 13:31:53 -08:00
rand crypto/rsa: ensure that RSA keys use the full number of bits. 2012-12-28 19:11:37 -05:00
rc4 crypto/rc4: naïve ARM assembly implementation 2013-02-07 18:54:21 +08:00
rsa src: Use bytes.Equal instead of bytes.Compare where possible. 2013-01-07 10:03:49 +11:00
sha1 crypto/sha1: Make sha-1 do block mixup in place 2012-11-07 13:41:02 +11:00
sha256 crypto: use better hash benchmarks 2012-11-01 16:21:18 -04:00
sha512 crypto: use better hash benchmarks 2012-11-01 16:21:18 -04:00
subtle build: remove Make.pkg, Make.tool 2012-01-30 23:43:46 -05:00
tls crypto/x509: support IP SANs. 2013-02-15 10:40:17 -05:00
x509 crypto/x509: support IP SANs. 2013-02-15 10:40:17 -05:00
crypto.go crypto/...: changes to address some of bug 2841. 2012-02-03 15:08:53 -05:00