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