package hmac

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

Dependency Relation
	imports 6 packages, and imported by 5 packages

Involved Source Files cast.go Package hmac implements HMAC according to [FIPS 198-1]. [FIPS 198-1]: https://doi.org/10.6028/NIST.FIPS.198-1
Package-Level Type Names (total 2, in which 1 is exported)
/* sort exporteds 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 3, in which 2 are exported)
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.