audk/SecurityPkg/Tcg/Tcg2Smm
Jiaxin Wu d5fad2176c SecurityPkg/Tcg: Correct buffer valid check func
For SMM, the SMM Handlers is to validate the buffer outside MMRAM
including the Primary & NonPrimary buffer.

For MM, the MM Handlers do not need to validate the Primary buffer
if it is passed from MmCore through the MmiHandler() parameter.
Return TRUE directly in this case. But need to validate NonPrimary
buffer that outside MMRAM.

Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Hongbin1 Zhang <hongbin1.zhang@intel.com>
Cc: Wei6 Xu <wei6.xu@intel.com>
Cc: Dun Tan <dun.tan@intel.com>
Cc: Yuanhao Xie <yuanhao.xie@intel.com>
2024-07-07 08:40:03 +00:00
..
Tcg2MmDependencyDxe.c SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Tcg2MmDependencyDxe.inf SecurityPkg: Tcg2Smm: Added support for Standalone Mm 2021-03-05 15:25:07 +00:00
Tcg2Smm.c SecurityPkg/Tcg: Correct buffer valid check func 2024-07-07 08:40:03 +00:00
Tcg2Smm.h SecurityPkg/Tcg: Correct buffer valid check func 2024-07-07 08:40:03 +00:00
Tcg2Smm.inf SecurityPkg: Tcg2Smm: Separate Tcg2Smm into 2 modules 2021-03-05 15:25:07 +00:00
Tcg2Smm.uni SecurityPkg/Tcg: Fix various typos 2020-02-10 22:30:07 +00:00
Tcg2SmmExtra.uni
Tcg2StandaloneMm.c SecurityPkg/Tcg: Correct buffer valid check func 2024-07-07 08:40:03 +00:00
Tcg2StandaloneMm.inf SecurityPkg/Tcg2StandaloneMm:Consume gEdkiiTpmInstanceHobGuid 2024-07-02 03:31:31 +00:00
Tcg2TraditionalMm.c SecurityPkg/Tcg: Correct buffer valid check func 2024-07-07 08:40:03 +00:00