package hmac

Import Path
	crypto/internal/fips140/hmac (on go.dev)

Dependency Relation
	imports 6 packages, and imported by 6 packages

Involved Source Files cast.go Package hmac implements HMAC according to [FIPS 198-1].
Package-Level Type Names (only one)
/* sort by: | */
(*HMAC) BlockSize() int (*HMAC) Reset() (*HMAC) Size() int (*HMAC) Sum(in []byte) []byte (*HMAC) Write(p []byte) (n int, err error) *HMAC : crypto/internal/fips140.Hash *HMAC : hash.Hash *HMAC : internal/bisect.Writer *HMAC : io.Writer func New[H](h func() H, key []byte) *HMAC func MarkAsUsedInKDF(h *HMAC)
Package-Level Functions (total 2)
MarkAsUsedInKDF records that this HMAC instance is used as part of a KDF.
Type Parameters: H: fips140.Hash New returns a new HMAC hash using the given [fips140.Hash] type and key.