Searched refs:nonce1 (Results 1 – 7 of 7) sorted by relevance
/external/boringssl/src/ssl/test/runner/ |
D | cipher_suites.go | 265 nonce1, nonce2 := make([]byte, 12), make([]byte, 12) 266 copy(nonce1, 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)) 316 copy(nonce1, fixedNonce) 319 return &tlsAead{&xorNonceAEAD{nonce1, nonce2, aead}, false}
|
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/crypt/ |
D | aes_gcm.cc | 173 uint64_t nonce1; in aes_gcm_mask_nonce() local 175 memcpy(&nonce1, nonce, sizeof(nonce1)); in aes_gcm_mask_nonce() 176 memcpy(&nonce2, nonce + sizeof(nonce1), sizeof(nonce2)); in aes_gcm_mask_nonce() 177 nonce1 ^= mask1; in aes_gcm_mask_nonce() 179 memcpy(dst, &nonce1, sizeof(nonce1)); 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/ |
D | aes_gcm.cc | 175 uint64_t nonce1; in aes_gcm_mask_nonce() local 177 memcpy(&nonce1, nonce, sizeof(nonce1)); in aes_gcm_mask_nonce() 178 memcpy(&nonce2, nonce + sizeof(nonce1), sizeof(nonce2)); in aes_gcm_mask_nonce() 179 nonce1 ^= mask1; in aes_gcm_mask_nonce() 181 memcpy(dst, &nonce1, sizeof(nonce1)); in aes_gcm_mask_nonce() 182 memcpy(dst + sizeof(nonce1), &nonce2, sizeof(nonce2)); in aes_gcm_mask_nonce()
|
/external/python/httplib2/tests/ |
D | test_auth.py | 150 nonce1 = info.get("digest", {}).get("nonce", "") 152 assert nonce1 != "" 154 assert nonce1 != nonce2, (nonce1, nonce2)
|
/external/python/cryptography/tests/x509/ |
D | test_x509_ext.py | 5138 nonce1 = x509.OCSPNonce(b"0" * 5) 5140 assert nonce1 == nonce2 5143 nonce1 = x509.OCSPNonce(b"0" * 5) 5145 assert nonce1 != nonce2 5146 assert nonce1 != object() 5149 nonce1 = x509.OCSPNonce(b"nonce") 5151 assert repr(nonce1) == "<OCSPNonce(nonce=b'nonce')>" 5153 assert repr(nonce1) == "<OCSPNonce(nonce='nonce')>" 5156 nonce1 = x509.OCSPNonce(b"0" * 5) 5159 assert hash(nonce1) == hash(nonce2) [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.c | 350 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() 386 os_memcpy(data + 2 * ETH_ALEN, nonce1, WPA_NONCE_LEN); in wpa_pmk_to_ptk() 391 os_memcpy(data + 2 * ETH_ALEN + WPA_NONCE_LEN, nonce1, in wpa_pmk_to_ptk() 485 wpa_hexdump(MSG_DEBUG, "WPA: Nonce1", nonce1, WPA_NONCE_LEN); in wpa_pmk_to_ptk()
|
D | wpa_common.h | 390 const u8 *nonce1, const u8 *nonce2,
|