MCPcopy Create free account
hub / github.com/XTLS/REALITY / Write

Method Write

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

Source from the content-addressed store, hash-verified

582func (c *cthWrapper) BlockSize() int { return c.h.BlockSize() }
583func (c *cthWrapper) Reset() { c.h.Reset() }
584func (c *cthWrapper) Write(p []byte) (int, error) { return c.h.Write(p) }
585func (c *cthWrapper) Sum(b []byte) []byte { return c.h.ConstantTimeSum(b) }
586
587func newConstantTimeHash(h func() hash.Hash) func() hash.Hash {

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected