1 /* 2 * Copyright (c) 2023 HPMicro 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * 6 */ 7 8 #ifndef _HPM_CRC32_H 9 #define _HPM_CRC32_H 10 11 #include <stdint.h> 12 #ifdef __cplusplus 13 extern "C" { 14 #endif /* __cplusplus */ 15 16 uint32_t crc32(const uint8_t *buf, uint32_t len); 17 18 #ifdef __cplusplus 19 } 20 #endif /* __cplusplus */ 21 #endif