aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Grimm <grimm@linux.ibm.com>2020-06-01 17:34:39 -0300
committerOliver O'Halloran <oohall@gmail.com>2020-10-01 13:42:40 +1000
commitef70d6488bc7fd5e1c8a36cf182a54479ccb65ab (patch)
tree0595a63f3a3aa8cd9b6de743fea59cab55faf62e
parent9536adaa1cf65c833cb51bdf1b20b4b248456f75 (diff)
downloadskiboot-ef70d6488bc7fd5e1c8a36cf182a54479ccb65ab.zip
skiboot-ef70d6488bc7fd5e1c8a36cf182a54479ccb65ab.tar.gz
skiboot-ef70d6488bc7fd5e1c8a36cf182a54479ccb65ab.tar.bz2
libstb: Set TPM platform auth to random password
Set in core/init.c before trustedboot_exit_boot_services. Signed-off-by: Ryan Grimm <grimm@linux.ibm.com> Signed-off-by: Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
-rw-r--r--libstb/trustedboot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstb/trustedboot.c b/libstb/trustedboot.c
index b940ba1..9b7d7ac 100644
--- a/libstb/trustedboot.c
+++ b/libstb/trustedboot.c
@@ -155,6 +155,7 @@ int trustedboot_exit_boot_services(void)
failed = true;
}
tpm_add_status_property();
+ tss_set_platform_auth();
out_free:
tpm_cleanup();