Home
last modified time | relevance | path

Searched refs:TPM_RC_FAILURE (Results 1 – 17 of 17) sorted by relevance

/system/tpm/trunks/
Dpolicy_session_test.cc80 .WillRepeatedly(Return(TPM_RC_FAILURE)); in TEST_F()
81 EXPECT_EQ(TPM_RC_FAILURE, session.StartBoundSession(handle, "auth", true)); in TEST_F()
99 .WillRepeatedly(Return(TPM_RC_FAILURE)); in TEST_F()
100 EXPECT_EQ(TPM_RC_FAILURE, session.StartUnboundSession(true)); in TEST_F()
119 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
120 EXPECT_EQ(TPM_RC_FAILURE, session.GetDigest(&digest)); in TEST_F()
153 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
154 EXPECT_EQ(TPM_RC_FAILURE, session.PolicyOR(digests)); in TEST_F()
182 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
183 EXPECT_EQ(TPM_RC_FAILURE, session.PolicyPCR(1, "pcr_digest")); in TEST_F()
[all …]
Dtpm_utility_test.cc71 return TPM_RC_FAILURE; in GetNVRAMMap()
162 .WillRepeatedly(Return(TPM_RC_FAILURE)); in TEST_F()
163 EXPECT_EQ(TPM_RC_FAILURE, utility_.Startup()); in TEST_F()
168 .WillRepeatedly(Return(TPM_RC_FAILURE)); in TEST_F()
169 EXPECT_EQ(TPM_RC_FAILURE, utility_.Startup()); in TEST_F()
185 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
186 EXPECT_EQ(TPM_RC_FAILURE, utility_.Clear()); in TEST_F()
209 .WillRepeatedly(Return(TPM_RC_FAILURE)); in TEST_F()
210 EXPECT_EQ(TPM_RC_FAILURE, utility_.InitializeTpm()); in TEST_F()
217 .WillRepeatedly(Return(TPM_RC_FAILURE)); in TEST_F()
[all …]
Dhmac_session_test.cc83 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
84 EXPECT_EQ(TPM_RC_FAILURE, session.StartBoundSession(bind_entity, "", true)); in TEST_F()
Dsession_manager_test.cc145 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
146 EXPECT_EQ(TPM_RC_FAILURE, session_manager_.StartSession(TPM_SE_TRIAL, in TEST_F()
166 EXPECT_EQ(TPM_RC_FAILURE, session_manager_.StartSession(session_type, in TEST_F()
Dtpm_generated_test.cc132 EXPECT_EQ(TPM_RC_FAILURE, tpm.StartupSync(TPM_SU_CLEAR, &authorization)); in TEST()
342 response_code_ = TPM_RC_FAILURE; in TEST_F()
374 EXPECT_EQ(TPM_RC_FAILURE, response_code_); in TEST_F()
Dsession_manager_impl.cc146 return TPM_RC_FAILURE; in StartSession()
Derror_codes.cc38 case trunks::TPM_RC_FAILURE: return "TPM_RC_FAILURE"; in GetErrorStringInternal()
Dtpm_utility_impl.cc243 return TPM_RC_FAILURE; in AllocatePCR()
356 return TPM_RC_FAILURE; in ExtendPCR()
402 return TPM_RC_FAILURE; in ReadPCR()
Dresource_manager_test.cc430 .WillRepeatedly(Return(CreateErrorResponse(TPM_RC_FAILURE))); in TEST_F()
Dtpm_generated.h621 const TPM_RC TPM_RC_FAILURE = RC_VER1 + 0x001; variable
/system/tpm/tpm_manager/server/
Dtpm2_nvram_test.cc41 using trunks::TPM_RC_FAILURE;
99 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
117 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
141 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
149 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
175 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
187 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
213 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
245 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
266 .WillOnce(Return(TPM_RC_FAILURE)); in TEST_F()
Dtpm2_status_test.cc28 using trunks::TPM_RC_FAILURE;
108 .WillRepeatedly(Return(TPM_RC_FAILURE)); in TEST_F()
Dtpm2_initializer_test.cc64 .WillRepeatedly(Return(trunks::TPM_RC_FAILURE)); in TEST_F()
100 .WillRepeatedly(Return(trunks::TPM_RC_FAILURE)); in TEST_F()
/system/tpm/trunks/generator/
Draw_commands.txt1179 TPM_CC_GetCapability (TPM_RC_FAILURE) and the command tag is TPM_ST_NO_SESSIONS
1180 (TPM_RC_FAILURE).
1195 platform firmware (the CRTM) will issue TPM2_Startup() and receive TPM_RC_FAILURE
2208 Shutdown(STATE), the TPM shall enter Failure Mode and return TPM_RC_FAILURE.
2998 TPM_RC_FAILURE for any command other than TPM2_GetTestResult() and TPM2_GetCapability(). The
3350 testResult will be TPM_RC_SUCCESS. If any test failed, testResult will be TPM_RC_FAILURE. If the
3356 TPM_RC_FAILURE.
5967 return TPM_RC_FAILURE;
30909 TPM_RC_FAILURE.
Draw_commands_fixed.txt1179 TPM_CC_GetCapability (TPM_RC_FAILURE) and the command tag is TPM_ST_NO_SESSIONS
1180 (TPM_RC_FAILURE).
1195 platform firmware (the CRTM) will issue TPM2_Startup() and receive TPM_RC_FAILURE
2208 Shutdown(STATE), the TPM shall enter Failure Mode and return TPM_RC_FAILURE.
2998 TPM_RC_FAILURE for any command other than TPM2_GetTestResult() and TPM2_GetCapability(). The
3350 testResult will be TPM_RC_SUCCESS. If any test failed, testResult will be TPM_RC_FAILURE. If the
3356 TPM_RC_FAILURE.
5969 return TPM_RC_FAILURE;
30920 TPM_RC_FAILURE.
Draw_structures.txt4720 TPM_RC_FAILURE
Draw_structures_fixed.txt4714 TPM_RC_FAILURE