mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-07-15 07:00:04 +00:00
18 lines
460 B
C
18 lines
460 B
C
// SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
#ifndef SHIM_SECURITY_POLICY_H
|
|
#define SHIM_SECURITY_POLICY_H
|
|
|
|
#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_SECURITY_POLICY_H */
|