Add TPM and TPM message classes to trunks.

This CL adds a TPM class that provides nicer helper functions for talking to
the TPM device, along with a TPM message class that handles all the formatting,
endian-correction, etc. The TPM class then invokes Send() and Recv() on TPM
messages to facilitate communication with the TPM device.

BUG=chromium:254742
TEST=Compiles successfully and passes unit tests.

Change-Id: I742362da946ae4f38b7d19c76353cc4794c4567d
Reviewed-on: https://gerrit.chromium.org/gerrit/65232
Reviewed-by: Gaurav Shah <gauravsh@chromium.org>
Commit-Queue: Sarah Harvey <saharvey@chromium.org>
Reviewed-by: Sarah Harvey <saharvey@chromium.org>
Tested-by: Sarah Harvey <saharvey@chromium.org>
8 files changed