HomeSort by relevance Sort by last modified time
    Searched refs:trunks (Results 1 - 25 of 103) sorted by null

1 2 3 4 5

  /system/tpm/trunks/
error_codes.cc 17 #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::TPM_RC_SEQUENCE
310 namespace trunks { namespace
    [all...]
binder_interface.h 20 namespace trunks { namespace
24 }; // namespace trunks
mock_authorization_delegate.cc 17 #include "trunks/mock_authorization_delegate.h"
19 namespace trunks { namespace
24 } // namespace trunks
mock_command_transceiver.cc 17 #include "trunks/mock_command_transceiver.h"
19 namespace trunks { namespace
24 } // namespace trunks
mock_hmac_session.cc 17 #include "trunks/mock_hmac_session.h"
19 namespace trunks { namespace
24 } // namespace trunks
mock_policy_session.cc 17 #include "trunks/mock_policy_session.h"
19 namespace trunks { namespace
24 } // namespace trunks
mock_tpm_utility.cc 17 #include "trunks/mock_tpm_utility.h"
19 namespace trunks { namespace
24 } // namespace trunks
mock_session_manager.cc 17 #include "trunks/mock_session_manager.h"
19 #include "trunks/tpm_generated.h"
21 namespace trunks { namespace
30 } // namespace trunks
session_manager.h 22 #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
dbus_interface.h 20 namespace trunks { namespace
23 constexpr char kTrunksInterface[] = "com.android.Trunks";
24 constexpr char kTrunksServicePath[] = "/com/android/Trunks";
25 constexpr char kTrunksServiceName[] = "com.android.Trunks";
27 constexpr char kTrunksInterface[] = "org.chromium.Trunks";
28 constexpr char kTrunksServicePath[] = "/org/chromium/Trunks";
29 constexpr char kTrunksServiceName[] = "org.chromium.Trunks";
32 // Methods exported by trunks.
35 }; // namespace trunks
trunks_binder_proxy.cc 17 #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"
29 #include "trunks/interface.pb.h"
34 class ResponseObserver : public android::trunks::BnTrunksClient {
37 const trunks::CommandTransceiver::ResponseCallback& callback)
43 trunks::SendCommandResponse response_proto;
48 trunks::CreateErrorResponse(trunks::SAPI_RC_MALFORMED_RESPONSE))
60 namespace trunks { namespace
    [all...]
trunks_binder_proxy.h 24 #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
trunksd.cc 27 #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...]
trunks_client.cc 29 #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::CommandTransceiver
    [all...]
command_transceiver.h 24 namespace trunks { namespace
51 } // namespace trunks
mock_command_transceiver.h 26 #include "trunks/command_transceiver.h"
28 namespace trunks { namespace
42 } // namespace trunks
  /system/tpm/trunks/aidl/android/trunks/
ITrunksClient.aidl 17 package android.trunks;
ITrunks.aidl 17 package android.trunks;
19 import android.trunks.ITrunksClient;
  /system/tpm/tpm_manager/server/
tpm2_status_impl.h 25 #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_;
tpm2_status_impl.cc 20 #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);
tpm2_nvram_impl.cc 23 #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::TPMA_NV_WRITE_STCLEAR
    [all...]
tpm2_nvram_impl.h 26 #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::TpmUtility> trunks_utility_
    [all...]
tpm2_initializer_impl.h 26 #include <trunks/trunks_factory.h>
46 Tpm2InitializerImpl(const trunks::TrunksFactory& factory,
50 Tpm2InitializerImpl(const trunks::TrunksFactory& factory,
70 const trunks::TrunksFactory& trunks_factory_;
tpm2_initializer_impl.cc 22 #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::GetErrorString(result)
    [all...]
tpm2_initializer_test.cc 23 #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::TPM_RC_SUCCESS)))
    [all...]

Completed in 369 milliseconds

1 2 3 4 5