Searched refs:trunks (Results 1 - 25 of 101) sorted by relevance

12345

/system/tpm/trunks/
H A Derror_codes.cc17 #include "trunks/error_codes.h"
27 const trunks::TPM_RC kFormatOneErrorMask = 0x0BF;
29 const trunks::TPM_RC kFormatOneSubjectMask = 0x700;
30 const trunks::TPM_RC kLayerMask = 0xFFFFF000;
33 std::string GetErrorStringInternal(trunks::TPM_RC error) {
35 case trunks::TPM_RC_SUCCESS:
37 case trunks::TPM_RC_BAD_TAG:
39 case trunks::TPM_RC_INITIALIZE:
41 case trunks::TPM_RC_FAILURE:
43 case trunks
310 namespace trunks { namespace
[all...]
H A Dmock_authorization_delegate.cc17 #include "trunks/mock_authorization_delegate.h"
19 namespace trunks { namespace
24 } // namespace trunks
H A Dmock_command_transceiver.cc17 #include "trunks/mock_command_transceiver.h"
19 namespace trunks { namespace
24 } // namespace trunks
H A Dmock_hmac_session.cc17 #include "trunks/mock_hmac_session.h"
19 namespace trunks { namespace
24 } // namespace trunks
H A Dmock_policy_session.cc17 #include "trunks/mock_policy_session.h"
19 namespace trunks { namespace
24 } // namespace trunks
H A Dmock_tpm_utility.cc17 #include "trunks/mock_tpm_utility.h"
19 namespace trunks { namespace
24 } // namespace trunks
H A Dbinder_interface.h20 namespace trunks { namespace
24 }; // namespace trunks
H A Dmock_session_manager.cc17 #include "trunks/mock_session_manager.h"
19 #include "trunks/tpm_generated.h"
21 namespace trunks { namespace
30 } // namespace trunks
H A Ddbus_interface.h20 namespace trunks { namespace
32 // Methods exported by trunks.
35 }; // namespace trunks
H A Dtrunks_binder_proxy.cc17 #include "trunks/trunks_binder_proxy.h"
25 #include "android/trunks/BnTrunksClient.h"
26 #include "android/trunks/BpTrunks.h"
27 #include "trunks/binder_interface.h"
28 #include "trunks/error_codes.h"
34 class ResponseObserver : public android::trunks::BnTrunksClient {
37 const trunks::CommandTransceiver::ResponseCallback& callback)
43 trunks::SendCommandResponse response_proto;
48 trunks::CreateErrorResponse(trunks
60 namespace trunks { namespace
[all...]
H A Dsession_manager.h22 #include "trunks/hmac_authorization_delegate.h"
23 #include "trunks/tpm_generated.h"
24 #include "trunks/trunks_export.h"
26 namespace trunks { namespace
28 const trunks::TPM_HANDLE kUninitializedHandle = 0;
70 } // namespace trunks
H A Dtrunksd.cc27 #include "trunks/background_command_transceiver.h"
28 #include "trunks/resource_manager.h"
29 #include "trunks/tpm_handle.h"
30 #include "trunks/tpm_simulator_handle.h"
32 #include "trunks/trunks_binder_service.h"
34 #include "trunks/trunks_dbus_service.h"
36 #include "trunks/trunks_factory_impl.h"
37 #include "trunks/trunks_ftdi_spi.h"
42 const char kTrunksUser[] = "trunks";
43 const char kTrunksGroup[] = "trunks";
[all...]
H A Dtrunks_client.cc29 #include "trunks/error_codes.h"
30 #include "trunks/hmac_session.h"
31 #include "trunks/password_authorization_delegate.h"
32 #include "trunks/policy_session.h"
33 #include "trunks/scoped_key_handle.h"
34 #include "trunks/tpm_state.h"
35 #include "trunks/tpm_utility.h"
36 #include "trunks/trunks_client_test.h"
37 #include "trunks/trunks_factory_impl.h"
41 using trunks
[all...]
H A Dtrunks_binder_proxy.h24 #include "android/trunks/ITrunks.h"
25 #include "trunks/command_transceiver.h"
26 #include "trunks/trunks_export.h"
28 namespace trunks { namespace
48 android::sp<android::trunks::ITrunks> trunks_service_;
53 } // namespace trunks
H A Dmock_session_manager.h24 #include "trunks/session_manager.h"
26 namespace trunks { namespace
46 } // namespace trunks
H A Dtrunks_binder_service.h24 #include "android/trunks/BnTrunks.h"
25 #include "trunks/command_transceiver.h"
27 namespace trunks { namespace
53 class BinderServiceInternal : public android::trunks::BnTrunks {
61 const android::sp<android::trunks::ITrunksClient>& client) override;
67 void OnResponse(const android::sp<android::trunks::ITrunksClient>& client,
87 } // namespace trunks
/system/tpm/trunks/aidl/android/trunks/
H A DITrunksClient.aidl17 package android.trunks;
H A DITrunks.aidl17 package android.trunks;
19 import android.trunks.ITrunksClient;
/system/tpm/tpm_manager/server/
H A Dtpm2_status_impl.h25 #include <trunks/tpm_state.h>
26 #include <trunks/trunks_factory.h>
33 explicit Tpm2StatusImpl(const trunks::TrunksFactory& factory);
52 const trunks::TrunksFactory& trunks_factory_;
53 std::unique_ptr<trunks::TpmState> trunks_tpm_state_;
H A Dtpm2_status_impl.cc20 #include <trunks/error_codes.h>
21 #include <trunks/tpm_generated.h>
22 #include <trunks/trunks_factory_impl.h>
24 using trunks::TPM_RC;
25 using trunks::TPM_RC_SUCCESS;
29 Tpm2StatusImpl::Tpm2StatusImpl(const trunks::TrunksFactory& factory)
74 LOG(WARNING) << "Error initializing trunks tpm state: "
75 << trunks::GetErrorString(result);
H A Dtpm2_nvram_impl.cc23 #include <trunks/error_codes.h>
24 #include <trunks/policy_session.h>
25 #include <trunks/tpm_constants.h>
26 #include <trunks/tpm_utility.h>
30 using trunks::GetErrorString;
31 using trunks::TPM_RC;
32 using trunks::TPM_RC_SUCCESS;
36 void MapAttributesFromTpm(trunks::TPMA_NV tpm_flags,
38 if (tpm_flags & trunks::TPMA_NV_WRITEDEFINE)
40 if (tpm_flags & trunks
[all...]
H A Dtpm2_initializer_impl.h26 #include <trunks/trunks_factory.h>
46 Tpm2InitializerImpl(const trunks::TrunksFactory& factory,
50 Tpm2InitializerImpl(const trunks::TrunksFactory& factory,
70 const trunks::TrunksFactory& trunks_factory_;
H A Dtpm2_nvram_impl.h26 #include <trunks/trunks_factory.h>
38 Tpm2NvramImpl(const trunks::TrunksFactory& factory,
84 trunks::TPM_CC command_code,
85 trunks::PolicySession* session);
90 trunks::TPM_CC command_code,
91 trunks::PolicySession* session);
96 trunks::PolicySession* session);
112 const trunks::TrunksFactory& trunks_factory_;
115 std::unique_ptr<trunks::HmacSession> trunks_session_;
116 std::unique_ptr<trunks
[all...]
H A Dtpm2_initializer_impl.cc22 #include <trunks/error_codes.h>
23 #include <trunks/tpm_utility.h>
24 #include <trunks/trunks_factory_impl.h>
30 using trunks::TPM_RC;
31 using trunks::TPM_RC_SUCCESS;
39 Tpm2InitializerImpl::Tpm2InitializerImpl(const trunks::TrunksFactory& factory,
47 Tpm2InitializerImpl::Tpm2InitializerImpl(const trunks::TrunksFactory& factory,
120 std::unique_ptr<trunks::TpmUtility> tpm_utility =
128 << trunks::GetErrorString(result);
137 << trunks
[all...]
H A Dtpm2_initializer_test.cc23 #include <trunks/mock_tpm_utility.h>
24 #include <trunks/trunks_factory_for_test.h>
68 NiceMock<trunks::MockTpmUtility> mock_tpm_utility_;
69 trunks::TrunksFactoryForTest factory_;
75 .WillRepeatedly(Return(trunks::TPM_RC_FAILURE));
102 .WillRepeatedly(Return(trunks::TPM_RC_FAILURE));
112 DoAll(SetArgPointee<2>(password), Return(trunks::TPM_RC_SUCCESS)));
114 .WillOnce(Return(trunks::TPM_RC_SUCCESS));
134 .WillOnce(Return(trunks::TPM_RC_SUCCESS));
146 Return(trunks
[all...]

Completed in 189 milliseconds

12345