package hmac
import "crypto/internal/fips140/hmac"
Package hmac implements HMAC according to FIPS 198-1.
Index ¶
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.
func (*HMAC) BlockSize ¶
func (*HMAC) Reset ¶
func (h *HMAC) Reset()
func (*HMAC) Size ¶
func (*HMAC) Sum ¶
func (*HMAC) Write ¶
Source Files ¶
- Version
- v1.24.0 (latest)
- Published
- Feb 10, 2025
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 23 minutes ago –
Tools for package owners.