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)
forHKDF and keyLen are stored to inform the service indicator decision.
inner fips140.Hash
ipad []byte
keyLen int
If marshaled is true, then opad and ipad do not contain a padded
copy of the key, but rather the marshaled state of outer/inner after
opad/ipad has been fed into it.
opad []byte
outer fips140.Hash
(*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
*HMAC : crypto/tls.transcriptHash
func New[H](h func() H, key []byte) *HMAC
func MarkAsUsedInKDF(h *HMAC)
func crypto/internal/fips140/ecdsa.pad000(h *HMAC, writtenSoFar int)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)