go/src/crypto/sha256/sha256_test.go

type sha256Test

var golden

var golden224

func TestGolden(t *testing.T) {}

func testGolden(t *testing.T) {}

func TestGoldenMarshal(t *testing.T) {}

func testGoldenMarshal(t *testing.T) {}

func TestMarshalTypeMismatch(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) {}

type cgoData

func TestCgo(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) {}