Lines Matching full:crc
353 uint32_t i, j, k, crc; in wep_encrypt() local
379 crc = ~0; in wep_encrypt()
388 crc = crc32_table[(crc ^ *pos) & 0xff] ^ (crc >> 8); in wep_encrypt()
410 crc = ~crc; in wep_encrypt()
413 icv[0] = crc; in wep_encrypt()
414 icv[1] = crc >> 8; in wep_encrypt()
415 icv[2] = crc >> 16; in wep_encrypt()
416 icv[3] = crc >> 24; in wep_encrypt()
436 uint32_t i, j, k, crc; in wep_decrypt() local
462 crc = ~0; in wep_decrypt()
475 crc = crc32_table[(crc ^ *pos) & 0xff] ^ (crc >> 8); in wep_decrypt()
492 crc = ~crc; in wep_decrypt()
496 icv[0] = crc; in wep_decrypt()
497 icv[1] = crc >> 8; in wep_decrypt()
498 icv[2] = crc >> 16; in wep_decrypt()
499 icv[3] = crc >> 24; in wep_decrypt()