Home
last modified time | relevance | path

Searched refs:session_handle (Results 1 – 12 of 12) sorted by relevance

/system/tpm/attestation/server/
Dpkcs11_key_store.h78 CK_OBJECT_HANDLE FindObject(CK_SESSION_HANDLE session_handle,
88 bool EnumObjects(CK_SESSION_HANDLE session_handle,
93 bool GetKeyName(CK_SESSION_HANDLE session_handle,
100 bool DeleteIfMatchesPrefix(CK_SESSION_HANDLE session_handle,
113 bool DoesCertificateExist(CK_SESSION_HANDLE session_handle,
Dpkcs11_key_store.cc453 CK_OBJECT_HANDLE Pkcs11KeyStore::FindObject(CK_SESSION_HANDLE session_handle, in FindObject() argument
479 if ((C_FindObjectsInit(session_handle, in FindObject()
482 (C_FindObjects(session_handle, &key_handle, 1, &count) != CKR_OK) || in FindObject()
483 (C_FindObjectsFinal(session_handle) != CKR_OK)) { in FindObject()
533 CK_SESSION_HANDLE session_handle, in EnumObjects() argument
554 if ((C_FindObjectsInit(session_handle, in EnumObjects()
557 (C_FindObjects(session_handle, handles, kMaxHandles, &count) != CKR_OK)) { in EnumObjects()
564 if (!GetKeyName(session_handle, handles[i], &key_name)) { in EnumObjects()
571 if (C_FindObjects(session_handle, handles, kMaxHandles, &count) != CKR_OK) { in EnumObjects()
576 if (C_FindObjectsFinal(session_handle) != CKR_OK) { in EnumObjects()
[all …]
/system/tpm/trunks/
Dhmac_authorization_delegate.h83 bool InitSession(TPM_HANDLE session_handle,
109 TPM_HANDLE session_handle() const { in session_handle() function
Dmock_tpm.cc63 TPMI_SH_AUTH_SESSION* session_handle, in StartAuthSessionSync() argument
68 auth_hash, session_handle, nonce_tpm, in StartAuthSessionSync()
111 const TPMI_SH_HMAC& session_handle, in GetSessionAuditDigestSync() argument
119 session_handle, qualifying_data, in GetSessionAuditDigestSync()
Dhmac_authorization_delegate.cc65 auth.session_handle = session_handle_; in GetCommandAuthorization()
211 TPM_HANDLE session_handle, in InitSession() argument
217 session_handle_ = session_handle; in InitSession()
Dpassword_authorization_delegate.cc40 auth.session_handle = TPM_RS_PW; in GetCommandAuthorization()
Dresource_manager.h111 TPM_HANDLE session_handle);
Dresource_manager.cc275 TPM_HANDLE session_handle) { in EnsureSessionIsLoaded() argument
277 if (session_handle == TPM_RS_PW) { in EnsureSessionIsLoaded()
280 auto handle_iter = session_handles_.find(session_handle); in EnsureSessionIsLoaded()
290 VLOG(1) << "RELOAD_SESSION: " << std::hex << session_handle; in EnsureSessionIsLoaded()
Dmock_tpm.h103 TPMI_SH_AUTH_SESSION* session_handle,
114 TPMI_SH_AUTH_SESSION* session_handle,
118 void(const TPMI_SH_POLICY& session_handle,
123 TPM_RC(const TPMI_SH_POLICY& session_handle,
603 const TPMI_SH_HMAC& session_handle,
615 const TPMI_SH_HMAC& session_handle,
625 const TPMI_SH_HMAC& session_handle,
Dhmac_authorization_delegate_test.cc180 EXPECT_EQ(auth_command.session_handle, session_handle_); in TEST_F()
Dtpm_generated.h1213 TPMI_SH_AUTH_SESSION session_handle; member
3824 const TPMI_SH_AUTH_SESSION& session_handle,
3840 TPMI_SH_AUTH_SESSION* session_handle,
3865 TPMI_SH_AUTH_SESSION* session_handle,
3871 const TPMI_SH_POLICY& session_handle,
3879 const TPMI_SH_POLICY& session_handle,
3884 const TPMI_SH_POLICY& session_handle,
4808 const TPMI_SH_HMAC& session_handle,
4824 const TPMI_SH_HMAC& session_handle,
4835 const TPMI_SH_HMAC& session_handle,
Dtpm_generated.cc5103 result = Serialize_TPMI_SH_AUTH_SESSION(value.session_handle, buffer); in Serialize_TPMS_AUTH_COMMAND()
5134 &value->session_handle, in Parse_TPMS_AUTH_COMMAND()
10808 TPMI_SH_AUTH_SESSION* session_handle, in ParseResponse_StartAuthSession() argument
10851 session_handle, in ParseResponse_StartAuthSession()
10939 TPMI_SH_AUTH_SESSION session_handle; in StartAuthSessionResponseParser() local
10943 &session_handle, in StartAuthSessionResponseParser()
10952 session_handle, in StartAuthSessionResponseParser()
11005 TPMI_SH_AUTH_SESSION* session_handle, in StartAuthSessionSync() argument
11028 session_handle, in StartAuthSessionSync()
11035 const TPMI_SH_POLICY& session_handle, in SerializeCommand_PolicyRestart() argument
[all …]