MarkAsUsedInKDFsource
func MarkAsUsedInKDF(h *HMAC)MarkAsUsedInKDF records that this HMAC instance is used as part of a KDF.
Package hmac implements HMAC according to FIPS 198-1.
func MarkAsUsedInKDF(h *HMAC)MarkAsUsedInKDF records that this HMAC instance is used as part of a KDF.
type HMAC struct {
// contains filtered or unexported fields
}func New[H hash.Hash](h func() H, key []byte) *HMACNew returns a new HMAC hash using the given hash.Hash type and key.
func (h *HMAC) BlockSize() intfunc (h *HMAC) Clone() (hash.Cloner, error)Clone implements hash.Cloner if the underlying hash does. Otherwise, it returns an error wrapping errors.ErrUnsupported.
func (h *HMAC) Reset()func (h *HMAC) Size() intfunc (h *HMAC) Sum(in []byte) []bytefunc (h *HMAC) Write(p []byte) (n int, err error)