Home
last modified time | relevance | path

Searched refs:Crc8 (Results 1 – 5 of 5) sorted by relevance

/external/vboot_reference/firmware/lib/
Drollback_index.c113 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()
Dcrc8.c14 uint8_t Crc8(const void *vptr, int len) in Crc8() function
Dvboot_nvstorage.c71 || (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/
Dcrc8.h11 uint8_t Crc8(const void *data, int len);
/external/vboot_reference/tests/
Drollback_index2_tests.c271 mock_rsf.crc8 = Crc8(&mock_rsf, offsetof(RollbackSpaceFirmware, crc8)); in CrcTestFirmware()
374 mock_rsk.crc8 = Crc8(&mock_rsk, offsetof(RollbackSpaceKernel, crc8)); in CrcTestKernel()