hpm_crc32.h 311 B

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