Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_iovec_record_protocol_test.cc79 static size_t alter_random_byte(uint8_t* buf, size_t buf_length) { in alter_random_byte() function
284 alter_random_byte(var->header_buf, kZeroCopyFrameLengthFieldSize); in integrity_only_corrupted_data()
293 offset = alter_random_byte(var->header_buf + kZeroCopyFrameLengthFieldSize, in integrity_only_corrupted_data()
304 offset = alter_random_byte(var->data_buf, var->data_length); in integrity_only_corrupted_data()
314 offset = alter_random_byte(var->tag_buf, var->tag_length); in integrity_only_corrupted_data()
525 size_t offset = alter_random_byte(header_buf, kZeroCopyFrameLengthFieldSize); in privacy_integrity_corrupted_data()
534 offset = alter_random_byte(header_buf + kZeroCopyFrameLengthFieldSize, in privacy_integrity_corrupted_data()
545 offset = alter_random_byte(protected_buf, protected_length); in privacy_integrity_corrupted_data()
Dalts_grpc_record_protocol_test.cc100 static void alter_random_byte(grpc_slice_buffer* sb) { in alter_random_byte() function
352 alter_random_byte(&var->protected_sb); in corrupted_data()