Home
last modified time | relevance | path

Searched refs:calculateChecksum (Results 1 – 6 of 6) sorted by relevance

/openbmc/entity-manager/test/
H A Dtest_fru-utils.cpp112 EXPECT_EQ(calculateChecksum(data), 0); in TEST()
119 EXPECT_EQ(calculateChecksum(data), 255); in TEST()
126 EXPECT_EQ(calculateChecksum(data), 0); in TEST()
133 EXPECT_EQ(calculateChecksum(data), 1); in TEST()
140 EXPECT_EQ(calculateChecksum(data), 0); in TEST()
147 EXPECT_EQ(calculateChecksum(data), 255); in TEST()
/openbmc/entity-manager/src/
H A Dfru_utils.hpp132 uint8_t calculateChecksum(std::vector<uint8_t>::const_iterator iter,
135 uint8_t calculateChecksum(std::vector<uint8_t>& fruAreaData);
H A Dfru_utils.cpp426 calculateChecksum(fruBytes.begin() + offset, fruBytesIterEndArea); in formatIPMIFRU()
582 uint8_t calculateChecksum(std::vector<uint8_t>::const_iterator iter, in calculateChecksum() function
590 uint8_t calculateChecksum(std::vector<uint8_t>& fruAreaData) in calculateChecksum() function
592 return calculateChecksum(fruAreaData.begin(), fruAreaData.end()); in calculateChecksum()
632 fruData[checksumLoc] = calculateChecksum(finalFRUData); in updateFRUAreaLenAndChecksum()
H A Dfru_device.cpp1264 size_t checksumVal = calculateChecksum(headerFRUData); in updateFRUProperty()
/openbmc/bios-bmc-smm-error-logger/include/
H A Dbuffer.hpp202 uint8_t calculateChecksum(std::span<uint8_t> entry);
/openbmc/intel-ipmi-oem/src/
H A Dmanufacturingcommands.cpp945 static uint8_t calculateChecksum(std::vector<uint8_t>::const_iterator iter, in calculateChecksum() function
984 uint8_t cs = calculateChecksum(readBuf.cbegin(), readBuf.cend()); in readMacFromFru()
1025 calculateChecksum(++writeData.cbegin(), writeData.cend()); in writeMacToFru()