]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/sha512: update comment for the Sum512 function.
authorRobin Eklind <r.eklind.87@gmail.com>
Thu, 27 Jun 2013 10:51:46 +0000 (20:51 +1000)
committerDave Cheney <dave@cheney.net>
Thu, 27 Jun 2013 10:51:46 +0000 (20:51 +1000)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/10660043

src/pkg/crypto/sha512/sha512.go

index 6825c22acdeb69fd7d09d71b4aa9f51c9a2ba82b..d2ada51373cb501a4cad34ffc56c2fa1a012460e 100644 (file)
@@ -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()