diff options
author | hhuan13 <hhuan13@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-16 07:16:02 +0000 |
---|---|---|
committer | hhuan13 <hhuan13@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-16 07:16:02 +0000 |
commit | ab0eecec6e1233b7ca179d8a8f2b2e44e9546b7f (patch) | |
tree | 474ac1dc11c5ae47cb5e508e4f8c8683ffc12a43 /MdePkg/Include/Guid/ImageAuthentication.h | |
parent | b7d320f8117ed2fffe001b1a0b7bfcd4f40fafc4 (diff) | |
download | edk2-platforms-ab0eecec6e1233b7ca179d8a8f2b2e44e9546b7f.tar.xz |
1. Add Uefi231 secure boot related definitions
Signed-off-by: hhuan13
Reviewed-by: tye, qlong
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12143 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Guid/ImageAuthentication.h')
-rw-r--r-- | MdePkg/Include/Guid/ImageAuthentication.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/MdePkg/Include/Guid/ImageAuthentication.h b/MdePkg/Include/Guid/ImageAuthentication.h index bf5295a046..ef160e72a3 100644 --- a/MdePkg/Include/Guid/ImageAuthentication.h +++ b/MdePkg/Include/Guid/ImageAuthentication.h @@ -35,7 +35,8 @@ /// for the forbidden signature database.
///
#define EFI_IMAGE_SECURITY_DATABASE1 L"dbx"
-
+#define SECURE_BOOT_MODE_ENABLE 1
+#define SECURE_BOOT_MODE_DISABLE 0
#define SETUP_MODE 1
#define USER_MODE 0
///
@@ -58,6 +59,12 @@ ///
#define EFI_SIGNATURE_SUPPORT_NAME L"SignatureSupport"
+///
+/// Globally "SecureBoot" variable to specify whether the platform firmware
+/// is operating in Secure boot mode (1) or not (0). All other values are reserved.
+///
+#define EFI_SECURE_BOOT_MODE_NAME L"SecureBoot"
+
//***********************************************************************
// Signature Database
//***********************************************************************
@@ -200,6 +207,15 @@ typedef struct { { \
0x93e0fae, 0xa6c4, 0x4f50, {0x9f, 0x1b, 0xd4, 0x1e, 0x2b, 0x89, 0xc1, 0x9a} \
}
+
+///
+/// This identifies a signature containing a DER-encoded PKCS #7 version 1.5 [RFC2315]
+/// SignedData value.
+///
+#define EFI_CERT_TYPE_PKCS7_GUID \
+ { \
+ 0x4aafd29d, 0x68df, 0x49ee, {0x8a, 0xa9, 0x34, 0x7d, 0x37, 0x56, 0x65, 0xa7} \
+ }
//***********************************************************************
// Image Execution Information Table Definition
@@ -274,5 +290,6 @@ extern EFI_GUID gEfiCertX509Guid; extern EFI_GUID gEfiCertSha224Guid;
extern EFI_GUID gEfiCertSha384Guid;
extern EFI_GUID gEfiCertSha512Guid;
+extern EFI_GUID gEfiCertPkcs7Guid;
#endif
|