Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/tsi/alts/frame_protector/
Dalts_crypter_test.cc148 uint8_t* corrupted_data_buffer; in alts_crypter_test_corrupted_unseal() local
150 gsec_test_copy_and_alter_random_byte(data_buffer, &corrupted_data_buffer, in alts_crypter_test_corrupted_unseal()
152 status = alts_crypter_process_in_place(server_unseal, corrupted_data_buffer, in alts_crypter_test_corrupted_unseal()
158 GPR_ASSERT(memcmp(corrupted_data_buffer, zero_buffer, data_size) == 0); in alts_crypter_test_corrupted_unseal()
159 gpr_free(corrupted_data_buffer); in alts_crypter_test_corrupted_unseal()
169 gsec_test_copy(data_buffer, &corrupted_data_buffer, protected_data_size); in alts_crypter_test_corrupted_unseal()
170 (*corrupted_data_buffer)++; in alts_crypter_test_corrupted_unseal()
171 status = alts_crypter_process_in_place(server_unseal, corrupted_data_buffer, in alts_crypter_test_corrupted_unseal()
177 GPR_ASSERT(memcmp(corrupted_data_buffer, zero_buffer, data_size) == 0); in alts_crypter_test_corrupted_unseal()
178 gpr_free(corrupted_data_buffer); in alts_crypter_test_corrupted_unseal()
[all …]