Searched defs:uCRC32 (Results 1 - 5 of 5) sorted by relevance

/vbox/include/iprt/
H A Dcrc.h63 * @param uCRC32 Current CRC-32 intermediate value.
67 RTDECL(uint32_t) RTCrc32Process(uint32_t uCRC32, const void *pv, size_t cb);
73 * @param uCRC32 Current CRC-32 intermediate value.
75 RTDECL(uint32_t) RTCrc32Finish(uint32_t uCRC32); variable
188 * @param uCRC32 Current CRC-32 intermediate value.
190 RTDECL(uint32_t) RTCrc32CFinish(uint32_t uCRC32); variable
/vbox/src/VBox/Runtime/common/checksum/
H A Dcrc32.cpp156 uint32_t uCRC32 = ~0U; local
158 uCRC32 = g_au32CRC32[(uCRC32 ^ *pu8++) & 0xff] ^ (uCRC32 >> 8);
159 return uCRC32 ^ ~0U;
171 RTDECL(uint32_t) RTCrc32Process(uint32_t uCRC32, const void *pv, size_t cb) argument
175 uCRC32 = g_au32CRC32[(uCRC32 ^ *pu8++) & 0xff] ^ (uCRC32 >> 8);
176 return uCRC32;
181 RTCrc32Finish(uint32_t uCRC32) argument
[all...]
H A Dcrc32-zlib.cpp41 static uint32_t rtCrc32ProcessTooBig(uint32_t uCRC32, const void *pv, size_t cb) argument
47 uCRC32 = crc32(uCRC32, pb, cbChunk);
51 return uCRC32;
73 RTDECL(uint32_t) RTCrc32Process(uint32_t uCRC32, const void *pv, size_t cb) argument
76 uCRC32 = crc32(uCRC32, (const Bytef *)pv, (uInt)cb);
78 uCRC32 = rtCrc32ProcessTooBig(uCRC32, pv, cb);
79 return uCRC32;
84 RTCrc32Finish(uint32_t uCRC32) argument
[all...]
H A Dcrc32c.cpp100 RTDECL(uint32_t) RTCrc32CFinish(uint32_t uCRC32) argument
102 return uCRC32 ^ ~0U;
/vbox/src/VBox/Runtime/testcase/
H A DtstRTDigest.cpp303 uint32_t uCRC32 = RTCrc32Start(); local
309 uCRC32 = RTCrc32Process(uCRC32, abBuf, cbRead);
311 uCRC32 = RTCrc32Finish(uCRC32);
312 RTStrPrintf(pszDigest, sizeof(abBuf), "%08RX32", uCRC32);

Completed in 68 milliseconds