audk/SecurityPkg
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
..
Application/RngTest SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Hash2DxeCrypto SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Include SecurityPkg/Tpm12CommandLib.h: Add TPM 1.2 commands used by TCG modules 2016-01-21 19:29:56 +00:00
Library SecurityPkg: Correct data copy in Tpm2NvReadPublic. 2016-01-27 12:16:47 +00:00
Pkcs7Verify/Pkcs7VerifyDxe SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
RandomNumberGenerator/RngDxe SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tcg SecurityPkg: Add TPM PTP support in TCG2 Config. 2016-01-26 01:30:55 +00:00
UserIdentification SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
VariableAuthenticated SecurityPkg: SecureBootConfigDxe: Fix potential NULL pointer dereference 2016-01-27 02:46:51 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
SecurityPkg.dec SecurityPkg: TcgDxe,Tcg2Dxe,TrEEDxe: New PCD for TCG event log and TCG2 final event log area 2016-01-12 00:37:02 +00:00
SecurityPkg.dsc SecurityPkg: Add NOOPT target in SecurityPkg.dsc 2016-01-19 04:07:17 +00:00
SecurityPkg.uni SecurityPkg: TcgDxe,Tcg2Dxe,TrEEDxe: New PCD for TCG event log and TCG2 final event log area 2016-01-12 00:37:02 +00:00
SecurityPkgExtra.uni SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00