go/src/crypto/sha512/sha512_test.go

type sha512Test

var golden224

var golden256

var golden384

var golden512

func testHash(t *testing.T, name, in, outHex string, oneShotResult []byte, digestFunc hash.Hash) {}

func TestGolden(t *testing.T) {}

func testGolden(t *testing.T) {}

func TestGoldenMarshal(t *testing.T) {}

func testGoldenMarshal(t *testing.T) {}

func TestMarshalMismatch(t *testing.T) {}

func TestSize(t *testing.T) {}

func TestBlockSize(t *testing.T) {}

type unmarshalTest

var largeUnmarshalTests

func safeSum(h hash.Hash) (sum []byte, err error) {}

func TestLargeHashes(t *testing.T) {}

func TestAllocations(t *testing.T) {}

func TestHash(t *testing.T) {}

var bench

var buf

func benchmarkSize(b *testing.B, size int) {}

func BenchmarkHash8Bytes(b *testing.B) {}

func BenchmarkHash1K(b *testing.B) {}

func BenchmarkHash8K(b *testing.B) {}