Customizing Mavlink Packet Transmission

I’m seeking to alter the packet transmission between my pixhawk and GCS. While I’ve noticed the message signing option, my goal is to integrate it into the system rather than relying on adjustments through the mission planner. However, I cannot locate the pertinent files for Mavlink communication within the Mission Planner and Ardupilot Github repositories. Could you assist me in identifying the files I can modify to adjust packet content or incorporate a custom signature into all packets by default?