• Home
  • Raw
  • Download

Lines Matching refs:rsf

239 extern uint32_t ReadSpaceFirmware(RollbackSpaceFirmware *rsf);
240 extern uint32_t WriteSpaceFirmware(RollbackSpaceFirmware *rsf);
244 RollbackSpaceFirmware rsf; in CrcTestFirmware() local
249 TEST_EQ(ReadSpaceFirmware(&rsf), 0, "ReadSpaceFirmware(), v0"); in CrcTestFirmware()
260 TEST_EQ(ReadSpaceFirmware(&rsf), TPM_E_CORRUPTED_STATE, in CrcTestFirmware()
273 TEST_EQ(ReadSpaceFirmware(&rsf), 0, in CrcTestFirmware()
282 Memset(&rsf, 0, sizeof(rsf)); in CrcTestFirmware()
283 TEST_EQ(WriteSpaceFirmware(&rsf), 0, "WriteSpaceFirmware(), v0"); in CrcTestFirmware()
292 Memset(&rsf, 0, sizeof(rsf)); in CrcTestFirmware()
295 TEST_EQ(WriteSpaceFirmware(&rsf), 0, in CrcTestFirmware()
306 Memset(&rsf, 0, sizeof(rsf)); in CrcTestFirmware()
308 TEST_EQ(WriteSpaceFirmware(&rsf), 0, in CrcTestFirmware()
322 Memset(&rsf, 0, sizeof(rsf)); in CrcTestFirmware()
324 TEST_EQ(WriteSpaceFirmware(&rsf), TPM_E_CORRUPTED_STATE, in CrcTestFirmware()
509 RollbackSpaceFirmware rsf; in OneTimeInitTest() local
514 TEST_EQ(OneTimeInitializeTPM(&rsf, &rsk), 0, "OneTimeInitializeTPM()"); in OneTimeInitTest()
546 TEST_EQ(OneTimeInitializeTPM(&rsf, &rsk), 0, "OneTimeInitializeTPM()"); in OneTimeInitTest()
569 TEST_EQ(OneTimeInitializeTPM(&rsf, &rsk), 0, "OneTimeInitializeTPM()"); in OneTimeInitTest()
591 TEST_EQ(OneTimeInitializeTPM(&rsf, &rsk), TPM_E_IOERROR, in OneTimeInitTest()
603 RollbackSpaceFirmware rsf; in SetupTpmTest() local
607 TEST_EQ(SetupTPM(0, 0, 0, &rsf), 0, "SetupTPM()"); in SetupTpmTest()
619 TEST_EQ(SetupTPM(0, 0, 0, &rsf), TPM_E_MUST_REBOOT, in SetupTpmTest()
632 TEST_EQ(SetupTPM(0, 0, 0, &rsf), TPM_E_MUST_REBOOT, in SetupTpmTest()
645 TEST_EQ(SetupTPM(0, 0, 0, &rsf), 0, "SetupTPM() pp cmd"); in SetupTpmTest()
660 TEST_EQ(SetupTPM(0, 0, 0, &rsf), 0, "SetupTPM() no firmware space"); in SetupTpmTest()
685 TEST_EQ(SetupTPM(0, 0, 0, &rsf), TPM_E_CORRUPTED_STATE, in SetupTpmTest()
697 TEST_EQ(SetupTPM(1, 0, 0, &rsf), 0, "SetupTPM() to dev"); in SetupTpmTest()
715 TEST_EQ(SetupTPM(0, 0, 0, &rsf), 0, "SetupTPM() from dev"); in SetupTpmTest()
732 TEST_EQ(SetupTPM(0, 0, 1, &rsf), 0, "SetupTPM() clear owner"); in SetupTpmTest()
747 TEST_EQ(SetupTPM(0, 1, 0, &rsf), 0, "SetupTPM() clear virtual dev"); in SetupTpmTest()
753 SetupTPM(0, 0, 0, &rsf); in SetupTpmTest()
889 RollbackSpaceFirmware rsf; in RollbackKernelTest() local
897 TEST_EQ(SetupTPM(0, 0, 0, &rsf), 0, "SetupTPM()"); in RollbackKernelTest()
959 SetupTPM(0, 0, 0, &rsf); in RollbackKernelTest()