xref: /aosp_15_r20/external/ltp/include/tst_checksum.h (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright (c) 2018 Oracle and/or its affiliates. All Rights Reserved.
3  */
4 
5 #ifndef TST_CHECKSUM_H__
6 #define TST_CHECKSUM_H__
7 
8 #include <stdint.h>
9 #include <stddef.h>
10 
11 /*
12  * Generates CRC32c checksum.
13  */
14 uint32_t tst_crc32c(uint8_t *buf, size_t buf_len);
15 
16 #endif
17