CRC checking, generating CRC