Home
last modified time | relevance | path

Searched refs:calcChecksum (Results 1 – 4 of 4) sorted by relevance

/openbmc/openpower-occ-control/
H A Docc_command.cpp200 uint16_t calcChecksum = 0; in send() local
203 calcChecksum += response[index]; in send()
205 if (calcChecksum != rspChecksum) in send()
210 calcChecksum); in send()
/openbmc/intel-ipmi-oem/src/
H A Dbiosconfigcommands.cpp277 boost::crc_32_type& calcChecksum) in computeCheckSum() argument
305 calcChecksum.process_bytes(payloadBuffer.get(), readCount); in computeCheckSum()
312 boost::crc_32_type calcChecksum; in updatePayloadInfo() local
317 if (!computeCheckSum(payloadFilePath, calcChecksum)) in updatePayloadInfo()
330 payloadInfo.payloadTotalChecksum = calcChecksum.checksum(); in updatePayloadInfo()
771 boost::crc_32_type calcChecksum; in ipmiOEMSetPayload() local
772 calcChecksum.process_bytes(data + 16, payload.size() - 16); in ipmiOEMSetPayload()
773 if (calcChecksum.checksum() != in ipmiOEMSetPayload()
1040 boost::crc_32_type calcChecksum; in ipmiOEMGetPayload() local
1041 calcChecksum.process_bytes( in ipmiOEMGetPayload()
[all …]
H A Dsmbiosmdrv2handler.cpp791 uint32_t calcChecksum = mdrv2->calcChecksum32(sourceAddr, xferLength); in mdr2SendDataBlock() local
792 if (calcChecksum != checksum) in mdr2SendDataBlock()
/openbmc/pldm/fw-update/
H A Dpackage_parser.cpp278 auto calcChecksum = crc32(pkgHdr.data(), offset); in parse() local
282 if (calcChecksum != checksum) in parse()
286 "CALCULATED_CHECKSUM", calcChecksum, "PACKAGE_HEADER_CHECKSUM", in parse()