/* SPDX-License-Identifier: MIT */ typedef unsigned int uint32_t; typedef unsigned char uint8_t; uint32_t crc32(uint8_t *buf, int len);