noEKMBecauseRenegotiation is used as a value of ConnectionState.ekm when renegotiation is enabled and thus we wish to fail all key-material export requests.
(label string, context []byte, length int)
| 256 | // ConnectionState.ekm when renegotiation is enabled and thus |
| 257 | // we wish to fail all key-material export requests. |
| 258 | func noEKMBecauseRenegotiation(label string, context []byte, length int) ([]byte, error) { |
| 259 | return nil, errors.New("crypto/tls: ExportKeyingMaterial is unavailable when renegotiation is enabled") |
| 260 | } |
| 261 | |
| 262 | // noEKMBecauseNoEMS is used as a value of ConnectionState.ekm when Extended |
| 263 | // Master Secret is not negotiated and thus we wish to fail all key-material |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…