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