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

Interface constantTimeHash

cipher_suites.go:554–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552}
553
554type constantTimeHash interface {
555 hash.Hash
556 ConstantTimeSum(b []byte) []byte
557}
558
559// cthWrapper wraps any hash.Hash that implements ConstantTimeSum, and replaces
560// 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…