Searched refs:kZeroCopyFrameLengthFieldSize (Results 1 – 4 of 4) sorted by relevance
69 if (sb == nullptr || sb->length < kZeroCopyFrameLengthFieldSize) { in read_frame_size()72 uint8_t frame_size_buffer[kZeroCopyFrameLengthFieldSize]; in read_frame_size()75 size_t remaining = kZeroCopyFrameLengthFieldSize; in read_frame_size()100 static_cast<uint32_t>(frame_size + kZeroCopyFrameLengthFieldSize); in read_frame_size()188 while (protector->protected_sb.length >= kZeroCopyFrameLengthFieldSize) { in alts_zero_copy_grpc_protector_unprotect()
29 constexpr size_t kZeroCopyFrameLengthFieldSize = 4; variable32 kZeroCopyFrameLengthFieldSize + kZeroCopyFrameMessageTypeFieldSize;
136 header + kZeroCopyFrameLengthFieldSize); in write_frame_header()153 size_t message_type = load_32_le(header + kZeroCopyFrameLengthFieldSize); in verify_frame_header()
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()302 revert_back_alter(var->header_buf + kZeroCopyFrameLengthFieldSize, offset); 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()543 revert_back_alter(header_buf + kZeroCopyFrameLengthFieldSize, offset); in privacy_integrity_corrupted_data()