Problem with CRC calculation

No, it's your shift_left function :rofl: