Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 395 for nonces (0.31 sec)

  1. src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.go

    	state[13] = binary.LittleEndian.Uint32(nonce[0:4])
    	state[14] = binary.LittleEndian.Uint32(nonce[4:8])
    	state[15] = binary.LittleEndian.Uint32(nonce[8:12])
    }
    
    func (c *chacha20poly1305) seal(dst, nonce, plaintext, additionalData []byte) []byte {
    	if !cpu.X86.HasSSSE3 {
    		return c.sealGeneric(dst, nonce, plaintext, additionalData)
    	}
    
    	var state [16]uint32
    	setupState(&state, &c.key, nonce)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/chacha20/chacha_s390x.go

    // be called when the vector facility is available. Implementation in asm_s390x.s.
    //
    //go:noescape
    func xorKeyStreamVX(dst, src []byte, key *[8]uint32, nonce *[3]uint32, counter *uint32)
    
    func (c *Cipher) xorKeyStreamBlocks(dst, src []byte) {
    	if cpu.S390X.HasVX {
    		xorKeyStreamVX(dst, src, &c.key, &c.nonce, &c.counter)
    	} else {
    		c.xorKeyStreamBlocksGeneric(dst, src)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 743 bytes
    - Viewed (0)
  3. docs/en/docs/release-notes.md

    ```Python
    from typing import Union
    from fastapi import Cookie, FastAPI, Header, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    def main(
        item_id: int = Path(gt=0),
        query: Union[str, None] = Query(default=None, max_length=10),
        session: Union[str, None] = Cookie(default=None, min_length=3),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
  4. pkg/xds/server.go

    		return true, emptyResourceDelta
    	}
    
    	// If there is mismatch in the nonce, that is a case of expired/stale nonce.
    	// A nonce becomes stale following a newer nonce being sent to Envoy.
    	// previousInfo.NonceSent can be empty if we previously had shouldRespond=true but didn't send any resources.
    	if request.ResponseNonce != previousInfo.NonceSent {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. src/crypto/cipher/benchmark_test.go

    	var key = make([]byte, keySize)
    	var nonce [12]byte
    	var ad [13]byte
    	aes, _ := aes.NewCipher(key[:])
    	aesgcm, _ := cipher.NewGCM(aes)
    	var out []byte
    
    	ct := aesgcm.Seal(nil, nonce[:], buf[:], ad[:])
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		out, _ = aesgcm.Open(out[:0], nonce[:], ct, ad[:])
    	}
    }
    
    func BenchmarkAESGCM(b *testing.B) {
    	for _, length := range []int{64, 1350, 8 * 1024} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 28 19:13:50 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  6. docs/debugging/inspect/decrypt-v1.go

    	}
    
    	stream, err := sio.AES_256_GCM.Stream(key)
    	if err != nil {
    		return err
    	}
    	// Zero nonce, we only use each key once, and 32 bytes is plenty.
    	nonce := make([]byte, stream.NonceSize())
    	encr := stream.DecryptReader(r, nonce, nil)
    	_, err = io.Copy(w, encr)
    	if err == nil {
    		fmt.Println(okMsg)
    	}
    	return err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 21:22:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_test.go

    		testGCMNonce(t, newGCMTransformer, 0, func(_ int, nonce []byte) {
    			if bytes.Equal(nonce, make([]byte, len(nonce))) {
    				t.Error("got all zeros for nonce")
    			}
    		})
    	})
    
    	t.Run("gcm unsafe", func(t *testing.T) {
    		testGCMNonce(t, newGCMTransformerWithUniqueKeyUnsafeTest, 0, func(i int, nonce []byte) {
    			counter := binary.LittleEndian.Uint64(nonce)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/secretbox/secretbox.go

    	var nonce [nonceSize]byte
    	n, err := rand.Read(nonce[:])
    	if err != nil {
    		return nil, err
    	}
    	if n != nonceSize {
    		return nil, fmt.Errorf("unable to read sufficient random bytes")
    	}
    	return secretbox.Seal(nonce[:], data, &nonce, &t.key), nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 17 16:31:31 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/css/release-notes.css

      color: white;
      font-style: italic;
      font-size: 0.6em;
      text-shadow: none;
      margin-left: 0.6em;
      border-radius: 6px;
      background-color: rgb(160, 160, 160);
      border: 1px solid rgb(150, 150, 150);
      padding: 1px 5px;
      box-shadow: none;
      cursor: pointer;
      vertical-align: 1px;
    }
    
    a.incubating-marker:hover {
      text-decoration: none;
      border: 1px solid rgb(150, 150, 150);
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/files/misc/groovy/src/notes.txt.tmp

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - Viewed (0)
Back to top