Searched refs:Crc8 (Results 1 – 5 of 5) sorted by relevance
/external/vboot_reference/firmware/lib/ |
D | rollback_index.c | 113 if (rsf->crc8 == Crc8(rsf, in ReadSpaceFirmware() 133 rsf->crc8 = Crc8(rsf, offsetof(RollbackSpaceFirmware, crc8)); in WriteSpaceFirmware() 209 if (rsk->crc8 == Crc8(rsk, offsetof(RollbackSpaceKernel, crc8))) in ReadSpaceKernel() 228 rsk->crc8 = Crc8(rsk, offsetof(RollbackSpaceKernel, crc8)); in WriteSpaceKernel()
|
D | crc8.c | 14 uint8_t Crc8(const void *vptr, int len) in Crc8() function
|
D | vboot_nvstorage.c | 71 || (Crc8(raw, CRC_OFFSET) != raw[CRC_OFFSET])) { in VbNvSetup() 88 context->raw[CRC_OFFSET] = Crc8(context->raw, CRC_OFFSET); in VbNvTeardown()
|
/external/vboot_reference/firmware/lib/include/ |
D | crc8.h | 11 uint8_t Crc8(const void *data, int len);
|
/external/vboot_reference/tests/ |
D | rollback_index2_tests.c | 271 mock_rsf.crc8 = Crc8(&mock_rsf, offsetof(RollbackSpaceFirmware, crc8)); in CrcTestFirmware() 374 mock_rsk.crc8 = Crc8(&mock_rsk, offsetof(RollbackSpaceKernel, crc8)); in CrcTestKernel()
|