aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2016-11-23 11:19:43 -0500
committerKevin O'Connor <kevin@koconnor.net>2016-11-27 15:05:33 -0500
commit7b7b49e2898613dd6cf82473fa9b702541f218d6 (patch)
tree99c5bf5482e007a099f384f9d038d4721aeebe1e /vgasrc
parent846fd319e0d7d31b3cd269863177d7c8285fcd2e (diff)
downloadseabios-7b7b49e2898613dd6cf82473fa9b702541f218d6.tar.gz
seabios-7b7b49e2898613dd6cf82473fa9b702541f218d6.tar.xz
seabios-7b7b49e2898613dd6cf82473fa9b702541f218d6.zip
tpm: Log TPM 2 digest structure in little endian format
The parameters for extending the PCRs of a TPM 2 are written in big endian format when sent to the TPM. However, the log needs to be written in little endian format, so we cannot just copy the structure into the log as-is. To support the little endian format in the log, we extend the function writing the TPM 2 digest structure with a parameter that allows us to choose the endianess of a few parameters. We then rewrite the digest structure in little endian format for the log. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'vgasrc')
0 files changed, 0 insertions, 0 deletions