1 /* 2 * Copyright (c) 2023, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * 6 */ 7 8 #ifndef __SOFT_CRC_H__ 9 #define __SOFT_CRC_H__ 10 11 #include <stddef.h> 12 #include <stdint.h> 13 14 /* Calculate crc32 */ 15 uint32_t crc32(const void *buf, size_t len); 16 17 #endif /* __SOFT_CRC_H__ */ 18 19