![]() |
CRYPTO-C v1.1.3
C/C++ Documentation
|
#include "crc16.h"
CRC16 CUDA hash function support.
Param | Value |
---|---|
Alias | "XMODEM", "ZMODEM", "CRC-16/ACORN" |
Check | 0x31c3 (crc16 of "123456789") |
Poly | 0x1021 |
Init | 0x0000 |
RefIn | false |
RefOut | false |
XorOut | 0x0000 |
Functions | |
__device__ uint16_t | cu_crc16 (void *in, size_t inlen) |
Compute CRC16 on inlen bytes of in. More... | |
__device__ uint16_t cu_crc16 | ( | void * | in, |
size_t | inlen | ||
) |
Compute CRC16 on inlen bytes of in.
in | Pointer to data to hash |
inlen | Length in bytes of in data |
16-bit CRC table