Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 395 for nonces (0.37 sec)

  1. pkg/xds/server_test.go

    		{
    			name: "ack",
    			proxy: &TestProxy{
    				WatchedResources: map[string]*WatchedResource{
    					model.ClusterType: {
    						NonceSent: "nonce",
    					},
    				},
    			},
    			request: &discovery.DiscoveryRequest{
    				TypeUrl:       model.ClusterType,
    				VersionInfo:   "v1",
    				ResponseNonce: "nonce",
    			},
    			response: false,
    		},
    		{
    			name: "ack forced",
    			proxy: &TestProxy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/crypto/aes/aes_gcm.go

    	var counter, tagMask [gcmBlockSize]byte
    
    	if len(nonce) == gcmStandardNonceSize {
    		// Init counter to nonce||1
    		copy(counter[:], nonce)
    		counter[gcmBlockSize-1] = 1
    	} else {
    		// Otherwise counter = GHASH(nonce)
    		gcmAesData(&g.productTable, nonce, &counter)
    		gcmAesFinish(&g.productTable, &tagMask, &counter, uint64(len(nonce)), uint64(0))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_noasm.go

    //go:build !amd64 || !gc || purego
    
    package chacha20poly1305
    
    func (c *chacha20poly1305) seal(dst, nonce, plaintext, additionalData []byte) []byte {
    	return c.sealGeneric(dst, nonce, plaintext, additionalData)
    }
    
    func (c *chacha20poly1305) open(dst, nonce, ciphertext, additionalData []byte) ([]byte, error) {
    	return c.openGeneric(dst, nonce, ciphertext, additionalData)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 534 bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

      @Test fun testDigestChallengeWithStrictRfc2617Header() {
        val headers =
          Headers.Builder()
            .add(
              "WWW-Authenticate",
              "Digest realm=\"myrealm\", nonce=\"fjalskdflwejrlaskdfjlaskdjflaks" +
                "jdflkasdf\", qop=\"auth\", stale=\"FALSE\"",
            )
            .build()
        val challenges = headers.parseChallenges("WWW-Authenticate")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. src/crypto/aes/gcm_ppc64x.go

    }
    
    // deriveCounter computes the initial GCM counter state from the given nonce.
    func (g *gcmAsm) deriveCounter(counter *[gcmBlockSize]byte, nonce []byte) {
    	if len(nonce) == gcmStandardNonceSize {
    		copy(counter[:], nonce)
    		counter[gcmBlockSize-1] = 1
    	} else {
    		var hash [16]byte
    		g.paddedGHASH(&hash, nonce)
    		lens := gcmLengths(0, uint64(len(nonce))*8)
    		g.paddedGHASH(&hash, lens[:])
    		copy(counter[:], hash[:])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/crypto/crypto.go

    	block, err := aes.NewCipher(key)
    	if err != nil {
    		return nil, err
    	}
    	gcm, err := cipher.NewGCM(block)
    	if err != nil {
    		return nil, err
    	}
    	nonce, err := CreateRandBytes(uint32(gcm.NonceSize()))
    	if err != nil {
    		return nil, err
    	}
    	return gcm.Seal(nonce, nonce, data, nil), nil
    }
    
    // DecryptBytes takes a byte slice of encrypted data and an encryption key and returns a decrypted byte slice of data.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 04 08:41:27 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  7. src/crypto/tls/cipher_suites.go

    }
    
    func (f *prefixNonceAEAD) Open(out, nonce, ciphertext, additionalData []byte) ([]byte, error) {
    	copy(f.nonce[4:], nonce)
    	return f.aead.Open(out, f.nonce[:], ciphertext, additionalData)
    }
    
    // xorNonceAEAD wraps an AEAD by XORing in a fixed pattern to the nonce
    // before each call.
    type xorNonceAEAD struct {
    	nonceMask [aeadNonceLength]byte
    	aead      cipher.AEAD
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                }
    
                final String nonce = (String) claimsSet.getClaim("nonce");
                if (logger.isDebugEnabled()) {
                    logger.debug("nonce: {}", nonce);
                }
                if (StringUtils.isEmpty(nonce) || !nonce.equals(stateData.getNonce())) {
                    throw new SsoLoginException("could not validate nonce");
                }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/crypto/chacha20/chacha_arm64.go

    //go:build gc && !purego
    
    package chacha20
    
    const bufSize = 256
    
    //go:noescape
    func xorKeyStreamVX(dst, src []byte, key *[8]uint32, nonce *[3]uint32, counter *uint32)
    
    func (c *Cipher) xorKeyStreamBlocks(dst, src []byte) {
    	xorKeyStreamVX(dst, src, &c.key, &c.nonce, &c.counter)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 441 bytes
    - Viewed (0)
  10. src/crypto/cipher/gcm_test.go

    				t.Fatal(err)
    			}
    
    		// Handle 0 nonce size (expect error and continue)
    		case len(nonce) == 0:
    			aesgcm, err = cipher.NewGCMWithNonceSize(aes, 0)
    			if err == nil {
    				t.Fatal("expected error for zero nonce size")
    			}
    			continue
    
    		// Handle non-standard nonce sizes
    		case len(nonce) != 12:
    			aesgcm, err = cipher.NewGCMWithNonceSize(aes, len(nonce))
    			if err != nil {
    				t.Fatal(err)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 15:27:49 UTC 2023
    - 35K bytes
    - Viewed (0)
Back to top