1
0
mirror of https://github.com/golang/go synced 2024-11-24 22:27:57 -07:00
go/src/crypto
Adam Langley 8437452404 crypto/rsa: expand on documentation and add some examples.
In some cases the documentation for functions in this package was
lacking from the beginning and, in order cases, the documentation didn't
keep pace as the package grew.

This change somewhat addresses that.

Updates #13711.

Change-Id: I25b2bb1fcd4658c5417671e23cf8e644d08cb9ab
Reviewed-on: https://go-review.googlesource.com/18486
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
2016-01-27 00:11:22 +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 crypto/elliptic,crypto/ecdsa: P256 amd64 assembly 2015-11-10 22:16:56 +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 crypto/md5: uniform Write func 2015-11-04 15:41:25 +00:00
rand crypt/rand: update docs for Linux 2015-07-26 02:57:16 +00:00
rc4 [dev.cc] cmd/asm: make 4(SP) illegal except on 386 2015-02-18 03:41:29 +00:00
rsa crypto/rsa: expand on documentation and add some examples. 2016-01-27 00:11:22 +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 crypto/tls: note in comment that Certificate.Leaf is nil after parsing. 2016-01-21 18:50:24 +00:00
x509 crypto/x509: handle ECC private keys with the wrong length. 2016-01-06 02:16:54 +00:00
crypto.go crypto: document that Signer.Sign does not hash 2016-01-26 16:27:16 +00:00