From: lgao4 Date: Fri, 30 Sep 2011 05:52:13 +0000 (+0000) Subject: Update comments to corrects SignatureSize for each SignatureType. X-Git-Tag: edk2-stable201903~14103 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=6048a5b01b530230257d256606e761f9bb13ec9b;p=mirror_edk2.git 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 --- diff --git a/MdePkg/Include/Guid/ImageAuthentication.h b/MdePkg/Include/Guid/ImageAuthentication.h index ef160e72a3..634fd655be 100644 --- a/MdePkg/Include/Guid/ImageAuthentication.h +++ b/MdePkg/Include/Guid/ImageAuthentication.h @@ -128,7 +128,7 @@ typedef struct { /// since the public key exponent is known to be 0x10001) shall be stored in big-endian /// order. /// 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 \ { \ @@ -138,7 +138,7 @@ typedef struct { /// /// 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 -/// SignatureOwner component) + 32 bytes. +/// SignatureOwner component) + 256 bytes. /// #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 -/// be 16 (size of SignatureOwner component) + 32 bytes. +/// be 16 (size of SignatureOwner component) + 20 bytes. /// #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 /// 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 \ { \