19#include "bootloader_error.h"
28#define BYTES_TO_WORD(bytes) (bytes / 4)
uint32_t boot_crc32_calculate(const uint32_t *buffer, size_t buffer_len)
Calculate a CRC32 on a provided data buffer.
Definition: bootloader_crc32.c:21
BootloaderError boot_crc32_init(void)
Initialize the CRC hardware component.
Definition: bootloader_crc32.c:17
void boot_align_to_32bit_words(uint8_t *buffer, size_t *buffer_len)
Align a provided data buffer to the 4-byte boundary.
Definition: bootloader_crc32.c:25
BootloaderError
Bootloader error definitions.
Definition: bootloader_error.h:28