/external/openssh/ |
D | cipher-chachapoly.c | 75 u_char expected_tag[POLY1305_TAGLEN], poly_key[POLY1305_KEYLEN]; in chachapoly_crypt() local 92 poly1305_auth(expected_tag, src, aadlen + len, poly_key); in chachapoly_crypt() 93 if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) { in chachapoly_crypt() 117 explicit_bzero(expected_tag, sizeof(expected_tag)); in chachapoly_crypt()
|
D | cipher-chachapoly-libcrypto.c | 91 u_char expected_tag[POLY1305_TAGLEN], poly_key[POLY1305_KEYLEN]; in chachapoly_crypt() local 111 poly1305_auth(expected_tag, src, aadlen + len, poly_key); in chachapoly_crypt() 112 if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) { in chachapoly_crypt() 142 explicit_bzero(expected_tag, sizeof(expected_tag)); in chachapoly_crypt()
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_windows.py | 93 expected_tag = ".cp{0.major}{0.minor}-{1}.pyd".format(sys.version_info, 99 expected_tag = "_d" + expected_tag 101 self.assertIn(expected_tag, suffixes) 104 tagged_i = suffixes.index(expected_tag)
|
/external/wayland/tests/ |
D | proxy-test.c | 52 const char * const *expected_tag; in callback_done() local 56 expected_tag = &tag_a; in callback_done() 58 expected_tag = &tag_b; in callback_done() 64 assert(tag == expected_tag); in callback_done()
|
/external/libusb/examples/ |
D | xusb.c | 372 … int get_mass_storage_status(libusb_device_handle *handle, uint8_t endpoint, uint32_t expected_tag) in get_mass_storage_status() argument 395 if (csw.dCSWTag != expected_tag) { in get_mass_storage_status() 397 expected_tag, csw.dCSWTag); in get_mass_storage_status() 402 if (csw.dCSWTag != expected_tag) in get_mass_storage_status() 423 uint32_t expected_tag; in get_sense() local 434 …age_command(handle, endpoint_out, 0, cdb, LIBUSB_ENDPOINT_IN, REQUEST_SENSE_LENGTH, &expected_tag); in get_sense() 451 get_mass_storage_status(handle, endpoint_in, expected_tag); in get_sense() 459 uint32_t expected_tag; in test_mass_storage() local 487 …storage_command(handle, endpoint_out, lun, cdb, LIBUSB_ENDPOINT_IN, INQUIRY_LENGTH, &expected_tag); in test_mass_storage() 500 if (get_mass_storage_status(handle, endpoint_in, expected_tag) == -2) { in test_mass_storage() [all …]
|
/external/libwebsockets/plugins/ssh-base/crypto/ |
D | chacha.c | 307 u_char expected_tag[POLY1305_TAGLEN], poly_key[POLY1305_KEYLEN]; in chachapoly_crypt() local 324 poly1305_auth(expected_tag, src, aadlen + len, poly_key); in chachapoly_crypt() 325 if (lws_timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN)) { in chachapoly_crypt() 348 lws_explicit_bzero(expected_tag, sizeof(expected_tag)); in chachapoly_crypt()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/ |
D | e_aesgcmsiv.c | 812 uint8_t expected_tag[EVP_AEAD_AES_GCM_SIV_TAG_LEN]; in aead_aes_gcm_siv_open_gather() local 813 gcm_siv_polyval(expected_tag, out, in_len, ad, ad_len, keys.auth_key, nonce); in aead_aes_gcm_siv_open_gather() 814 keys.enc_block(expected_tag, expected_tag, &keys.enc_key.ks); in aead_aes_gcm_siv_open_gather() 816 if (CRYPTO_memcmp(expected_tag, in_tag, sizeof(expected_tag)) != 0) { in aead_aes_gcm_siv_open_gather()
|
/external/boringssl/src/crypto/cipher_extra/ |
D | e_aesgcmsiv.c | 812 uint8_t expected_tag[EVP_AEAD_AES_GCM_SIV_TAG_LEN]; in aead_aes_gcm_siv_open_gather() local 813 gcm_siv_polyval(expected_tag, out, in_len, ad, ad_len, keys.auth_key, nonce); in aead_aes_gcm_siv_open_gather() 814 keys.enc_block(expected_tag, expected_tag, &keys.enc_key.ks); in aead_aes_gcm_siv_open_gather() 816 if (CRYPTO_memcmp(expected_tag, in_tag, sizeof(expected_tag)) != 0) { in aead_aes_gcm_siv_open_gather()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_helpers.cc | 1690 uint32 expected_tag; in ExpectedTag() local 1693 expected_tag = in ExpectedTag() 1700 if (field->is_packed()) std::swap(expected_tag, fallback_tag); in ExpectedTag() 1704 expected_tag = in ExpectedTag() 1707 return expected_tag; in ExpectedTag() 1741 uint32 expected_tag = ExpectedTag(field, &fallback_tag); in GenerateParseLoop() local 1744 expected_tag & 0xFF); in GenerateParseLoop() 1746 auto wiretype = WireFormatLite::GetTagWireType(expected_tag); in GenerateParseLoop()
|
/external/harfbuzz_ng/test/api/ |
D | test-ot-tag.c | 482 hb_tag_t expected_tag = hb_tag_from_string (va_arg (expected_tags, const char *), -1); in test_tags() local 484 g_assert_cmphex (actual_tag, ==, expected_tag); in test_tags()
|
/external/mesa3d/src/panfrost/lib/ |
D | decode.c | 1210 unsigned expected_tag = is_mfbd ? MALI_FBD_TAG_IS_MFBD : 0; in pandecode_fragment_job() local 1214 expected_tag |= MALI_FBD_TAG_HAS_ZS_RT; in pandecode_fragment_job() 1216 expected_tag |= (MALI_POSITIVE(info.rt_count) << 2); in pandecode_fragment_job() 1252 if (tag != expected_tag) in pandecode_fragment_job() 1253 pandecode_msg("XXX: expected FBD tag %X but got %X\n", expected_tag, tag); in pandecode_fragment_job()
|
/external/rust/crates/ring/tests/ |
D | aead_tests.rs | 378 let expected_tag = test_case.consume_bytes("TAG"); in aead_chacha20_poly1305_openssh() localVariable 388 assert_eq!(&expected_tag, &tag); in aead_chacha20_poly1305_openssh()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upbc/ |
D | protoc-gen-upb.cc | 728 uint64_t expected_tag = GetEncodedTag(field); in TryFillTableEntry() local 740 uint64_t data = offset.size64 << 48 | expected_tag; in TryFillTableEntry() 784 expected_tag > 0xff ? "2" : "1", size_ceil); in TryFillTableEntry() 788 expected_tag > 0xff ? "2" : "1"); in TryFillTableEntry()
|
/external/autotest/client/cros/crash/ |
D | user_crash_test.py | 47 def initialize(self, expected_tag='user', expected_version=None, argument 59 self._expected_tag = expected_tag
|
/external/protobuf/src/google/protobuf/ |
D | parse_context.cc | 225 Tag expected_tag, in ReadRepeatedFixed() argument 231 } while (UnalignedLoad<Tag>(ptr) == expected_tag&& ptr += sizeof(Tag)); in ReadRepeatedFixed()
|
D | parse_context.h | 169 Tag expected_tag,
|
/external/python/asn1crypto/asn1crypto/ |
D | core.py | 5471 for expected_class, expected_tag in explicit_info: 5492 if parsed_tag != expected_tag: 5499 expected_tag, 5587 for expected_class, expected_tag in reversed(original_explicit):
|
/external/python/cpython3/Lib/test/ |
D | test_socket.py | 6308 expected_tag = bytes.fromhex('0032a1dc85f1c9786925a2e71d8272dd') 6310 taglen = len(expected_tag) 6327 self.assertEqual(expected_tag, res[-taglen:]) 6337 self.assertEqual(expected_tag, res[-taglen:]) 6353 self.assertEqual(expected_tag, res[-taglen:]) 6358 msg = assoc + expected_ct + expected_tag
|