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.1
Published
Aug 29, 2024
Platform
linux/amd64
Imports
6 packages
Last checked
17 seconds ago

Tools for package owners.