Added compile-time crc32 implementation

This commit is contained in:
calcium 2024-08-19 20:04:07 -04:00
parent 59740ddeaa
commit 5166947bf0

View File

@ -1,6 +1,8 @@
#ifndef __CAVM_CRC32_COMPILETIME_HPP
#define __CAVM_CRC32_COMPILETIME_HPP
// Source: https://gist.github.com/oktal/5573082
#include <stdlib.h>
#define CRC32 0xFFFFFFFF