Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 76 for CipherSuites (0.25 sec)

  1. src/crypto/tls/handshake_server.go

    	c := hs.c
    
    	preferenceOrder := cipherSuitesPreferenceOrder
    	if !hasAESGCMHardwareSupport || !aesgcmPreferred(hs.clientHello.cipherSuites) {
    		preferenceOrder = cipherSuitesPreferenceOrderNoAES
    	}
    
    	configCipherSuites := c.config.cipherSuites()
    	preferenceList := make([]uint16, 0, len(configCipherSuites))
    	for _, suiteID := range preferenceOrder {
    		for _, id := range configCipherSuites {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  2. src/crypto/tls/conn_test.go

    	config := testConfig.Clone()
    	config.MaxVersion = VersionTLS12
    	config.CipherSuites = []uint16{TLS_RSA_WITH_RC4_128_SHA}
    	runDynamicRecordSizingTest(t, config)
    }
    
    func TestDynamicRecordSizingWithCBC(t *testing.T) {
    	config := testConfig.Clone()
    	config.MaxVersion = VersionTLS12
    	config.CipherSuites = []uint16{TLS_RSA_WITH_AES_256_CBC_SHA}
    	runDynamicRecordSizingTest(t, config)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:35:01 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  3. tests/fuzz/testdata/FuzzConfigValidation2/fuzz_config_validation2.dict

    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 07 17:07:53 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. internal/crypto/sse.go

    // body of a single-part PUT request.
    func EncryptSinglePart(r io.Reader, key ObjectKey) io.Reader {
    	r, err := sio.EncryptReader(r, sio.Config{MinVersion: sio.Version20, Key: key[:], CipherSuites: fips.DARECiphers()})
    	if err != nil {
    		logger.CriticalIf(context.Background(), errors.New("Unable to encrypt io.Reader using object key"))
    	}
    	return r
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  5. src/crypto/tls/common.go

    		t = time.Now
    	}
    	return t()
    }
    
    func (c *Config) cipherSuites() []uint16 {
    	if c.CipherSuites == nil {
    		if needFIPS() {
    			return defaultCipherSuitesFIPS
    		}
    		return defaultCipherSuites()
    	}
    	if needFIPS() {
    		cipherSuites := slices.Clone(c.CipherSuites)
    		return slices.DeleteFunc(cipherSuites, func(id uint16) bool {
    			return !slices.Contains(defaultCipherSuitesFIPS, id)
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  6. pilot/cmd/pilot-discovery/app/options.go

    }
    
    // secureTLSCipherNames returns a list of secure cipher suite names implemented by crypto/tls.
    func secureTLSCipherNames() []string {
    	cipherKeys := sets.New[string]()
    	for _, cipher := range tls.CipherSuites() {
    		cipherKeys.Insert(cipher.Name)
    	}
    	return sets.SortedList(cipherKeys)
    }
    
    func validateFlags(serverArgs *bootstrap.PilotArgs) error {
    	if serverArgs == nil {
    		return nil
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/webhook.go

    		return
    	}
    
    	tlsConfig := &tls.Config{
    		GetCertificate: s.getIstiodCertificate,
    		MinVersion:     tls.VersionTLS12,
    		CipherSuites:   args.ServerOptions.TLSOptions.CipherSuits,
    	}
    	// Compliance for control plane validation and injection webhook server.
    	sec_model.EnforceGoCompliance(tlsConfig)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 17:37:53 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_server_tls13.go

    		return true
    	}
    	for i := range ch.supportedVersions {
    		if ch.supportedVersions[i] != ch1.supportedVersions[i] {
    			return true
    		}
    	}
    	for i := range ch.cipherSuites {
    		if ch.cipherSuites[i] != ch1.cipherSuites[i] {
    			return true
    		}
    	}
    	for i := range ch.supportedCurves {
    		if ch.supportedCurves[i] != ch1.supportedCurves[i] {
    			return true
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  9. pilot/pkg/bootstrap/options.go

    	return nil
    }
    
    func allCiphers() map[string]uint16 {
    	acceptedCiphers := make(map[string]uint16, len(tls.CipherSuites())+len(tls.InsecureCipherSuites()))
    	for _, cipher := range tls.InsecureCipherSuites() {
    		acceptedCiphers[cipher.Name] = cipher.ID
    	}
    	for _, cipher := range tls.CipherSuites() {
    		acceptedCiphers[cipher.Name] = cipher.ID
    	}
    	return acceptedCiphers
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_messages.go

    		!readUint8LengthPrefixed(&s, &m.sessionId) {
    		return false
    	}
    
    	var cipherSuites cryptobyte.String
    	if !s.ReadUint16LengthPrefixed(&cipherSuites) {
    		return false
    	}
    	m.cipherSuites = []uint16{}
    	m.secureRenegotiationSupported = false
    	for !cipherSuites.Empty() {
    		var suite uint16
    		if !cipherSuites.ReadUint16(&suite) {
    			return false
    		}
    		if suite == scsvRenegotiation {
    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