60 #define TPU_CRC32_ETHERNET 0xEDB88320 61 #define TPU_CRC_CCITT 0x00008408 62 #define TPU_CRC16 0x0000A001 63 #define TPU_USBDATA 0x80050000 64 #define TPU_PARITY 0x00000001 98 int TPU_CRC(
const uint8_t *src, uint32_t len, uint32_t poly, uint32_t *crc);
114 int TPU_Ham(
const uint8_t *src, uint32_t len, uint32_t *ecc);
int TPU_Ham(const uint8_t *src, uint32_t len, uint32_t *ecc)
Test the CRC process.
int TPU_CRC_Config(void)
Configure crypto CRC operation.
void TPU_CRC_Shutdown(void)
Shutdown crypto controller.
int TPU_CRC(const uint8_t *src, uint32_t len, uint32_t poly, uint32_t *crc)
Test the CRC process.
void TPU_CRC_Reset(void)
Reset the crypto accelerator.
int TPU_Ham_Config(void)
Configure crypto HAM operation.