+8
−4
Loading
The previous implementation was broken for crc32 values that had one of its bytes set to zero. Instead of trying to fix that, simply rewrite this function in python, which fixes this issue and also makes it a lot more readable. Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ia9d798682b9d9bf1f509eb5d78fe0846fb545213 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22023 Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
John Kariuki <John.Kariuki@amd.com>