(_ string, input gather.Bytes, output *gather.WriteBuffer)
| 55 | } |
| 56 | |
| 57 | func (p checksumProtection) Verify(_ string, input gather.Bytes, output *gather.WriteBuffer) error { |
| 58 | output.Reset() |
| 59 | //nolint:wrapcheck |
| 60 | return hmac.VerifyAndStrip(input, p.Secret, output) |
| 61 | } |
| 62 | |
| 63 | func (p checksumProtection) OverheadBytes() int { |
| 64 | return sha256.Size |
nothing calls this directly
no test coverage detected