macSHA1 returns a SHA-1 based constant time MAC.
(key []byte)
| 421 | |
| 422 | // macSHA1 returns a SHA-1 based constant time MAC. |
| 423 | func macSHA1(key []byte) hash.Hash { |
| 424 | return hmac.New(newConstantTimeHash(sha1.New), key) |
| 425 | } |
| 426 | |
| 427 | // macSHA256 returns a SHA-256 based MAC. This is only supported in TLS 1.2 and |
| 428 | // is currently only used in disabled-by-default cipher suites. |
nothing calls this directly
no test coverage detected
searching dependent graphs…