Home
last modified time | relevance | path

Searched refs:session_handle_ (Results 1 – 6 of 6) sorted by relevance

/system/tpm/trunks/
Dsession_manager_impl.cc53 session_handle_(kUninitializedHandle) { in SessionManagerImpl()
62 if (session_handle_ == kUninitializedHandle) { in CloseSession()
65 TPM_RC result = factory_.GetTpm()->FlushContextSync(session_handle_, nullptr); in CloseSession()
69 session_handle_ = kUninitializedHandle; in CloseSession()
129 &session_handle_, in StartSession()
138 session_handle_, in StartSession()
Dhmac_authorization_delegate.cc43 : session_handle_(0), in HmacAuthorizationDelegate()
59 if (!session_handle_) { in GetCommandAuthorization()
65 auth.session_handle = session_handle_; in GetCommandAuthorization()
112 if (!session_handle_) { in CheckResponseAuthorization()
173 if (!session_handle_) { in EncryptCommandParameter()
194 if (!session_handle_) { in DecryptResponseParameter()
217 session_handle_ = session_handle; in InitSession()
318 CHECK(session_handle_); in RegenerateCallerNonce()
Dsession_manager_impl.h40 TPM_HANDLE GetSessionHandle() const override { return session_handle_; } in GetSessionHandle()
63 TPM_HANDLE session_handle_; variable
Dhmac_authorization_delegate_test.cc98 session_handle_ = HMAC_SESSION_FIRST; in SetUp()
101 ASSERT_TRUE(delegate_.InitSession(session_handle_, in SetUp()
110 TPM_HANDLE session_handle_; member in trunks::HmacAuthorizationDelegateFixture
116 ASSERT_TRUE(delegate_.InitSession(session_handle_, in TEST_F()
180 EXPECT_EQ(auth_command.session_handle, session_handle_); in TEST_F()
231 ASSERT_TRUE(delegate_.InitSession(session_handle_, in TEST_F()
Dhmac_authorization_delegate.h110 return session_handle_; in session_handle()
145 TPM_HANDLE session_handle_; variable
Dsession_manager_test.cc52 session_manager_.session_handle_ = handle; in SetHandle()