aboutsummaryrefslogtreecommitdiffstats
path: root/src/std
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-08-10 17:45:05 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-11-27 15:04:48 -0500
commit538d9b7110c178e02f02b029416952f3eb42bc5d (patch)
tree55958a40e7dc7474539e1abb6dd306cc4b61ccea /src/std
parent9ec57de1db32fc75d2acd740d4a3bf47cdf023e6 (diff)
downloadseabios-538d9b7110c178e02f02b029416952f3eb42bc5d.tar.gz
tpm: Don't call tpm_build_and_send_cmd() from tpm20_stirrandom()
Instead call tpmhw_transmit() directly. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/std')
-rw-r--r--src/std/tcg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/std/tcg.h b/src/std/tcg.h
index d5bf15a7..61a759a8 100644
--- a/src/std/tcg.h
+++ b/src/std/tcg.h
@@ -356,7 +356,8 @@ struct tpm_res_sha1complete {
/* TPM 2 data structures */
-struct tpm2b_stir {
+struct tpm2_req_stirrandom {
+ struct tpm_req_header hdr;
u16 size;
u64 stir;
} PACKED;