macSHA256 returns a SHA-256 based MAC. This is only supported in TLS 1.2 and is currently only used in disabled-by-default cipher suites.
(key []byte)
| 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. |
| 433 | func macSHA256(key []byte) hash.Hash { |
| 434 | return hmac.New(sha256.New, key) |
| 435 | } |
| 436 | |
| 437 | type aead interface { |
| 438 | cipher.AEAD |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…