audk/SecurityPkg/Library
Yao, Jiewen b1b1d64699 SecurityPkg: Correct data copy in Tpm2NvReadPublic.
1) NvPublic.dataSize data should be got from original
receive buffer, instead of returned NvPublic.

2) NvNameSize means the size of NvName without size field.
The original code treats it to be size of NvName with size
field, so the last 2 bytes are missing.

This patch fixed problem.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Zhang, Chao B" <chao.b.zhang@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19756 6f19259b-4bc3-4df7-8a09-765794883524
2016-01-27 12:16:47 +00:00
..
AuthVariableLib SecurityPkg AuthVariableLib: Correct comment/error log about CleanCertsFromDb 2015-12-29 09:07:32 +00:00
DxeDeferImageLoadLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeImageAuthenticationStatusLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeImageVerificationLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeRsa2048Sha256GuidedSectionExtractLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeTcg2PhysicalPresenceLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeTcgPhysicalPresenceLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeTpm2MeasureBootLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeTpmMeasureBootLib DxeTpmMeasureBootLib: Change global variable name to avoid name conflict. 2015-12-18 00:53:25 +00:00
DxeTpmMeasurementLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeTrEEPhysicalPresenceLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
HashInstanceLibSha1 SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
HashInstanceLibSha256 SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
HashLibBaseCryptoRouter SecurityPkg: Correct Pcd Usage PcdTcg2HashAlgorithmBitmap 2015-12-17 08:28:00 +00:00
HashLibTpm2 SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
PeiRsa2048Sha256GuidedSectionExtractLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
PeiTcg2PhysicalPresenceLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
PlatformSecureLibNull SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
SmmTcg2PhysicalPresenceLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tcg2PpVendorLibNull SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
TcgPpVendorLibNull SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tpm2CommandLib SecurityPkg: Correct data copy in Tpm2NvReadPublic. 2016-01-27 12:16:47 +00:00
Tpm2DeviceLibDTpm SecurityPkg: Add TPM PTP support in TPM2 device lib. 2016-01-26 01:29:38 +00:00
Tpm2DeviceLibRouter SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tpm2DeviceLibTcg2 SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tpm2DeviceLibTrEE SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tpm12CommandLib SecurityPkg/Tpm12CommandLib: Add TPM 1.2 commands used by TCG modules 2016-01-21 19:30:05 +00:00
Tpm12DeviceLibDTpm SecurityPkg: Add TPM PTP detection in Tpm12SubmitCommand. 2016-01-27 12:15:59 +00:00
Tpm12DeviceLibTcg SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
TpmCommLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
TrEEPpVendorLibNull SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00