package hmac
Import Path
crypto/internal/fips140/hmac (on go.dev)
Dependency Relation
imports 7 packages, and imported by 6 packages
Package-Level Type Names (only one)
(*HMAC) BlockSize() int
Clone implements [hash.Cloner] if the underlying hash does.
Otherwise, it returns [errors.ErrUnsupported].
(*HMAC) Reset()
(*HMAC) Size() int
(*HMAC) Sum(in []byte) []byte
(*HMAC) Write(p []byte) (n int, err error)
*HMAC : hash.Cloner
*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: hash.Hash
New returns a new HMAC hash using the given [hash.Hash] type and key.
![]() |
The pages are generated with Golds v0.7.7-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |