Home
last modified time | relevance | path

Searched refs:RollbackSpaceKernel (Results 1 – 3 of 3) sorted by relevance

/external/vboot_reference/firmware/lib/
Drollback_index.c28 uint32_t ReadSpaceKernel(RollbackSpaceKernel *rsk);
29 uint32_t WriteSpaceKernel(RollbackSpaceKernel *rsk);
181 uint32_t ReadSpaceKernel(RollbackSpaceKernel *rsk) in ReadSpaceKernel()
187 r = TlclRead(KERNEL_NV_INDEX, rsk, sizeof(RollbackSpaceKernel)); in ReadSpaceKernel()
209 if (rsk->crc8 == Crc8(rsk, offsetof(RollbackSpaceKernel, crc8))) in ReadSpaceKernel()
219 uint32_t WriteSpaceKernel(RollbackSpaceKernel *rsk) in WriteSpaceKernel()
221 RollbackSpaceKernel rsk2; in WriteSpaceKernel()
228 rsk->crc8 = Crc8(rsk, offsetof(RollbackSpaceKernel, crc8)); in WriteSpaceKernel()
232 sizeof(RollbackSpaceKernel)); in WriteSpaceKernel()
251 RollbackSpaceKernel *rsk) in OneTimeInitializeTPM()
[all …]
/external/vboot_reference/firmware/lib/include/
Drollback_index.h29 typedef struct RollbackSpaceKernel { struct
40 } __attribute__((packed)) RollbackSpaceKernel; argument
173 RollbackSpaceKernel *rsk);
/external/vboot_reference/tests/
Drollback_index2_tests.c55 static RollbackSpaceKernel mock_rsk;
342 extern uint32_t ReadSpaceKernel(RollbackSpaceKernel *rsk);
343 extern uint32_t WriteSpaceKernel(RollbackSpaceKernel *rsk);
347 RollbackSpaceKernel rsk; in CrcTestKernel()
374 mock_rsk.crc8 = Crc8(&mock_rsk, offsetof(RollbackSpaceKernel, crc8)); in CrcTestKernel()
510 RollbackSpaceKernel rsk; in OneTimeInitTest()