Searched refs:cm_poly (Results 1 – 6 of 6) sorted by relevance
67 p_crc->cm_poly = 0x107; /* = X^8 + x^2 + x + 1 */ in compute_crc8()95 p_crc->cm_poly = 0x04c11db7; in compute_crc32()
119 p_cm->cm_reg = (p_cm->cm_reg << 1) ^ p_cm->cm_poly;163 r = (r << 1) ^ p_cm->cm_poly;
140 uint32_t cm_poly; /* Parameter: The algorithm's polynomial. */ member
65 p_crc->cm_poly = 0x107; /* = X^8 + x^2 + x + 1 */ in compute_crc8()93 p_crc->cm_poly = 0x04c11db7; in compute_crc32()
118 p_cm->cm_reg = (p_cm->cm_reg << 1) ^ p_cm->cm_poly;162 r = (r << 1) ^ p_cm->cm_poly;
139 uint32_t cm_poly; /* Parameter: The algorithm's polynomial. */ member