removed >>8 on intel 24-bit CRC result (it is done outside).
This commit is contained in:
@@ -167,7 +167,7 @@ unsigned int crc24a (unsigned char * inptr,
|
||||
return crc;
|
||||
#else
|
||||
return crc32_calc_pclmulqdq(inptr, octetlen, 0,
|
||||
<e_crc24a_pclmulqdq) >> 8;
|
||||
<e_crc24a_pclmulqdq);
|
||||
#endif
|
||||
|
||||
}
|
||||
@@ -201,7 +201,7 @@ unsigned int crc24b (unsigned char * inptr,
|
||||
return crc;
|
||||
#else
|
||||
return crc32_calc_pclmulqdq(inptr, octetlen, 0,
|
||||
<e_crc24b_pclmulqdq) >> 8;
|
||||
<e_crc24b_pclmulqdq);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user