summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Guid
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2014-10-22 03:03:18 +0000
committerlgao4 <lgao4@Edk2>2014-10-22 03:03:18 +0000
commitfbb393ab7a9c33ca4ae81fb3f91a7d2a5671bd62 (patch)
tree3c0afd0f7e9eef9d013a5c375e232fd777027152 /MdePkg/Include/Guid
parentca2be854872373f18fc1cdf5277973fcd9179e7a (diff)
[MdePkg] Code clean-up: Remove trailing spaces
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16223 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Guid')
-rw-r--r--MdePkg/Include/Guid/WinCertificate.h76
1 files changed, 38 insertions, 38 deletions
diff --git a/MdePkg/Include/Guid/WinCertificate.h b/MdePkg/Include/Guid/WinCertificate.h
index 9d60262fd0..317dad97b5 100644
--- a/MdePkg/Include/Guid/WinCertificate.h
+++ b/MdePkg/Include/Guid/WinCertificate.h
@@ -1,14 +1,14 @@
/** @file
- GUID for UEFI WIN_CERTIFICATE structure.
+ GUID for UEFI WIN_CERTIFICATE structure.
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
- This program and the accompanying materials
- are licensed and made available under the terms and conditions of the BSD License
- which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php
+ This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
@par Revision Reference:
GUID defined in UEFI 2.0 spec.
@@ -19,7 +19,7 @@
//
// _WIN_CERTIFICATE.wCertificateType
-//
+//
#define WIN_CERT_TYPE_PKCS_SIGNED_DATA 0x0002
#define WIN_CERT_TYPE_EFI_PKCS115 0x0EF0
#define WIN_CERT_TYPE_EFI_GUID 0x0EF1
@@ -29,23 +29,23 @@
///
typedef struct {
///
- /// The length of the entire certificate,
- /// including the length of the header, in bytes.
+ /// The length of the entire certificate,
+ /// including the length of the header, in bytes.
///
UINT32 dwLength;
///
- /// The revision level of the WIN_CERTIFICATE
- /// structure. The current revision level is 0x0200.
+ /// The revision level of the WIN_CERTIFICATE
+ /// structure. The current revision level is 0x0200.
///
UINT16 wRevision;
///
- /// The certificate type. See WIN_CERT_TYPE_xxx for the UEFI
- /// certificate types. The UEFI specification reserves the range of
- /// certificate type values from 0x0EF0 to 0x0EFF.
+ /// The certificate type. See WIN_CERT_TYPE_xxx for the UEFI
+ /// certificate types. The UEFI specification reserves the range of
+ /// certificate type values from 0x0EF0 to 0x0EFF.
///
UINT16 wCertificateType;
///
- /// The following is the actual certificate. The format of
+ /// The following is the actual certificate. The format of
/// the certificate depends on wCertificateType.
///
/// UINT8 bCertificate[ANYSIZE_ARRAY];
@@ -54,13 +54,13 @@ typedef struct {
///
/// WIN_CERTIFICATE_UEFI_GUID.CertType
-///
+///
#define EFI_CERT_TYPE_RSA2048_SHA256_GUID \
{0xa7717414, 0xc616, 0x4977, {0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } }
///
/// WIN_CERTIFICATE_UEFI_GUID.CertData
-///
+///
typedef struct {
EFI_GUID HashType;
UINT8 PublicKey[256];
@@ -74,17 +74,17 @@ typedef struct {
typedef struct {
///
/// This is the standard WIN_CERTIFICATE header, where
- /// wCertificateType is set to WIN_CERT_TYPE_EFI_GUID.
- ///
+ /// wCertificateType is set to WIN_CERT_TYPE_EFI_GUID.
+ ///
WIN_CERTIFICATE Hdr;
///
- /// This is the unique id which determines the
+ /// This is the unique id which determines the
/// format of the CertData. .
///
EFI_GUID CertType;
- ///
+ ///
/// The following is the certificate data. The format of
- /// the data is determined by the CertType.
+ /// the data is determined by the CertType.
/// If CertType is EFI_CERT_TYPE_RSA2048_SHA256_GUID,
/// the CertData will be EFI_CERT_BLOCK_RSA_2048_SHA256 structure.
///
@@ -92,32 +92,32 @@ typedef struct {
} WIN_CERTIFICATE_UEFI_GUID;
-///
+///
/// Certificate which encapsulates the RSASSA_PKCS1-v1_5 digital signature.
-///
+///
/// The WIN_CERTIFICATE_UEFI_PKCS1_15 structure is derived from
-/// WIN_CERTIFICATE and encapsulate the information needed to
-/// implement the RSASSA-PKCS1-v1_5 digital signature algorithm as
-/// specified in RFC2437.
-///
-typedef struct {
+/// WIN_CERTIFICATE and encapsulate the information needed to
+/// implement the RSASSA-PKCS1-v1_5 digital signature algorithm as
+/// specified in RFC2437.
+///
+typedef struct {
///
- /// This is the standard WIN_CERTIFICATE header, where
- /// wCertificateType is set to WIN_CERT_TYPE_UEFI_PKCS1_15.
+ /// This is the standard WIN_CERTIFICATE header, where
+ /// wCertificateType is set to WIN_CERT_TYPE_UEFI_PKCS1_15.
///
WIN_CERTIFICATE Hdr;
///
/// This is the hashing algorithm which was performed on the
- /// UEFI executable when creating the digital signature.
+ /// UEFI executable when creating the digital signature.
///
EFI_GUID HashAlgorithm;
///
- /// The following is the actual digital signature. The
- /// size of the signature is the same size as the key
- /// (1024-bit key is 128 bytes) and can be determined by
+ /// The following is the actual digital signature. The
+ /// size of the signature is the same size as the key
+ /// (1024-bit key is 128 bytes) and can be determined by
/// subtracting the length of the other parts of this header
- /// from the total length of the certificate as found in
- /// Hdr.dwLength.
+ /// from the total length of the certificate as found in
+ /// Hdr.dwLength.
///
/// UINT8 Signature[];
///