File: security_policy.h

package info (click to toggle)
shim 15.8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,124 kB
  • sloc: ansic: 168,639; asm: 1,714; sh: 1,294; makefile: 1,151; python: 284
file content (17 lines) | stat: -rw-r--r-- 460 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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 */