洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
264 B

9 months ago
  1. #ifndef LIBAOS_CRC_H
  2. #define LIBAOS_CRC_H
  3. #include <_types/_uintmax_t.h>
  4. #include <_types/_uint64_t.h>
  5. #include <stddef.h>
  6. uint64_t aos_crc64(uint64_t crc, void *buf, size_t len);
  7. uint64_t aos_crc64_combine(uint64_t crc1, uint64_t crc2, uintmax_t len2);
  8. #endif