Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for noEKMBecauseRenegotiation (0.38 sec)

  1. src/crypto/tls/prf.go

    // buffer the entirety of the handshake messages.
    func (h *finishedHash) discardHandshakeBuffer() {
    	h.buffer = nil
    }
    
    // noEKMBecauseRenegotiation is used as a value of
    // ConnectionState.ekm when renegotiation is enabled and thus
    // we wish to fail all key-material export requests.
    func noEKMBecauseRenegotiation(label string, context []byte, length int) ([]byte, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 16:29:49 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. src/crypto/tls/conn.go

    		if c.clientFinishedIsFirst {
    			state.TLSUnique = c.clientFinished[:]
    		} else {
    			state.TLSUnique = c.serverFinished[:]
    		}
    	}
    	if c.config.Renegotiation != RenegotiateNever {
    		state.ekm = noEKMBecauseRenegotiation
    	} else if c.vers != VersionTLS13 && !c.extMasterSecret {
    		state.ekm = func(label string, context []byte, length int) ([]byte, error) {
    			if tlsunsafeekm.Value() == "1" {
    				tlsunsafeekm.IncNonDefault()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top