From aa2d71a84ed6ba693b7dcde213c82c46f334f640 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Wed, 20 Nov 2019 13:09:41 +0800 Subject: protocol,types: Add secure & trusted boot state to system info Add state of secure & trusted boot to struct system_info: - fw_measurement: whether the firmware has been measured - fw_enforcing: whether the firmware has been authenticated - os_enforcing: whether the boot payload will be authenticated Signed-off-by: Jeremy Kerr --- lib/types/types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/types/types.h') diff --git a/lib/types/types.h b/lib/types/types.h index 22fa337..c923d93 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -138,6 +138,9 @@ struct system_info { struct blockdev_info **blockdevs; unsigned int n_blockdevs; uint8_t *bmc_mac; + bool stb_fw_measurement; + bool stb_fw_enforcing; + bool stb_os_enforcing; }; #define HWADDR_SIZE 6 -- cgit v1.2.1