Involved Source Filescast.go Package hmac implements HMAC according to [FIPS 198-1].
[FIPS 198-1]: https://doi.org/10.6028/NIST.FIPS.198-1
Package-Level Type Names (total 3, in which 1 is exported)
/* sort exporteds by: | */
forHKDF and keyLen are stored to inform the service indicator decision.innerhash.Hash opad and ipad may share underlying storage with HMAC clones.keyLenint If marshaled is true, then opad and ipad do not contain a padded
copy of the key, but rather the marshaled state of outer/inner after
opad/ipad has been fed into it. opad and ipad may share underlying storage with HMAC clones.outerhash.Hash(*HMAC) BlockSize() int Clone implements [hash.Cloner] if the underlying hash does.
Otherwise, it returns an error wrapping [errors.ErrUnsupported].(*HMAC) Reset()(*HMAC) Size() int(*HMAC) Sum(in []byte) []byte(*HMAC) Write(p []byte) (n int, err error)
*HMAC : hash.Cloner
*HMAC : hash.Hash
*HMAC : internal/bisect.Writer
*HMAC : io.Writer
*HMAC : crypto/tls.transcriptHash
*HMAC : github.com/refraction-networking/utls.transcriptHash
func New[H](h func() H, key []byte) *HMAC
func MarkAsUsedInKDF(h *HMAC)
func crypto/internal/fips140/ecdsa.pad000(h *HMAC, writtenSoFar int)
The pages are generated with Goldsv0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.