aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/crypto
diff options
context:
space:
mode:
authorRobin Eklind <r.eklind.87@gmail.com>2013-06-27 20:51:46 +1000
committerDave Cheney <dave@cheney.net>2013-06-27 20:51:46 +1000
commit2546a54148ba91b48c4a5ea4b288976b40eda58f (patch)
treed1dd6885563d38318f086749f79161dae43b5b3c /src/pkg/crypto
parent8cd0689a6311a0608748505d0d8e7a1bfcca1ec8 (diff)
downloadgo-2546a54148ba91b48c4a5ea4b288976b40eda58f.tar.xz
crypto/sha512: update comment for the Sum512 function.
R=golang-dev, r CC=golang-dev https://golang.org/cl/10660043
Diffstat (limited to 'src/pkg/crypto')
-rw-r--r--src/pkg/crypto/sha512/sha512.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/crypto/sha512/sha512.go b/src/pkg/crypto/sha512/sha512.go
index 6825c22acd..d2ada51373 100644
--- a/src/pkg/crypto/sha512/sha512.go
+++ b/src/pkg/crypto/sha512/sha512.go
@@ -184,7 +184,7 @@ func (d *digest) checkSum() [Size]byte {
return digest
}
-// Sum returns the SHA512 checksum of the data.
+// Sum512 returns the SHA512 checksum of the data.
func Sum512(data []byte) [Size]byte {
var d digest
d.Reset()