func crypto/internal/fips140/hmac.New
11 uses
crypto/internal/fips140/hmac (current package)
cast.go#L26: h := New(sha256.New, input)
hmac.go#L131: func New[H fips140.Hash](h func() H, key []byte) *HMAC {
crypto/internal/fips140/check
check.go#L67: h := hmac.New(sha256.New, make([]byte, 32))
crypto/internal/fips140/ecdsa
hmacdrbg.go#L57: return hmac.New(hash, key)
hmacdrbg.go#L70: h := hmac.New(hash, K)
hmacdrbg.go#L88: h = hmac.New(hash, K)
hmacdrbg.go#L110: h = hmac.New(hash, K)
crypto/internal/fips140/hkdf
hkdf.go#L19: extractor := hmac.New(h, salt)
hkdf.go#L28: expander := hmac.New(h, pseudorandomKey)
crypto/internal/fips140/tls12
tls12.go#L28: h := hmac.New(hash, secret)
crypto/hmac
hmac.go#L56: return hmac.New(h, key)