I know that to find an error in signal we have to divide given signal with given polynomial and if 0 remains there is no error. But if I have received signal: 0000 0101 0101 0000 1010 0101 and polynomial 10001000000100001(CRC-CCITT) how do I Xor them:
1010101000010100101 (signal without zeroes)
XOR
10001000000100001
Or
000001010101000010100101 (original signal)
XOR
10001000000100001
Also do I remove beginning 0 from signal or leave them ? Thanks in advance