CRYPTO-C
v1.1.3
C/C++ Documentation
crc32.h
Go to the documentation of this file.
1
18
/* include guard */
19
#ifndef CRYPTO_CRC32_H
20
#define CRYPTO_CRC32_H
21
22
23
#include "
utildev.h
"
24
25
#define CRC32LEN 4
27
/* C/C++ compatible function prototypes */
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
32
uint32_t
crc32
(
void
*in,
size_t
inlen);
33
34
/* CUDA testing functions */
35
#ifdef CUDA
36
void
test_kcu_crc32(
const
void
*in,
size_t
*inlen,
size_t
max_inlen,
37
uint32_t *ret,
int
num);
38
#endif
39
40
/* end extern "C" {} for C++ */
41
#ifdef __cplusplus
42
}
43
#endif
44
45
/* end include guard */
46
#endif
crc32
uint32_t crc32(void *in, size_t inlen)
Compute CRC32 on inlen bytes of in.
Definition:
crc32.c:21
utildev.h
Device utilities and includes support.
src
crc32.h
Generated by
1.9.3