Searched refs:checksum (Results 1 – 3 of 3) sorted by relevance
33 uint32_t checksum = 0; in prvPrintDataAsHex() local40 checksum += byte; in prvPrintDataAsHex()64 return checksum; in prvPrintDataAsHex()70 uint32_t checksum; in prvSerialPortUploadEntry() local99 checksum = 0; // Make sure to clear this in prvSerialPortUploadEntry()100 checksum += prvPrintDataAsHex((uint8_t*)dataptr, datalen); in prvSerialPortUploadEntry()
58 uint32_t checksum; in prvSerialPortUploadEntry() local78 checksum = prvPrintDataAsHex(0, (uint8_t*)xEntryHandle, datalen); in prvSerialPortUploadEntry()79 printk("\n[[ DevAlert Data Ended. Checksum: %d ]]\n", checksum); in prvSerialPortUploadEntry()
660 …uint16_t checksum = (uint16_t)0xFFFFU - (uint16_t)(unsigned char)(cmd->cmdCode + /*cstat !MISRAC20… in prvIsValidCommand() local667 …if (cmd->checksumMSB != (unsigned char)(checksum >> 8)) /*cstat !MISRAC2004-6.3 !MISRAC2012-Dir-4.… in prvIsValidCommand()672 …if (cmd->checksumLSB != (unsigned char)(checksum & 0xFFU)) /*cstat !MISRAC2004-6.3 !MISRAC2012-Dir… in prvIsValidCommand()