Home
last modified time | relevance | path

Searched refs:expected_tag (Results 1 – 5 of 5) sorted by relevance

/external/openssh/
Dcipher-chachapoly.c56 u_char expected_tag[POLY1305_TAGLEN], poly_key[POLY1305_KEYLEN]; in chachapoly_crypt() local
73 poly1305_auth(expected_tag, src, aadlen + len, poly_key); in chachapoly_crypt()
74 if (timingsafe_bcmp(expected_tag, tag, POLY1305_TAGLEN) != 0) { in chachapoly_crypt()
98 explicit_bzero(expected_tag, sizeof(expected_tag)); in chachapoly_crypt()
/external/libusb/examples/
Dxusb.c371 … 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/libchrome/crypto/
Drsa_private_key.cc354 uint8_t expected_tag, in ReadTypeHeaderAndLength() argument
357 READ_ASSERT(**pos == expected_tag); in ReadTypeHeaderAndLength()
Drsa_private_key.h137 uint8_t expected_tag,
/external/boringssl/src/crypto/cipher/
De_aes.c1710 uint8_t expected_tag[EVP_AEAD_AES_GCM_SIV_TAG_LEN]; in aead_aes_gcm_siv_open() local
1711 gcm_siv_polyval(expected_tag, out, plaintext_len, ad, ad_len, keys.auth_key, in aead_aes_gcm_siv_open()
1713 keys.enc_block(expected_tag, expected_tag, &keys.enc_key.ks); in aead_aes_gcm_siv_open()
1715 if (CRYPTO_memcmp(expected_tag, &in[plaintext_len], sizeof(expected_tag)) != in aead_aes_gcm_siv_open()