mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-30 12:43:41 +01:00
33 lines
676 B
C
33 lines
676 B
C
/*
|
|
* secureboot.h
|
|
*
|
|
* Created on: 16 Apr 2020
|
|
* Author: jief
|
|
*/
|
|
|
|
#ifndef ENTRY_SCAN_SECUREBOOT_H_
|
|
#define ENTRY_SCAN_SECUREBOOT_H_
|
|
|
|
|
|
|
|
// Secure boot policies
|
|
// Deny all images
|
|
#define SECURE_BOOT_POLICY_DENY (0)
|
|
// Allow all images
|
|
#define SECURE_BOOT_POLICY_ALLOW (1)
|
|
// Query the user to choose action
|
|
#define SECURE_BOOT_POLICY_QUERY (2)
|
|
// Insert signature into db
|
|
#define SECURE_BOOT_POLICY_INSERT (3)
|
|
// White list
|
|
#define SECURE_BOOT_POLICY_WHITELIST (4)
|
|
// Black list
|
|
#define SECURE_BOOT_POLICY_BLACKLIST (5)
|
|
// User policy, white and black list with query
|
|
#define SECURE_BOOT_POLICY_USER (6)
|
|
|
|
|
|
|
|
|
|
#endif /* ENTRY_SCAN_SECUREBOOT_H_ */
|