[Skiboot] [PATCH 8/8] libstb: Set TPM platform auth to random password

Mauro S. M. Rodrigues maurosr at linux.vnet.ibm.com
Fri Apr 3 03:52:11 AEDT 2020


From: Ryan Grimm <grimm at linux.ibm.com>

Set in core/init.c before trustedboot_exit_boot_services.

Signed-off-by: Ryan Grimm <grimm at linux.ibm.com>
---
 core/init.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git core/init.c core/init.c
index bff4e968aa..63e3f97a3b 100644
--- core/init.c
+++ core/init.c
@@ -38,6 +38,7 @@
 #include <vas.h>
 #include <libstb/secureboot.h>
 #include <libstb/trustedboot.h>
+#include <libstb/tss2/tssskiboot.h>
 #include <phys-map.h>
 #include <imc.h>
 #include <dts.h>
@@ -556,6 +557,8 @@ void __noreturn load_and_boot_kernel(bool is_reboot)
 
 	load_initramfs();
 
+	tss_set_platform_auth();
+
 	trustedboot_exit_boot_services();
 
 	ipmi_set_fw_progress_sensor(IPMI_FW_OS_BOOT);
-- 
2.25.1



More information about the Skiboot mailing list