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)
| 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. |
| 429 | func macSHA256(key []byte) hash.Hash { |
| 430 | return hmac.New(sha256.New, key) |
| 431 | } |
| 432 | |
| 433 | type aead interface { |
| 434 | cipher.AEAD |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…