crc-16 IBM, 0x00 not taken in consideration

I did test a crc-16/ibm implementation i found on the net. when I test it with hex byte array it works fine but if I include some 0x00 values, then it doesn’t give the proper result. here is its code unsigned short ComputeCRC16(const unsigned char* buf, unsigned int len) { unsigned short crc = 0;… Read More crc-16 IBM, 0x00 not taken in consideration