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) *HMAC
New returns a new HMAC hash using the given hash.Hash type and key.
func (h *HMAC) BlockSize() int
func (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() int
func (h *HMAC) Sum(in []byte) []byte
func (h *HMAC) Write(p []byte) (n int, err error)