]> git.proxmox.com Git - mirror_edk2.git/blame - OvmfPkg/Include/Guid/MicrosoftVendor.h
OvmfPkg: Apply uncrustify changes
[mirror_edk2.git] / OvmfPkg / Include / Guid / MicrosoftVendor.h
CommitLineData
7eeaa758
LE
1/** @file\r
2 Declare the GUID that is expected:\r
3\r
4 - as EFI_SIGNATURE_DATA.SignatureOwner GUID in association with X509 and\r
5 RSA2048 Secure Boot certificates issued by/for Microsoft,\r
6\r
7 - as UEFI variable vendor GUID in association with (unspecified)\r
8 Microsoft-owned variables.\r
9\r
10 Copyright (C) 2014-2019, Red Hat, Inc.\r
11\r
12 SPDX-License-Identifier: BSD-2-Clause-Patent\r
13\r
14 @par Specification Reference:\r
15 - MSDN: System.Fundamentals.Firmware at\r
16 <https://msdn.microsoft.com/en-us/ie/dn932805(v=vs.94)>.\r
17**/\r
18\r
19#ifndef MICROSOFT_VENDOR_H_\r
20#define MICROSOFT_VENDOR_H_\r
21\r
22#include <Uefi/UefiBaseType.h>\r
23\r
24//\r
25// The following test cases of the Secure Boot Logo Test in the Microsoft\r
26// Hardware Certification Kit:\r
27//\r
28// - Microsoft.UefiSecureBootLogo.Tests.OutOfBoxVerifyMicrosoftKEKpresent\r
29// - Microsoft.UefiSecureBootLogo.Tests.OutOfBoxConfirmMicrosoftSignatureInDB\r
30//\r
31// expect the EFI_SIGNATURE_DATA.SignatureOwner GUID to be\r
32// 77FA9ABD-0359-4D32-BD60-28F4E78F784B, when the\r
33// EFI_SIGNATURE_DATA.SignatureData field carries any of the following X509\r
34// certificates:\r
35//\r
36// - "Microsoft Corporation KEK CA 2011" (in KEK)\r
37// - "Microsoft Windows Production PCA 2011" (in db)\r
38// - "Microsoft Corporation UEFI CA 2011" (in db)\r
39//\r
40// This is despite the fact that the UEFI specification requires\r
41// EFI_SIGNATURE_DATA.SignatureOwner to reflect the agent (i.e., OS,\r
42// application or driver) that enrolled and therefore owns\r
43// EFI_SIGNATURE_DATA.SignatureData, and not the organization that issued\r
44// EFI_SIGNATURE_DATA.SignatureData.\r
45//\r
46#define MICROSOFT_VENDOR_GUID \\r
47 { 0x77fa9abd, \\r
48 0x0359, \\r
49 0x4d32, \\r
50 { 0xbd, 0x60, 0x28, 0xf4, 0xe7, 0x8f, 0x78, 0x4b }, \\r
51 }\r
52\r
ac0a286f 53extern EFI_GUID gMicrosoftVendorGuid;\r
7eeaa758
LE
54\r
55#endif /* MICROSOFT_VENDOR_H_ */\r