summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0f3cd8a)
PcdRsa2048Sha256PublicKeyBuffer is referenced but not used in the
library, that makes me a little confusing.
Actually, the PublicKeyData should be from the caller of
AuthenticateFmpImage() as input parameter, for example
EdkiiSystemCapsuleLib.
This patch is to remove the PCD reference in this library instance
to be aligned with FmpAuthenticationLibPkcs7 that does not reference
PcdPkcs7CertBuffer.
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
FmpAuthenticatedHandlerRsa2048Sha256(), AuthenticateFmpImage() will receive\r
untrusted input and do basic validation.\r
\r
FmpAuthenticatedHandlerRsa2048Sha256(), AuthenticateFmpImage() will receive\r
untrusted input and do basic validation.\r
\r
- Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>\r
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
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
- // Fail if the PublicKey is not one of the public keys in PcdRsa2048Sha256PublicKeyBuffer\r
+ // Fail if the PublicKey is not one of the public keys in the input PublicKeyData.\r
//\r
PublicKey = (VOID *)PublicKeyData;\r
PublicKeyBufferSize = PublicKeyDataLength;\r
//\r
PublicKey = (VOID *)PublicKeyData;\r
PublicKeyBufferSize = PublicKeyDataLength;\r
#\r
# Instance of FmpAuthentication Library for DXE/PEI post memory phase.\r
#\r
#\r
# Instance of FmpAuthentication Library for DXE/PEI post memory phase.\r
#\r
-# Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>\r
# 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
# 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
MemoryAllocationLib\r
BaseCryptLib\r
\r
MemoryAllocationLib\r
BaseCryptLib\r
\r
-[Pcd]\r
- gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer ## CONSUMES\r
-\r
[Guids]\r
gEfiCertTypeRsa2048Sha256Guid ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the certificate.\r
gEfiHashAlgorithmSha256Guid ## SOMETIMES_CONSUMES ## GUID\r
[Guids]\r
gEfiCertTypeRsa2048Sha256Guid ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the certificate.\r
gEfiHashAlgorithmSha256Guid ## SOMETIMES_CONSUMES ## GUID\r