![]() |
MAX32665 SDK Documentation
0.2
Software Development Kit Overview and API Documentation
|
Macros | |
#define | TPU_CRC32_ETHERNET 0xEDB88320 |
#define | TPU_CRC_CCITT 0x00008408 |
#define | TPU_CRC16 0x0000A001 |
#define | TPU_USBDATA 0x80050000 |
#define | TPU_PARITY 0x00000001 |
Functions | |
void | TPU_CRC_Reset (void) |
Reset the crypto accelerator. | |
void | TPU_CRC_Shutdown (void) |
Shutdown crypto controller. | |
int | TPU_CRC_Config (void) |
Configure crypto CRC operation. More... | |
int | TPU_CRC (const uint8_t *src, uint32_t len, uint32_t poly, uint32_t *crc) |
Test the CRC process. More... | |
int | TPU_Ham_Config (void) |
Configure crypto HAM operation. More... | |
int | TPU_Ham (const uint8_t *src, uint32_t len, uint32_t *ecc) |
Test the CRC process. More... | |
int TPU_CRC_Config | ( | void | ) |
int TPU_CRC | ( | const uint8_t * | src, |
uint32_t | len, | ||
uint32_t | poly, | ||
uint32_t * | crc | ||
) |
src | Pointer to source message |
len | Specifies size of message in bytes |
poly | Selects the crc polynomial |
crc | Pointer to store crc value |
src
; points to null int TPU_Ham_Config | ( | void | ) |
int TPU_Ham | ( | const uint8_t * | src, |
uint32_t | len, | ||
uint32_t * | ecc | ||
) |
src | Pointer to source message |
len | Specifies size of message in bytes |
ecc | Pointer to store ecc value |
src
; points to null