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
Published
Aug 7, 2024
Platform
linux/amd64
Imports
6 packages
Last checked
11 minutes ago

Tools for package owners.