diff options
author | Hao Wu <hao.a.wu@intel.com> | 2016-08-17 21:12:57 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-08-22 18:54:29 +0800 |
commit | bce0133b7f0d5583c53fae0e80597568a3c8c411 (patch) | |
tree | 35b6b6d4da0a4757ca147498052bb69e38b07323 /SecurityPkg/Tcg/Tcg2Config | |
parent | 313831d9333d66f311b18c671ae5ae0e755435f1 (diff) | |
download | edk2-bce0133b7f0d5583c53fae0e80597568a3c8c411.tar.gz edk2-bce0133b7f0d5583c53fae0e80597568a3c8c411.tar.bz2 edk2-bce0133b7f0d5583c53fae0e80597568a3c8c411.zip |
SecurityPkg Tcg2: Rename internal API IsZeroBuffer to InternalIsZeroBuffer
Before adding API IsZeroBuffer() in BaseMemoryLib at MdePkg, rename the
internal implementations of IsZeroBuffer() within SecurityPkg/Tcg modules
to avoid breaking bisection.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'SecurityPkg/Tcg/Tcg2Config')
-rw-r--r-- | SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c index db38bd45a3..7a97f6bdc7 100644 --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c @@ -626,7 +626,7 @@ FillBufferWithTCG2EventLogFormat ( @retval FALSE Buffer is not all zero.
**/
BOOLEAN
-IsZeroBuffer (
+InternalIsZeroBuffer (
IN VOID *Buffer,
IN UINTN BufferSize
)
@@ -735,7 +735,7 @@ InstallTcg2ConfigForm ( } else {
TempBuffer[0] = 0;
for (Index = 0; Index < Pcrs.count; Index++) {
- if (!IsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) {
+ if (!InternalIsZeroBuffer (Pcrs.pcrSelections[Index].pcrSelect, Pcrs.pcrSelections[Index].sizeofSelect)) {
AppendBufferWithTpmAlgHash (TempBuffer, sizeof(TempBuffer), Pcrs.pcrSelections[Index].hash);
}
}
|