Developer Reference for Intel® Integrated Performance Primitives 2018
Computes the CRC24 checksum for the source data buffer.
IppStatus ippsCRC24a_8u(Ipp8u* pSrc, int len, Ipp32u* pCRC24);
IppStatus ippsCRC24b_8u(Ipp8u* pSrc, int len, Ipp32u* pCRC24);
IppStatus ippsCRC24c_8u(Ipp8u* pSrc, int len, Ipp32u* pCRC24);
ippe.h
ippcore.h
ippcore.lib
pSrc |
Pointer to the source data buffer. |
len |
Number of elements in the source data buffer. |
pCRC24 |
Pointer to the checksum value. |
These functions compute the checksum for srcLen elements of the source data buffer pSrc using different polynomials and store it in the pCRC24 respectively.
These functions can be used to compute the accumulated value of the checksum for multiple buffers in the data stream by specifying as an input parameter the checksum value obtained in the preceding function call.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if the pSrc pointer is NULL. |
ippStsSizeErr |
Indicates an error if the length of the source vector is less than or equal to 0. |