- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for nextNonce (0.15 sec)
-
src/crypto/internal/hpke/hpke.go
aead: aead, sharedSecret: sharedSecret, suiteID: suiteID, key: key, baseNonce: baseNonce, exporterSecret: exporterSecret, }, nil } func (s *Sender) nextNonce() []byte { nonce := s.seqNum.bytes()[16-s.aead.NonceSize():] for i := range s.baseNonce { nonce[i] ^= s.baseNonce[i] } // Message limit is, according to the RFC, 2^95+1, which
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 7K bytes - Viewed (0) -
src/crypto/internal/hpke/hpke_test.go
if err != nil { t.Fatal(err) } context.seqNum = uint128{lo: uint64(seqNum)} expectedNonce := mustDecodeHex(t, enc["nonce"]) // We can't call nextNonce, because it increments the sequence number, // so just compute it directly. computedNonce := context.seqNum.bytes()[16-context.aead.NonceSize():] for i := range context.baseNonce {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 4.7K bytes - Viewed (0) -
src/net/http/client_test.go
t.Fatalf("failed to produce expected timeout before test deadline") } t.Logf("attempting test with timeout %v", timeout) cst.c.Timeout = timeout mu.Lock() nonce = fmt.Sprint(nextNonce) nextNonce++ sawSlowNonce = false mu.Unlock() res, err := cst.c.Get(cst.ts.URL + "/?nonce=" + nonce) if err != nil { if strings.Contains(err.Error(), "Client.Timeout") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/unicode/norm/iter.go
return i.rb.src.bytes[a:b] } // Pos returns the byte position at which the next call to Next will commence processing. func (i *Iter) Pos() int { return i.p } func (i *Iter) setDone() { i.next = nextDone i.p = i.rb.nsrc } // Done returns true if there is no more input to process. func (i *Iter) Done() bool { return i.p >= i.rb.nsrc }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 11K bytes - Viewed (0)