- Copyright (c) 2006, Intel Corporation \r
- All rights reserved. This program and the accompanying materials \r
- are licensed and made available under the terms and conditions of the BSD License \r
- which accompanies this distribution. The full text of the license may be found at \r
- http://opensource.org/licenses/bsd-license.php \r
+ Copyright (c) 2006, Intel Corporation \r
+ All rights reserved. This program and the accompanying materials \r
+ are licensed and made available under the terms and conditions of the BSD License \r
+ which accompanies this distribution. The full text of the license may be found at \r
+ http://opensource.org/licenses/bsd-license.php \r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
- EfiReservedMemoryType,\r
- EfiLoaderCode,\r
- EfiLoaderData,\r
- EfiBootServicesCode,\r
- EfiBootServicesData,\r
- EfiRuntimeServicesCode,\r
- EfiRuntimeServicesData,\r
- EfiConventionalMemory,\r
- EfiUnusableMemory,\r
- EfiACPIReclaimMemory,\r
- EfiACPIMemoryNVS,\r
- EfiMemoryMappedIO,\r
- EfiMemoryMappedIOPortSpace,\r
- EfiPalCode,\r
- EfiMaxMemoryType\r
+ EfiReservedMemoryType,\r
+ EfiLoaderCode,\r
+ EfiLoaderData,\r
+ EfiBootServicesCode,\r
+ EfiBootServicesData,\r
+ EfiRuntimeServicesCode,\r
+ EfiRuntimeServicesData,\r
+ EfiConventionalMemory,\r
+ EfiUnusableMemory,\r
+ EfiACPIReclaimMemory,\r
+ EfiACPIMemoryNVS,\r
+ EfiMemoryMappedIO,\r
+ EfiMemoryMappedIOPortSpace,\r
+ EfiPalCode,\r
+ EfiMaxMemoryType\r
-#define EFI_VARIABLE_NON_VOLATILE 0x00000001\r
-#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002\r
-#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004\r
-#define EFI_VARIABLE_HARDWARE_ERROR_RECORD 0x00000008\r
+#define EFI_VARIABLE_NON_VOLATILE 0x00000001\r
+#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002\r
+#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004\r
+#define EFI_VARIABLE_HARDWARE_ERROR_RECORD 0x00000008\r
specification and has the following definition:\r
\r
@param dwLength The length of the entire certificate,\r
including the length of the header, in\r
bytes.\r
\r
specification and has the following definition:\r
\r
@param dwLength The length of the entire certificate,\r
including the length of the header, in\r
bytes.\r
\r
WIN_CERT_TYPE_xxx for the UEFI\r
certificate types. The UEFI\r
specification reserves the range of\r
certificate type values from 0x0EF0\r
to 0x0EFF.\r
\r
WIN_CERT_TYPE_xxx for the UEFI\r
certificate types. The UEFI\r
specification reserves the range of\r
certificate type values from 0x0EF0\r
to 0x0EFF.\r
\r
the certificate depends on\r
wCertificateType. The format of the UEFI\r
certificates is defined below.\r
the certificate depends on\r
wCertificateType. The format of the UEFI\r
certificates is defined below.\r
- {0xa7717414, 0xc616, 0x4977, {0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } }\r
+ {0xa7717414, 0xc616, 0x4977, {0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } }\r
format of the CertData. In this case, the\r
value is EFI_CERT_TYPE_RSA2048_SHA256_GUID.\r
\r
format of the CertData. In this case, the\r
value is EFI_CERT_TYPE_RSA2048_SHA256_GUID.\r
\r
type allows new types of certificates to\r
be developed for driver authentication\r
without requiring a new certificate type.\r
type allows new types of certificates to\r
be developed for driver authentication\r
without requiring a new certificate type.\r
- WIN_CERTIFICATE and encapsulate the information needed to \r
- implement the RSASSA-PKCS1-v1_5 digital signature algorithm as \r
- specified in RFC2437. \r
+ WIN_CERTIFICATE and encapsulate the information needed to \r
+ implement the RSASSA-PKCS1-v1_5 digital signature algorithm as \r
+ specified in RFC2437. \r
\r
@param Hdr This is the standard WIN_CERTIFICATE header, where\r
wCertificateType is set to\r
\r
@param Hdr This is the standard WIN_CERTIFICATE header, where\r
wCertificateType is set to\r
size of the signature is the same size as\r
the key (1024-bit key is 128 bytes) and can\r
be determined by subtracting the length of\r
size of the signature is the same size as\r
the key (1024-bit key is 128 bytes) and can\r
be determined by subtracting the length of\r
- AuthInfo is a WIN_CERTIFICATE using the wCertificateType\r
- WIN_CERTIFICATE_UEFI_GUID and the CertType\r
- EFI_CERT_TYPE_RSA2048_SHA256. If the attribute specifies\r
- authenticated access, then the Data buffer should begin with an\r
- authentication descriptor prior to the data payload and DataSize\r
- should reflect the the data.and descriptor size. The caller\r
- shall digest the Monotonic Count value and the associated data\r
- for the variable update using the SHA-256 1-way hash algorithm.\r
- The ensuing the 32-byte digest will be signed using the private\r
- key associated w/ the public/private 2048-bit RSA key-pair. The\r
- WIN_CERTIFICATE shall be used to describe the signature of the\r
- Variable data *Data. In addition, the signature will also\r
+ AuthInfo is a WIN_CERTIFICATE using the wCertificateType\r
+ WIN_CERTIFICATE_UEFI_GUID and the CertType\r
+ EFI_CERT_TYPE_RSA2048_SHA256. If the attribute specifies\r
+ authenticated access, then the Data buffer should begin with an\r
+ authentication descriptor prior to the data payload and DataSize\r
+ should reflect the the data.and descriptor size. The caller\r
+ shall digest the Monotonic Count value and the associated data\r
+ for the variable update using the SHA-256 1-way hash algorithm.\r
+ The ensuing the 32-byte digest will be signed using the private\r
+ key associated w/ the public/private 2048-bit RSA key-pair. The\r
+ WIN_CERTIFICATE shall be used to describe the signature of the\r
+ Variable data *Data. In addition, the signature will also\r
access. It is a signature across the\r
variable data and the Monotonic Count\r
value. Caller uses Private key that is\r
access. It is a signature across the\r
variable data and the Monotonic Count\r
value. Caller uses Private key that is\r