package cryptotest

import "crypto/internal/cryptotest"

Index

Functions

func TestHash

func TestHash(t *testing.T, mh MakeHash)

TestHash performs a set of tests on hash.Hash implementations, checking the documented requirements of Write, Sum, Reset, Size, and BlockSize.

Types

type MakeHash

type MakeHash func() hash.Hash

Source Files

hash.go

Version
v1.23.0-rc.2
Published
Jul 16, 2024
Platform
linux/amd64
Imports
6 packages
Last checked
6 minutes ago

Tools for package owners.