Searched refs:expected_tag (Results 1 – 7 of 7) sorted by relevance
/external/openssh/ |
D | cipher-chachapoly.c | 57 u_char expected_tag[POLY1305_TAGLEN], poly_key[POLY1305_KEYLEN]; in chachapoly_crypt() local 74 poly1305_auth(expected_tag, src, aadlen + len, poly_key); in chachapoly_crypt() 75 if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) { in chachapoly_crypt() 99 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/libusb/examples/ |
D | xusb.c | 371 … int get_mass_storage_status(libusb_device_handle *handle, uint8_t endpoint, uint32_t expected_tag) in get_mass_storage_status() argument 394 if (csw.dCSWTag != expected_tag) { in get_mass_storage_status() 396 expected_tag, csw.dCSWTag); in get_mass_storage_status() 401 if (csw.dCSWTag != expected_tag) in get_mass_storage_status() 422 uint32_t expected_tag; in get_sense() local 433 …age_command(handle, endpoint_out, 0, cdb, LIBUSB_ENDPOINT_IN, REQUEST_SENSE_LENGTH, &expected_tag); in get_sense() 450 get_mass_storage_status(handle, endpoint_in, expected_tag); in get_sense() 458 uint32_t expected_tag; in test_mass_storage() local 486 …storage_command(handle, endpoint_out, lun, cdb, LIBUSB_ENDPOINT_IN, INQUIRY_LENGTH, &expected_tag); in test_mass_storage() 499 if (get_mass_storage_status(handle, endpoint_in, expected_tag) == -2) { in test_mass_storage() [all …]
|
/external/boringssl/src/crypto/cipher_extra/ |
D | e_aesgcmsiv.c | 799 uint8_t expected_tag[EVP_AEAD_AES_GCM_SIV_TAG_LEN]; in aead_aes_gcm_siv_open_gather() local 800 gcm_siv_polyval(expected_tag, out, in_len, ad, ad_len, keys.auth_key, nonce); in aead_aes_gcm_siv_open_gather() 801 keys.enc_block(expected_tag, expected_tag, &keys.enc_key.ks); in aead_aes_gcm_siv_open_gather() 803 if (CRYPTO_memcmp(expected_tag, in_tag, sizeof(expected_tag)) != 0) { in aead_aes_gcm_siv_open_gather()
|
/external/harfbuzz_ng/test/api/ |
D | test-ot-tag.c | 483 hb_tag_t expected_tag = hb_tag_from_string (va_arg (expected_tags, const char *), -1); in test_tags() local 485 g_assert_cmphex (actual_tag, ==, expected_tag); in test_tags()
|
/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/python/cpython3/Lib/test/ |
D | test_socket.py | 5862 expected_tag = bytes.fromhex('0032a1dc85f1c9786925a2e71d8272dd') 5864 taglen = len(expected_tag) 5881 self.assertEqual(expected_tag, res[-taglen:]) 5891 self.assertEqual(expected_tag, res[-taglen:]) 5907 self.assertEqual(expected_tag, res[-taglen:]) 5912 msg = assoc + expected_ct + expected_tag
|