Home
last modified time | relevance | path

Searched refs:aad_length (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/test/core/tsi/alts/crypt/
Daes_gcm_test.cc39 size_t aad_length; member
80 size_t aad_length, in gsec_test_random_encrypt_decrypt() argument
89 gsec_test_random_array(&aad, aad_length); in gsec_test_random_encrypt_decrypt()
102 gsec_aead_crypter_encrypt(crypter, nonce, nonce_length, aad, aad_length, in gsec_test_random_encrypt_decrypt()
116 crypter, nonce, nonce_length, aad, aad_length, ciphertext_and_tag, in gsec_test_random_encrypt_decrypt()
136 crypter, corrupt_nonce, nonce_length, aad, aad_length, in gsec_test_random_encrypt_decrypt()
156 crypter, nonce, nonce_length, aad, aad_length, in gsec_test_random_encrypt_decrypt()
174 crypter, nonce, nonce_length, aad, aad_length, in gsec_test_random_encrypt_decrypt()
192 crypter, nonce, nonce_length, aad, aad_length, in gsec_test_random_encrypt_decrypt()
215 size_t aad_length, message_length; in gsec_test_encrypt_decrypt() local
[all …]
/external/grpc-grpc/src/core/tsi/alts/crypt/
Dgsec.cc40 const uint8_t* aad, size_t aad_length, const uint8_t* plaintext, in gsec_aead_crypter_encrypt() argument
46 struct iovec aad_vec = {(void*)aad, aad_length}; in gsec_aead_crypter_encrypt()
79 const uint8_t* aad, size_t aad_length, const uint8_t* ciphertext_and_tag, in gsec_aead_crypter_decrypt() argument
84 struct iovec aad_vec = {(void*)aad, aad_length}; in gsec_aead_crypter_decrypt()
Daes_gcm.cc302 size_t aad_length = aad_vec[i].iov_len; in gsec_aes_gcm_aead_crypter_encrypt_iovec() local
303 if (aad_length == 0) { in gsec_aes_gcm_aead_crypter_encrypt_iovec()
313 static_cast<int>(aad_length)) || in gsec_aes_gcm_aead_crypter_encrypt_iovec()
314 aad_bytes_read != aad_length) { in gsec_aes_gcm_aead_crypter_encrypt_iovec()
452 size_t aad_length = aad_vec[i].iov_len; in gsec_aes_gcm_aead_crypter_decrypt_iovec() local
453 if (aad_length == 0) { in gsec_aes_gcm_aead_crypter_decrypt_iovec()
463 static_cast<int>(aad_length)) || in gsec_aes_gcm_aead_crypter_decrypt_iovec()
464 aad_bytes_read != aad_length) { in gsec_aes_gcm_aead_crypter_decrypt_iovec()
Dgsec.h212 const uint8_t* aad, size_t aad_length, const uint8_t* plaintext,
283 const uint8_t* aad, size_t aad_length, const uint8_t* ciphertext_and_tag,