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

/system/tpm/attestation/server/
H A Dpkcs11_key_store_test.cc189 uint64_t object_handle) {
190 std::string label = handles_[object_handle];
191 handles_.erase(object_handle);
200 uint64_t object_handle,
203 std::string label = handles_[object_handle];
226 uint64_t object_handle,
228 values_[handles_[object_handle]] = GetValue(attributes, CKA_VALUE);
187 DestroyObject(const brillo::SecureBlob& isolate, uint64_t session_id, uint64_t object_handle) argument
198 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
224 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.cc285 CK_OBJECT_HANDLE object_handle = CK_INVALID_HANDLE; local
288 &object_handle) != CKR_OK) {
317 &object_handle) != CKR_OK) {
349 &object_handle) != CKR_OK) {
402 CK_OBJECT_HANDLE object_handle = CK_INVALID_HANDLE; local
405 &object_handle) != CKR_OK) {
529 CK_OBJECT_HANDLE object_handle,
532 if (C_GetAttributeValue(session_handle, object_handle, &attribute, 1) !=
539 if (C_GetAttributeValue(session_handle, object_handle, &attribute, 1) !=
550 CK_OBJECT_HANDLE object_handle) {
528 GetKeyName(CK_SESSION_HANDLE session_handle, CK_OBJECT_HANDLE object_handle, std::string* key_name) argument
547 DeleteIfMatchesPrefix(CK_SESSION_HANDLE session_handle, const std::string& key_prefix, const std::string& key_name, CK_OBJECT_HANDLE object_handle) argument
614 CK_OBJECT_HANDLE object_handle = CK_INVALID_HANDLE; local
[all...]
/system/tpm/trunks/
H A Dmock_tpm.cc87 const TPMI_DH_OBJECT& object_handle,
97 sign_handle, object_handle, qualifying_data, creation_hash, in_scheme,
200 TPM_HANDLE* object_handle,
208 object_handle, out_public, creation_data,
84 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
193 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.cc1446 TPM_HANDLE object_handle = 42; local
1452 EXPECT_CALL(mock_tpm_, ReadPublicSync(object_handle, _, _, _, _, _))
1456 .WillOnce(DoAll(SetArgPointee<4>(object_handle), Return(TPM_RC_SUCCESS)));
1458 EXPECT_CALL(mock_tpm_, UnsealSync(object_handle, _, _, _))
H A Dtpm_utility_impl.cc1067 TPM_HANDLE object_handle; local
1070 result = LoadKey(sealed_data, password_delegate.get(), &object_handle);
1076 ScopedKeyHandle sealed_object(factory_, object_handle);
1515 TPM_HANDLE object_handle; local
1540 Make_TPM2B_DATA(""), creation_pcrs, &object_handle, &rsa_public_area,
1547 ScopedKeyHandle rsa_key(factory_, object_handle);
1550 object_handle,
1583 Make_TPM2B_DATA(""), creation_pcrs, &object_handle, &ecc_public_area,
1590 ScopedKeyHandle ecc_key(factory_, object_handle);
1593 object_handle,
[all...]
H A Dtpm_generated.cc9992 TPM_HANDLE* object_handle,
10024 rc = Parse_TPM_HANDLE(&buffer, object_handle, &object_handle_bytes);
10095 TPM_HANDLE object_handle; local
10097 TPM_RC rc = Tpm::ParseResponse_Load(response, &object_handle, &name,
10103 callback.Run(rc, object_handle, name);
10132 TPM_HANDLE* object_handle,
10145 ParseResponse_Load(response, object_handle, name, authorization_delegate);
10248 TPM_HANDLE* object_handle,
10280 rc = Parse_TPM_HANDLE(&buffer, object_handle, &object_handle_bytes);
10351 TPM_HANDLE object_handle; local
9991 ParseResponse_Load(const std::string& response, TPM_HANDLE* object_handle, TPM2B_NAME* name, AuthorizationDelegate* authorization_delegate) argument
10128 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
10246 ParseResponse_LoadExternal( const std::string& response, TPM_HANDLE* object_handle, TPM2B_NAME* name, AuthorizationDelegate* authorization_delegate) argument
10382 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
10401 SerializeCommand_ReadPublic( const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, std::string* serialized_command, AuthorizationDelegate* authorization_delegate) argument
10596 ReadPublic(const TPMI_DH_OBJECT& object_handle, const std::string& object_handle_name, AuthorizationDelegate* authorization_delegate, const ReadPublicResponse& callback) argument
10615 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
11374 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
11584 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
11607 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
11629 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
11863 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
11888 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
16288 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
16512 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
16536 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
16559 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
16802 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
16829 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
25014 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
25145 TPM_HANDLE object_handle; local
25186 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
28806 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
28986 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
29009 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 146 milliseconds