summaryrefslogtreecommitdiff
path: root/include/security_policy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/security_policy.h')
-rw-r--r--include/security_policy.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/security_policy.h b/include/security_policy.h
new file mode 100644
index 00000000..7854db11
--- /dev/null
+++ b/include/security_policy.h
@@ -0,0 +1,15 @@
+#ifndef _SHIM_LIB_SECURITY_POLICY_H
+#define _SHIM_LIB_SECURITY_POLICY_H 1
+
+#if defined(OVERRIDE_SECURITY_POLICY)
+typedef EFI_STATUS (*SecurityHook) (void *data, UINT32 len);
+
+EFI_STATUS
+security_policy_install(SecurityHook authentication);
+EFI_STATUS
+security_policy_uninstall(void);
+void
+security_protocol_set_hashes(unsigned char *esl, int len);
+#endif /* OVERRIDE_SECURITY_POLICY */
+
+#endif /* SHIM_LIB_SECURITY_POLICY_H */