]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Include/Library/BaseLib.h
MdePkg BaseLib: Add new API CalculateCrc32()
authorLiming Gao <liming.gao@intel.com>
Fri, 8 Sep 2017 05:18:24 +0000 (13:18 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 10 Oct 2017 10:10:15 +0000 (18:10 +0800)
commit0a8e6f7971ad778897cacee2be09016d4366a4a1
tree5ad26c1d8039982bec3875dfc4bd1214383aa0b3
parentfda8f631edbbf3823760542a06f12bd60fd39181
MdePkg BaseLib: Add new API CalculateCrc32()

CalculateCrc32() bases on the initialized mCrcTable. When CalculateCrc32()
is used, mCrcTable will take 1KB size in the image. When CalculateCrc32()
is not used, mCrcTable will not be built in the image, and no size impact.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
MdePkg/Include/Library/BaseLib.h
MdePkg/Library/BaseLib/CheckSum.c