Searched defs:object_handle (Results 1 - 6 of 6) sorted by relevance

/system/tpm/attestation/server/
H A Dpkcs11_key_store_test.cc193 uint64_t object_handle) {
194 std::string label = handles_[object_handle];
195 handles_.erase(object_handle);
204 uint64_t object_handle,
207 std::string label = handles_[object_handle];
231 uint64_t object_handle,
233 values_[handles_[object_handle]] = GetValue(attributes, CKA_VALUE);
191 DestroyObject(const brillo::SecureBlob& isolate, uint64_t session_id, uint64_t object_handle) argument
202 GetAttributeValue(const brillo::SecureBlob& isolate, uint64_t session_id, uint64_t object_handle, const std::vector<uint8_t>& attributes_in, std::vector<uint8_t>* attributes_out) argument
228 SetAttributeValue( const brillo::SecureBlob& isolate, uint64_t session_id, uint64_t object_handle, const std::vector<uint8_t>& attributes) argument
H A Dpkcs11_key_store.cc308 CK_OBJECT_HANDLE object_handle = CK_INVALID_HANDLE; local
312 &object_handle) != CKR_OK) {
346 &object_handle) != CKR_OK) {
386 &object_handle) != CKR_OK) {
442 CK_OBJECT_HANDLE object_handle = CK_INVALID_HANDLE; local
446 &object_handle) != CKR_OK) {
583 CK_OBJECT_HANDLE object_handle,
586 if (C_GetAttributeValue(session_handle, object_handle, &attribute, 1) !=
593 if (C_GetAttributeValue(session_handle, object_handle, &attribute, 1) !=
604 CK_OBJECT_HANDLE object_handle) {
582 GetKeyName(CK_SESSION_HANDLE session_handle, CK_OBJECT_HANDLE object_handle, std::string* key_name) argument
601 DeleteIfMatchesPrefix(CK_SESSION_HANDLE session_handle, const std::string& key_prefix, const std::string& key_name, CK_OBJECT_HANDLE object_handle) argument
673 CK_OBJECT_HANDLE object_handle = CK_INVALID_HANDLE; local
[all...]
/system/tpm/trunks/
H A Dmock_tpm.cc92 const TPMI_DH_OBJECT& object_handle,
101 return CertifyCreationSyncShort(sign_handle, object_handle,
209 TPM_HANDLE* object_handle,
217 object_handle, out_public, creation_data,
89 CertifyCreationSync( const TPMI_DH_OBJECT& sign_handle, const std::string& sign_handle_name, const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPM2B_DATA& qualifying_data, const TPM2B_DIGEST& creation_hash, const TPMT_SIG_SCHEME& in_scheme, const TPMT_TK_CREATION& creation_ticket, TPM2B_ATTEST* certify_info, TPMT_SIGNATURE* signature, AuthorizationDelegate* authorization_delegate) argument
202 CreatePrimarySync( const TPMI_RH_HIERARCHY& primary_handle, const std::string& primary_handle_name, const TPM2B_SENSITIVE_CREATE& in_sensitive, const TPM2B_PUBLIC& in_public, const TPM2B_DATA& outside_info, const TPML_PCR_SELECTION& creation_pcr, TPM_HANDLE* object_handle, TPM2B_PUBLIC* out_public, TPM2B_CREATION_DATA* creation_data, TPM2B_DIGEST* creation_hash, TPMT_TK_CREATION* creation_ticket, TPM2B_NAME* name, AuthorizationDelegate* authorization_delegate) argument
H A Dtpm_utility_test.cc1574 TPM_HANDLE object_handle = 42; local
1580 EXPECT_CALL(mock_tpm_, ReadPublicSync(object_handle, _, _, _, _, _))
1584 .WillOnce(DoAll(SetArgPointee<4>(object_handle),
1587 EXPECT_CALL(mock_tpm_, UnsealSync(object_handle, _, _, _))
H A Dtpm_utility_impl.cc1107 TPM_HANDLE object_handle; local
1110 result = LoadKey(sealed_data, password_delegate.get(), &object_handle);
1115 ScopedKeyHandle sealed_object(factory_, object_handle);
1499 TPM_HANDLE object_handle; local
1528 &object_handle,
1539 ScopedKeyHandle rsa_key(factory_, object_handle);
1543 object_handle,
1581 &object_handle,
1592 ScopedKeyHandle ecc_key(factory_, object_handle);
1596 object_handle,
[all...]
H A Dtpm_generated.cc11800 TPM_HANDLE* object_handle,
11843 object_handle,
11931 TPM_HANDLE object_handle; local
11935 &object_handle,
11944 object_handle,
11982 TPM_HANDLE* object_handle,
12000 object_handle,
12126 TPM_HANDLE* object_handle,
12169 object_handle,
12257 TPM_HANDLE object_handle; local
11798 ParseResponse_Load( const std::string& response, TPM_HANDLE* object_handle, TPM2B_NAME* name, AuthorizationDelegate* authorization_delegate) argument
11977 LoadSync( const TPMI_DH_OBJECT& parent_handle, const std::string& parent_handle_name, const TPM2B_PRIVATE& in_private, const TPM2B_PUBLIC& in_public, TPM_HANDLE* object_handle, TPM2B_NAME* name, AuthorizationDelegate* authorization_delegate) argument
12124 ParseResponse_LoadExternal( const std::string& response, TPM_HANDLE* object_handle, TPM2B_NAME* name, AuthorizationDelegate* authorization_delegate) argument
12301 LoadExternalSync( const TPM2B_SENSITIVE& in_private, const TPM2B_PUBLIC& in_public, const TPMI_RH_HIERARCHY& hierarchy, TPM_HANDLE* object_handle, TPM2B_NAME* name, AuthorizationDelegate* authorization_delegate) argument
12328 SerializeCommand_ReadPublic( const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, std::string* serialized_command, AuthorizationDelegate* authorization_delegate) argument
12578 ReadPublic( const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, AuthorizationDelegate* authorization_delegate, const ReadPublicResponse& callback) argument
12603 ReadPublicSync( const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, TPM2B_PUBLIC* out_public, TPM2B_NAME* name, TPM2B_NAME* qualified_name, AuthorizationDelegate* authorization_delegate) argument
13562 SerializeCommand_ObjectChangeAuth( const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPMI_DH_OBJECT& parent_handle, const std::string& parent_handle_name, const TPM2B_AUTH& new_auth, std::string* serialized_command, AuthorizationDelegate* authorization_delegate) argument
13819 ObjectChangeAuth( const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPMI_DH_OBJECT& parent_handle, const std::string& parent_handle_name, const TPM2B_AUTH& new_auth, AuthorizationDelegate* authorization_delegate, const ObjectChangeAuthResponse& callback) argument
13850 ObjectChangeAuthSync( const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPMI_DH_OBJECT& parent_handle, const std::string& parent_handle_name, const TPM2B_AUTH& new_auth, TPM2B_PRIVATE* out_private, AuthorizationDelegate* authorization_delegate) argument
13879 SerializeCommand_Duplicate( const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPMI_DH_OBJECT& new_parent_handle, const std::string& new_parent_handle_name, const TPM2B_DATA& encryption_key_in, const TPMT_SYM_DEF_OBJECT& symmetric_alg, std::string* serialized_command, AuthorizationDelegate* authorization_delegate) argument
14174 Duplicate( const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPMI_DH_OBJECT& new_parent_handle, const std::string& new_parent_handle_name, const TPM2B_DATA& encryption_key_in, const TPMT_SYM_DEF_OBJECT& symmetric_alg, AuthorizationDelegate* authorization_delegate, const DuplicateResponse& callback) argument
14207 DuplicateSync( const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPMI_DH_OBJECT& new_parent_handle, const std::string& new_parent_handle_name, const TPM2B_DATA& encryption_key_in, const TPMT_SYM_DEF_OBJECT& symmetric_alg, TPM2B_DATA* encryption_key_out, TPM2B_PRIVATE* duplicate, TPM2B_ENCRYPTED_SECRET* out_sym_seed, AuthorizationDelegate* authorization_delegate) argument
19775 SerializeCommand_Certify( const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPMI_DH_OBJECT& sign_handle, const std::string& sign_handle_name, const TPM2B_DATA& qualifying_data, const TPMT_SIG_SCHEME& in_scheme, std::string* serialized_command, AuthorizationDelegate* authorization_delegate) argument
20057 Certify( const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPMI_DH_OBJECT& sign_handle, const std::string& sign_handle_name, const TPM2B_DATA& qualifying_data, const TPMT_SIG_SCHEME& in_scheme, AuthorizationDelegate* authorization_delegate, const CertifyResponse& callback) argument
20090 CertifySync( const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPMI_DH_OBJECT& sign_handle, const std::string& sign_handle_name, const TPM2B_DATA& qualifying_data, const TPMT_SIG_SCHEME& in_scheme, TPM2B_ATTEST* certify_info, TPMT_SIGNATURE* signature, AuthorizationDelegate* authorization_delegate) argument
20123 SerializeCommand_CertifyCreation( const TPMI_DH_OBJECT& sign_handle, const std::string& sign_handle_name, const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPM2B_DATA& qualifying_data, const TPM2B_DIGEST& creation_hash, const TPMT_SIG_SCHEME& in_scheme, const TPMT_TK_CREATION& creation_ticket, std::string* serialized_command, AuthorizationDelegate* authorization_delegate) argument
20429 CertifyCreation( const TPMI_DH_OBJECT& sign_handle, const std::string& sign_handle_name, const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPM2B_DATA& qualifying_data, const TPM2B_DIGEST& creation_hash, const TPMT_SIG_SCHEME& in_scheme, const TPMT_TK_CREATION& creation_ticket, AuthorizationDelegate* authorization_delegate, const CertifyCreationResponse& callback) argument
20466 CertifyCreationSync( const TPMI_DH_OBJECT& sign_handle, const std::string& sign_handle_name, const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPM2B_DATA& qualifying_data, const TPM2B_DIGEST& creation_hash, const TPMT_SIG_SCHEME& in_scheme, const TPMT_TK_CREATION& creation_ticket, TPM2B_ATTEST* certify_info, TPMT_SIGNATURE* signature, AuthorizationDelegate* authorization_delegate) argument
30756 ParseResponse_CreatePrimary( const std::string& response, TPM_HANDLE* object_handle, TPM2B_PUBLIC* out_public, TPM2B_CREATION_DATA* creation_data, TPM2B_DIGEST* creation_hash, TPMT_TK_CREATION* creation_ticket, TPM2B_NAME* name, AuthorizationDelegate* authorization_delegate) argument
30929 TPM_HANDLE object_handle; local
30991 CreatePrimarySync( const TPMI_RH_HIERARCHY& primary_handle, const std::string& primary_handle_name, const TPM2B_SENSITIVE_CREATE& in_sensitive, const TPM2B_PUBLIC& in_public, const TPM2B_DATA& outside_info, const TPML_PCR_SELECTION& creation_pcr, TPM_HANDLE* object_handle, TPM2B_PUBLIC* out_public, TPM2B_CREATION_DATA* creation_data, TPM2B_DIGEST* creation_hash, TPMT_TK_CREATION* creation_ticket, TPM2B_NAME* name, AuthorizationDelegate* authorization_delegate) argument
35477 SerializeCommand_EvictControl( const TPMI_RH_PROVISION& auth, const std::string& auth_name, const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPMI_DH_PERSISTENT& persistent_handle, std::string* serialized_command, AuthorizationDelegate* authorization_delegate) argument
35697 EvictControl( const TPMI_RH_PROVISION& auth, const std::string& auth_name, const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPMI_DH_PERSISTENT& persistent_handle, AuthorizationDelegate* authorization_delegate, const EvictControlResponse& callback) argument
35728 EvictControlSync( const TPMI_RH_PROVISION& auth, const std::string& auth_name, const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, const TPMI_DH_PERSISTENT& persistent_handle, AuthorizationDelegate* authorization_delegate) argument
[all...]

Completed in 190 milliseconds