summaryrefslogtreecommitdiff
path: root/include/security_policy.h
blob: 7854db11cd602aee5acbeb2705bc0c6703008ccb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 */