Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/test/runner/
Dcipher_suites.go265 nonce1, nonce2 := make([]byte, 12), make([]byte, 12)
267 copy(nonce2, fixedNonce)
270 return &tlsAead{&xorNonceAEAD{nonce1, nonce2, aead}, false}
273 return &tlsAead{&fixedNonceAEAD{nonce1, nonce2, aead}, true}
315 nonce1, nonce2 := make([]byte, len(fixedNonce)), make([]byte, len(fixedNonce))
317 copy(nonce2, fixedNonce)
319 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/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/wpa_supplicant_8/src/common/
Dwpa_common.c350 const u8 *nonce1, const u8 *nonce2, in wpa_pmk_to_ptk() argument
385 if (os_memcmp(nonce1, nonce2, WPA_NONCE_LEN) < 0) { in wpa_pmk_to_ptk()
387 os_memcpy(data + 2 * ETH_ALEN + WPA_NONCE_LEN, nonce2, in wpa_pmk_to_ptk()
390 os_memcpy(data + 2 * ETH_ALEN, nonce2, WPA_NONCE_LEN); in wpa_pmk_to_ptk()
486 wpa_hexdump(MSG_DEBUG, "WPA: Nonce2", nonce2, WPA_NONCE_LEN); in wpa_pmk_to_ptk()
Dwpa_common.h390 const u8 *nonce1, const u8 *nonce2,
/external/python/cryptography/tests/x509/
Dtest_x509_ext.py5139 nonce2 = x509.OCSPNonce(b"0" * 5)
5140 assert nonce1 == nonce2
5144 nonce2 = x509.OCSPNonce(b"0" * 6)
5145 assert nonce1 != nonce2
5157 nonce2 = x509.OCSPNonce(b"0" * 5)
5159 assert hash(nonce1) == hash(nonce2)