Searched refs:kAesGcmTagLength (Results 1 – 8 of 8) sorted by relevance
/third_party/grpc/src/core/tsi/alts/crypt/ |
D | aes_gcm.cc | 365 if (ciphertext_length < kAesGcmTagLength) { in gsec_aes_gcm_aead_crypter_encrypt_iovec() 372 kAesGcmTagLength, ciphertext)) { in gsec_aes_gcm_aead_crypter_encrypt_iovec() 376 ciphertext += kAesGcmTagLength; in gsec_aes_gcm_aead_crypter_encrypt_iovec() 377 ciphertext_length -= kAesGcmTagLength; in gsec_aes_gcm_aead_crypter_encrypt_iovec() 417 if (total_ciphertext_length < kAesGcmTagLength) { in gsec_aes_gcm_aead_crypter_decrypt_iovec() 480 i < ciphertext_vec_length && total_ciphertext_length > kAesGcmTagLength; in gsec_aes_gcm_aead_crypter_decrypt_iovec() 495 if (bytes_to_write > total_ciphertext_length - kAesGcmTagLength) { in gsec_aes_gcm_aead_crypter_decrypt_iovec() 496 bytes_to_write = total_ciphertext_length - kAesGcmTagLength; in gsec_aes_gcm_aead_crypter_decrypt_iovec() 522 if (total_ciphertext_length > kAesGcmTagLength) { in gsec_aes_gcm_aead_crypter_decrypt_iovec() 529 uint8_t tag[kAesGcmTagLength]; in gsec_aes_gcm_aead_crypter_decrypt_iovec() [all …]
|
D | gsec.h | 45 const size_t kAesGcmTagLength = 16; variable
|
/third_party/grpc/test/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_grpc_record_protocol_test.cc | 124 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_integrity_only_create() 131 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_integrity_only_create() 138 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_integrity_only_create() 145 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_integrity_only_create() 182 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_privacy_integrity_create() 189 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_privacy_integrity_create() 196 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_privacy_integrity_create() 203 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in test_fixture_privacy_integrity_create()
|
D | alts_iovec_record_protocol_test.cc | 105 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in alts_iovec_record_protocol_test_fixture_create() 113 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in alts_iovec_record_protocol_test_fixture_create() 121 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in alts_iovec_record_protocol_test_fixture_create() 129 key, key_length, kAesGcmNonceLength, kAesGcmTagLength, rekey, in alts_iovec_record_protocol_test_fixture_create()
|
/third_party/grpc/test/core/tsi/alts/frame_protector/ |
D | alts_crypter_test.cc | 354 kAesGcmTagLength, rekey, server_crypter_seal, in create_random_alts_seal_crypter() 357 kAesGcmTagLength, rekey, in create_random_alts_seal_crypter() 360 kAesGcmTagLength, rekey, client_crypter_seal, in create_random_alts_seal_crypter() 363 kAesGcmTagLength, rekey, in create_random_alts_seal_crypter()
|
/third_party/grpc/src/core/tsi/alts/frame_protector/ |
D | alts_frame_protector.cc | 337 kAesGcmTagLength, is_rekey, in create_alts_crypters() 343 key, key_size, kAesGcmNonceLength, kAesGcmTagLength, is_rekey, in create_alts_crypters()
|
/third_party/grpc/src/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_zero_copy_grpc_protector.cc | 122 kAesGcmTagLength, is_rekey, in create_alts_grpc_record_protocol()
|
/third_party/grpc/test/core/tsi/alts/crypt/ |
D | aes_gcm_test.cc | 734 GPR_ASSERT(ciphertext_and_tag_length == plaintext_length + kAesGcmTagLength); in gsec_test_get_crypter_from_test_vector() 795 kAesGcmTagLength, /*rekey=*/false); in gsec_test_get_random_aes_gcm_crypters() 798 kAesGcmTagLength, /*rekey=*/false); in gsec_test_get_random_aes_gcm_crypters() 801 kAesGcmTagLength, /*rekey=*/true); in gsec_test_get_random_aes_gcm_crypters()
|