Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 169 for cipher (0.23 sec)

  1. src/crypto/tls/conn.go

    	payloadBytes := tcpMSSEstimate - recordHeaderLen - c.out.explicitNonceLen()
    	if c.out.cipher != nil {
    		switch ciph := c.out.cipher.(type) {
    		case cipher.Stream:
    			payloadBytes -= c.out.mac.Size()
    		case cipher.AEAD:
    			payloadBytes -= ciph.Overhead()
    		case cbcMode:
    			blockSize := ciph.BlockSize()
    			// The payload must fit in a multiple of blockSize, with
    			// room for at least one padding byte.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. src/crypto/tls/defaults.go

    // defaultCipherSuitesFIPS are the FIPS-allowed cipher suites.
    var defaultCipherSuitesFIPS = []uint16{
    	TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
    	TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
    	TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
    	TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
    	TLS_RSA_WITH_AES_128_GCM_SHA256,
    	TLS_RSA_WITH_AES_256_GCM_SHA384,
    }
    
    // defaultCipherSuitesTLS13FIPS are the FIPS-allowed cipher suites for TLS 1.3.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_client_test.go

    func TestTLS13OnlyClientHelloCipherSuite(t *testing.T) {
    	tls13Tests := []struct {
    		name    string
    		ciphers []uint16
    	}{
    		{
    			name:    "nil",
    			ciphers: nil,
    		},
    		{
    			name:    "empty",
    			ciphers: []uint16{},
    		},
    		{
    			name:    "some TLS 1.2 cipher",
    			ciphers: []uint16{TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/99-minor/crypto/tls/66214.md

    3DES cipher suites were removed from the default list used when
    [Config.CipherSuites] is nil. The default can be reverted adding `tls3des=1` to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 178 bytes
    - Viewed (0)
  5. internal/kms/secret-key.go

    	iv, nonce := random[:16], random[16:]
    
    	var aead cipher.AEAD
    	switch keyType {
    	case kms.AES256:
    		mac := hmac.New(sha256.New, s.key)
    		mac.Write(iv)
    		sealingKey := mac.Sum(nil)
    
    		block, err := aes.NewCipher(sealingKey)
    		if err != nil {
    			return nil, err
    		}
    		aead, err = cipher.NewGCM(block)
    		if err != nil {
    			return nil, err
    		}
    	case kms.ChaCha20:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/site/xdoc/maven-deps.odg

    Maven 4 API sisu plexus inject guice plexus core distribution sec-dispatcher commons-cli utils plugin-api artifact embedder settings-builder model-builder model cipher interpolation wagon-provider-api classworlds repository-metadata settings resolver api spi impl util resolver-provider builder-support jansi slf4j-api shared-utils slf4j-provider bom toolchain-builder toolchain-model meta di xml model plugin toolchain core spi xml-impl xml settings jline3 compat slf4j-wrapper jline woodstox api-impl...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 24 16:01:00 UTC 2024
    - 37K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

            val cipher = newEncryptionSession().decryptingCipher(inputStream::read)
            return CipherInputStream(inputStream, cipher)
        }
    
        private
        fun encryptingOutputStream(outputStream: OutputStream): OutputStream {
            val cipher = newEncryptionSession().encryptingCipher(outputStream::write)
            return CipherOutputStream(outputStream, cipher)
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. pilot/cmd/pilot-discovery/app/cmd.go

    		"File containing the x509 private key matching --tlsCertFile")
    	c.PersistentFlags().StringSliceVar(&serverArgs.ServerOptions.TLSOptions.TLSCipherSuites, "tls-cipher-suites", nil,
    		"Comma-separated list of cipher suites for istiod TLS server. "+
    			"If omitted, the default Go cipher suites will be used. \n"+
    			"Preferred values: "+strings.Join(secureTLSCipherNames(), ", ")+". \n"+
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/crypto/tls/ticket.go

    		return nil, err
    	}
    	key := ticketKeys[0]
    	block, err := aes.NewCipher(key.aesKey[:])
    	if err != nil {
    		return nil, errors.New("tls: failed to create cipher while encrypting ticket: " + err.Error())
    	}
    	cipher.NewCTR(block, iv).XORKeyStream(ciphertext, state)
    
    	mac := hmac.New(sha256.New, key.hmacKey[:])
    	mac.Write(authenticated)
    	mac.Sum(macBytes[:0])
    
    	return encrypted, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_client.go

    	var clientCipher, serverCipher any
    	var clientHash, serverHash hash.Hash
    	if hs.suite.cipher != nil {
    		clientCipher = hs.suite.cipher(clientKey, clientIV, false /* not for reading */)
    		clientHash = hs.suite.mac(clientMAC)
    		serverCipher = hs.suite.cipher(serverKey, serverIV, true /* for reading */)
    		serverHash = hs.suite.mac(serverMAC)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
Back to top