Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(227)

Unified Diff: src/pkg/crypto/sha256/sha256_test.go

Issue 10630043: code review 10630043: crypto/sha512: provide top-level Sum512 and Sum384 functions (Closed)
Patch Set: diff -r edd229b63fa4 https://code.google.com/p/go Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/crypto/sha256/sha256.go ('k') | src/pkg/crypto/sha512/sha512.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/crypto/sha256/sha256_test.go
===================================================================
--- a/src/pkg/crypto/sha256/sha256_test.go
+++ b/src/pkg/crypto/sha256/sha256_test.go
@@ -90,7 +90,7 @@
g := golden[i]
s := fmt.Sprintf("%x", Sum256([]byte(g.in)))
if s != g.out {
- t.Fatalf("Sum function: sha256(%s) = %s want %s", g.in, s, g.out)
+ t.Fatalf("Sum256 function: sha256(%s) = %s want %s", g.in, s, g.out)
}
c := New()
for j := 0; j < 3; j++ {
« no previous file with comments | « src/pkg/crypto/sha256/sha256.go ('k') | src/pkg/crypto/sha512/sha512.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b