Lines Matching refs:rsk
342 extern uint32_t ReadSpaceKernel(RollbackSpaceKernel *rsk);
343 extern uint32_t WriteSpaceKernel(RollbackSpaceKernel *rsk);
347 RollbackSpaceKernel rsk; in CrcTestKernel() local
352 TEST_EQ(ReadSpaceKernel(&rsk), 0, "ReadSpaceKernel(), v0"); in CrcTestKernel()
363 TEST_EQ(ReadSpaceKernel(&rsk), TPM_E_CORRUPTED_STATE, in CrcTestKernel()
376 TEST_EQ(ReadSpaceKernel(&rsk), 0, "ReadSpaceKernel(), v2, good CRC"); in CrcTestKernel()
384 Memset(&rsk, 0, sizeof(rsk)); in CrcTestKernel()
385 TEST_EQ(WriteSpaceKernel(&rsk), 0, "WriteSpaceKernel(), v0"); in CrcTestKernel()
394 Memset(&rsk, 0, sizeof(rsk)); in CrcTestKernel()
397 TEST_EQ(WriteSpaceKernel(&rsk), 0, "WriteSpaceKernel(), read noise"); in CrcTestKernel()
407 Memset(&rsk, 0, sizeof(rsk)); in CrcTestKernel()
409 TEST_EQ(WriteSpaceKernel(&rsk), 0, "WriteSpaceKernel(), write noise"); in CrcTestKernel()
422 Memset(&rsk, 0, sizeof(rsk)); in CrcTestKernel()
424 TEST_EQ(WriteSpaceKernel(&rsk), TPM_E_CORRUPTED_STATE, in CrcTestKernel()
510 RollbackSpaceKernel rsk; 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()