summaryrefslogtreecommitdiff
path: root/include/ssp.h
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2024-02-17 17:35:37 +0000
committerSteve McIntyre <steve@einval.com>2024-05-03 14:36:51 +0100
commitf898e219b4b06cf2bb7af18b5cc7a00754d3d274 (patch)
treec535b3ff1b13388dbaa7072c7f5ec78f5d73ee53 /include/ssp.h
parent3cf4042d82ef314f19e9f7bd4f86c4b59efd8233 (diff)
downloadefi-boot-shim-f898e219b4b06cf2bb7af18b5cc7a00754d3d274.tar.gz
efi-boot-shim-f898e219b4b06cf2bb7af18b5cc7a00754d3d274.zip
New upstream version 15.8
Diffstat (limited to 'include/ssp.h')
-rw-r--r--include/ssp.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/ssp.h b/include/ssp.h
new file mode 100644
index 00000000..f25590c6
--- /dev/null
+++ b/include/ssp.h
@@ -0,0 +1,14 @@
+#ifndef SSP_H_
+#define SSP_H_
+
+#define SSPVER_VAR_NAME L"SkuSiPolicyVersion"
+#define SSPSIG_VAR_NAME L"SkuSiPolicyUpdateSigners"
+#define SSP_VAR_ATTRS UEFI_VAR_NV_BS
+
+#define SSPVER_SIZE 8
+#define SSPSIG_SIZE 131
+
+EFI_STATUS set_ssp_uefi_variable_internal(void);
+EFI_STATUS set_ssp_uefi_variable(uint8_t*, uint8_t*, uint8_t*, uint8_t*);
+
+#endif /* !SSP_H_ */