]> git.proxmox.com Git - mirror_edk2.git/commit - CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptX509Null.c
Correct the Hash Calculation for Revoked X.509 Certificate to align with RFC3280...
authorLong, Qin <qin.long@intel.com>
Thu, 25 Dec 2014 08:37:08 +0000 (08:37 +0000)
committerqlong <qlong@Edk2>
Thu, 25 Dec 2014 08:37:08 +0000 (08:37 +0000)
commit12d95665cb0e088afe2cd395f0acc7fdb2604acc
tree97b81462430833be22ad4b3e1869203e9cc7d921
parent270fc03f3e0c4d446926d490f1f9bb9ae0f2cf27
Correct the Hash Calculation for Revoked X.509 Certificate to align with RFC3280 and UEFI 2.4 Spec.

This patch added one new X509GetTBSCert() interface in BaseCryptLib to retrieve the TBSCertificate,
and also corrected the hash calculation for revoked certificate to aligned the RFC3280 and UEFI 2.4 spec.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Long, Qin" <qin.long@intel.com>
Reviewed-by: "Dong, Guo" <guo.dong@initel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16559 6f19259b-4bc3-4df7-8a09-765794883524
CryptoPkg/Include/Library/BaseCryptLib.h
CryptoPkg/Library/BaseCryptLib/Pk/CryptX509.c
CryptoPkg/Library/BaseCryptLib/Pk/CryptX509Null.c
CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptX509Null.c
SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.c
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigImpl.c