MCPcopy Index your code
hub / github.com/XTLS/Go / Write

Method Write

cipher_suites.go:568–568  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

566func (c *cthWrapper) BlockSize() int { return c.h.BlockSize() }
567func (c *cthWrapper) Reset() { c.h.Reset() }
568func (c *cthWrapper) Write(p []byte) (int, error) { return c.h.Write(p) }
569func (c *cthWrapper) Sum(b []byte) []byte { return c.h.ConstantTimeSum(b) }
570
571func newConstantTimeHash(h func() hash.Hash) func() hash.Hash {

Callers 1

tls10MACFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected