Lines Matching refs:p_crc
58 p_cm_t p_crc;
62 p_crc = &crc_mdl;
64 p_crc->cm_width = 8;
65 p_crc->cm_poly = 0x107; /* = X^8 + x^2 + x + 1 */
66 p_crc->cm_init = 0;
67 p_crc->cm_refin = TRUE;
68 p_crc->cm_refot = TRUE;
69 p_crc->cm_xorot = 0;
71 cm_ini(p_crc);
74 cm_nxt(p_crc, bytes[i]);
77 aCRC = (unsigned char)cm_crc(p_crc);
86 p_cm_t p_crc;
90 p_crc = &crc_mdl;
92 p_crc->cm_width = 32;
93 p_crc->cm_poly = 0x04c11db7;
94 p_crc->cm_init = 0xffffffff;
95 p_crc->cm_refin = TRUE;
96 p_crc->cm_refot = TRUE;
97 p_crc->cm_xorot = 0xffffffff;
99 cm_ini(p_crc);
102 cm_nxt(p_crc, bytes[i]);
105 aCRC = (uint32_t)cm_crc(p_crc);