]> Cypherpunks repositories - gostls13.git/commit
crypto: use better hash benchmarks
authorEric Roshan-Eisner <eric.d.eisner@gmail.com>
Thu, 1 Nov 2012 20:21:18 +0000 (16:21 -0400)
committerAdam Langley <agl@golang.org>
Thu, 1 Nov 2012 20:21:18 +0000 (16:21 -0400)
commit03c52a5d65e06ab881af75a365004bea7ed7359d
treeb8cf97124d7b3b54450a931877190a6ba5b33910
parent824b332652b94fea18d1e6cc42e75870b0185f5e
crypto: use better hash benchmarks

Labels the existing benchmark as stream, and add benchmarks that
compute the checksum.

R=golang-dev, agl
CC=golang-dev
https://golang.org/cl/6814060
src/pkg/crypto/md5/md5_test.go
src/pkg/crypto/sha1/sha1_test.go
src/pkg/crypto/sha256/sha256_test.go
src/pkg/crypto/sha512/sha512_test.go