pub fn marshal_command(
tag: TpmStructureTag,
command: TpmCommandCode,
params: &[u8],
) -> Vec<u8>Expand description
Marshal a generic TPM command into a byte buffer.
Takes the command code, tag, and parameter bytes and produces a complete command packet with the correct header.