Update comments to corrects SignatureSize for each SignatureType.

Signed-off-by: lgao4
Reviewed-by: vanjeff


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12488 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2011-09-30 05:52:13 +00:00
parent f85e38bf89
commit 6048a5b01b
1 changed files with 4 additions and 4 deletions

View File

@ -128,7 +128,7 @@ typedef struct {
/// since the public key exponent is known to be 0x10001) shall be stored in big-endian /// since the public key exponent is known to be 0x10001) shall be stored in big-endian
/// order. /// order.
/// The SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size /// The SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size
/// of SignatureOwner component) + 32 bytes. /// of SignatureOwner component) + 256 bytes.
/// ///
#define EFI_CERT_RSA2048_GUID \ #define EFI_CERT_RSA2048_GUID \
{ \ { \
@ -138,7 +138,7 @@ typedef struct {
/// ///
/// This identifies a signature containing a RSA-2048 signature of a SHA-256 hash. The /// This identifies a signature containing a RSA-2048 signature of a SHA-256 hash. The
/// SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of /// SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of
/// SignatureOwner component) + 32 bytes. /// SignatureOwner component) + 256 bytes.
/// ///
#define EFI_CERT_RSA2048_SHA256_GUID \ #define EFI_CERT_RSA2048_SHA256_GUID \
{ \ { \
@ -147,7 +147,7 @@ typedef struct {
/// ///
/// This identifies a signature containing a SHA-1 hash. The SignatureSize shall always /// This identifies a signature containing a SHA-1 hash. The SignatureSize shall always
/// be 16 (size of SignatureOwner component) + 32 bytes. /// be 16 (size of SignatureOwner component) + 20 bytes.
/// ///
#define EFI_CERT_SHA1_GUID \ #define EFI_CERT_SHA1_GUID \
{ \ { \
@ -157,7 +157,7 @@ typedef struct {
/// ///
/// TThis identifies a signature containing a RSA-2048 signature of a SHA-1 hash. The /// TThis identifies a signature containing a RSA-2048 signature of a SHA-1 hash. The
/// SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of /// SignatureHeader size shall always be 0. The SignatureSize shall always be 16 (size of
/// SignatureOwner component) + 32 bytes. /// SignatureOwner component) + 256 bytes.
/// ///
#define EFI_CERT_RSA2048_SHA1_GUID \ #define EFI_CERT_RSA2048_SHA1_GUID \
{ \ { \