1
0
mirror of https://github.com/golang/go synced 2024-10-04 16:21:22 -06:00
go/src/pkg/crypto
Rob Pike abe384f68a all: be more idiomatic when documenting boolean return values.
Phrases like "returns whether or not the image is opaque" could be
describing what the function does (it always returns, regardless of
the opacity) or what it returns (a boolean indicating the opacity).
Even when the "or not" is missing, the phrasing is bizarre.

Go with "reports whether", which is still clunky but at least makes
it clear we're talking about the return value.

These were edited by hand. A few were cleaned up in other ways.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/11699043
2013-07-23 11:59:49 +10:00
..
aes crypto/aes: speed up using AES-NI on amd64 2012-09-27 01:54:10 +08:00
cipher crypto/cipher: StreamWriter.Closer docs + behavior change 2013-06-17 07:30:04 -07:00
des crypto/des: add an example to demonstrate EDE2 operation. 2012-12-22 10:50:11 -05:00
dsa build: remove dead code 2013-03-22 17:28:22 -04:00
ecdsa all: be more idiomatic when documenting boolean return values. 2013-07-23 11:59:49 +10:00
elliptic crypto/elliptic: add constant-time, P-256 implementation. 2013-06-27 13:31:05 -04:00
hmac crypto/hmac: add Equal function. 2012-10-11 15:28:02 -04:00
md5 crypto/md5: provide a top-level Sum function 2013-06-26 11:29:30 -07:00
rand crypto/rand: better panic message for invalid Int argument. 2013-04-17 23:21:15 -07:00
rc4 build: update assembly variable names for vet 2013-03-22 12:57:55 -04:00
rsa crypto/rsa: remove obsolete TODO. 2013-07-16 19:34:21 -04:00
sha1 crypto/sha1: provide a top-level Sum function 2013-06-25 17:04:18 -07:00
sha256 crypto/sha512: provide top-level Sum512 and Sum384 functions 2013-06-26 13:14:11 -07:00
sha512 crypto/sha512: update comment for the Sum512 function. 2013-06-27 20:51:46 +10:00
subtle crypto/rsa: check for minimal PKCS#1 v1.5 padding. 2013-05-15 10:27:34 -04:00
tls crypto/tls: Add support for ECDHE-ECDSA 2013-07-17 12:33:16 -04:00
x509 all: be more idiomatic when documenting boolean return values. 2013-07-23 11:59:49 +10:00
crypto.go crypto/tls: Add support for ECDHE-ECDSA 2013-07-17 12:33:16 -04:00