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

Interface constantTimeHash

cipher_suites.go:570–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570type constantTimeHash interface {
571 hash.Hash
572 ConstantTimeSum(b []byte) []byte
573}
574
575// cthWrapper wraps any hash.Hash that implements ConstantTimeSum, and replaces
576// with that all calls to Sum. It's used to obtain a ConstantTimeSum-based HMAC.

Callers 1

SumMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…