Home
last modified time | relevance | path

Searched refs:nonce2 (Results 1 – 10 of 10) sorted by relevance

/external/boringssl/src/ssl/test/runner/
Dcipher_suites.go228 nonce1, nonce2 := make([]byte, 12), make([]byte, 12)
230 copy(nonce2, fixedNonce)
233 return &tlsAead{&xorNonceAEAD{nonce1, nonce2, aead}, false}
236 return &tlsAead{&fixedNonceAEAD{nonce1, nonce2, aead}, true}
278 nonce1, nonce2 := make([]byte, len(fixedNonce)), make([]byte, len(fixedNonce))
280 copy(nonce2, fixedNonce)
282 return &tlsAead{&xorNonceAEAD{nonce1, nonce2, aead}, false}
/external/cronet/third_party/boringssl/src/ssl/test/runner/
Dcipher_suites.go228 nonce1, nonce2 := make([]byte, 12), make([]byte, 12)
230 copy(nonce2, fixedNonce)
233 return &tlsAead{&xorNonceAEAD{nonce1, nonce2, aead}, false}
236 return &tlsAead{&fixedNonceAEAD{nonce1, nonce2, aead}, true}
278 nonce1, nonce2 := make([]byte, len(fixedNonce)), make([]byte, len(fixedNonce))
280 copy(nonce2, fixedNonce)
282 return &tlsAead{&xorNonceAEAD{nonce1, nonce2, aead}, false}
/external/python/httplib2/tests/
Dtest_auth.py151 nonce2 = info2.get("digest", {}).get("nonce", "")
153 assert nonce2 != ""
154 assert nonce1 != nonce2, (nonce1, nonce2)
/external/cronet/net/base/
Dnetwork_isolation_key_unittest.cc137 base::UnguessableToken nonce2 = base::UnguessableToken::Create(); in TEST_P() local
138 NetworkIsolationKey key2(site1, site2, nonce2); in TEST_P()
255 base::UnguessableToken nonce2 = base::UnguessableToken::Create(); in TEST_P() local
256 if (nonce2 < nonce1) in TEST_P()
257 std::swap(nonce1, nonce2); in TEST_P()
276 SchemefulSite(GURL("https://a.test/")), nonce2), in TEST_P()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/crypt/
Daes_gcm.cc174 uint32_t nonce2; in aes_gcm_mask_nonce() local
176 memcpy(&nonce2, nonce + sizeof(nonce1), sizeof(nonce2)); in aes_gcm_mask_nonce()
178 nonce2 ^= mask2; in aes_gcm_mask_nonce()
180 memcpy(dst + sizeof(nonce1), &nonce2, sizeof(nonce2)); in aes_gcm_mask_nonce()
/external/grpc-grpc/src/core/tsi/alts/crypt/
Daes_gcm.cc176 uint32_t nonce2; in aes_gcm_mask_nonce() local
178 memcpy(&nonce2, nonce + sizeof(nonce1), sizeof(nonce2)); in aes_gcm_mask_nonce()
180 nonce2 ^= mask2; in aes_gcm_mask_nonce()
182 memcpy(dst + sizeof(nonce1), &nonce2, sizeof(nonce2)); in aes_gcm_mask_nonce()
/external/cronet/net/cookies/
Dcookie_partition_key_unittest.cc281 base::UnguessableToken nonce2 = base::UnguessableToken::Create(); in TEST_P() local
282 EXPECT_NE(nonce1, nonce2); in TEST_P()
292 NetworkIsolationKey(top_level_site, frame_site, nonce2)); in TEST_P()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c386 const u8 *nonce1, const u8 *nonce2, in wpa_pmk_to_ptk() argument
421 if (os_memcmp(nonce1, nonce2, WPA_NONCE_LEN) < 0) { in wpa_pmk_to_ptk()
423 os_memcpy(data + 2 * ETH_ALEN + WPA_NONCE_LEN, nonce2, in wpa_pmk_to_ptk()
426 os_memcpy(data + 2 * ETH_ALEN, nonce2, WPA_NONCE_LEN); in wpa_pmk_to_ptk()
552 wpa_hexdump(MSG_DEBUG, "WPA: Nonce2", nonce2, WPA_NONCE_LEN); in wpa_pmk_to_ptk()
Dwpa_common.h457 const u8 *nonce1, const u8 *nonce2,
/external/python/cryptography/tests/x509/
Dtest_x509_ext.py5750 nonce2 = x509.OCSPNonce(b"0" * 5)
5751 assert nonce1 == nonce2
5755 nonce2 = x509.OCSPNonce(b"0" * 6)
5756 assert nonce1 != nonce2
5768 nonce2 = x509.OCSPNonce(b"0" * 5)
5770 assert hash(nonce1) == hash(nonce2)