]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg/Tpm2CommandLib: add a new function
authorZhang, Qi <qi1.zhang@intel.com>
Tue, 28 Jul 2020 08:20:39 +0000 (16:20 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 28 Jul 2020 09:56:25 +0000 (09:56 +0000)
commit1b0d659e6dc987d27f63da94c9fe3f26ba171d15
tree5e38e76840da380fea19f019f7aeb08898834fc9
parentffde22468e2f0e93b51f97b801e6c7a181088c61
SecurityPkg/Tpm2CommandLib: add a new function

 Tpm2GetCapabilityIsCommandImplemented

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2793

check if the commad is supported by comparing the command code with
command index.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Signed-off-by: Qi Zhang <qi1.zhang@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
SecurityPkg/Include/Library/Tpm2CommandLib.h
SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c