Documentation ¶
Overview ¶
Package hmac implements HMAC according to FIPS 198-1.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarkAsUsedInKDF ¶
func MarkAsUsedInKDF(h *HMAC)
MarkAsUsedInKDF records that this HMAC instance is used as part of a KDF.
Types ¶
type HMAC ¶
type HMAC struct {
// contains filtered or unexported fields
}
func New ¶
New returns a new HMAC hash using the given fips140.Hash type and key.
Click to show internal directories.
Click to hide internal directories.