diff options
author | Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hpe.com> | 2016-04-29 04:24:04 +0800 |
---|---|---|
committer | Zhang, Chao B <chao.b.zhang@intel.com> | 2016-05-03 10:10:58 +0800 |
commit | 8b1331df8b303b296c85883935caf84561f54e37 (patch) | |
tree | c4625e50465a64686d6df58a651a188b8ed9fca1 /SecurityPkg/Tcg | |
parent | fd338d8bd75034fd4fd35c9b326e9829c835c84f (diff) | |
download | edk2-platforms-8b1331df8b303b296c85883935caf84561f54e37.tar.xz |
SecurityPkg: Fix TPM 1.2 NV Storage Command Size byte order
Fix Tpm12NvWriteValue() command/response length byte order.
Tpm12SubmitCommand() was using the value from Command.Hdr.paramSize
which was swapped to be Big Endian, but the function was
expecting it in UINT32 Little Endian
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <elhaj@hpe.com>
Signed-off-by: Derek Lin <derek.lin2@hpe.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Diffstat (limited to 'SecurityPkg/Tcg')
0 files changed, 0 insertions, 0 deletions