Home
last modified time | relevance | path

Searched refs:TpmResourceManager (Results 1 – 25 of 32) sorted by relevance

12

/device/google/cuttlefish/host/commands/secure_env/
Dtpm_resource_manager.cpp29 TpmResourceManager::ObjectSlot::ObjectSlot(TpmResourceManager* resource_manager) in ObjectSlot()
33 TpmResourceManager::ObjectSlot::ObjectSlot(TpmResourceManager* resource_manager, in ObjectSlot()
39 TpmResourceManager::ObjectSlot::~ObjectSlot() { in ~ObjectSlot()
53 ESYS_TR TpmResourceManager::ObjectSlot::get() { in get()
57 void TpmResourceManager::ObjectSlot::set(ESYS_TR resource) { in set()
61 TpmResourceManager::TpmResourceManager(ESYS_CONTEXT* esys) in TpmResourceManager() function in cuttlefish::TpmResourceManager
67 TpmResourceManager::~TpmResourceManager() { in ~TpmResourceManager()
74 EsysLock TpmResourceManager::Esys() { in Esys()
78 TpmObjectSlot TpmResourceManager::ReserveSlot() { in ReserveSlot()
Dtpm_resource_manager.h37 friend class TpmResourceManager; variable
49 class TpmResourceManager {
53 friend class TpmResourceManager;
60 ObjectSlot(TpmResourceManager* resource_manager);
61 ObjectSlot(TpmResourceManager* resource_manager, ESYS_TR resource);
63 TpmResourceManager* resource_manager_;
67 TpmResourceManager(ESYS_CONTEXT* esys);
68 ~TpmResourceManager();
83 using TpmObjectSlot = std::shared_ptr<TpmResourceManager::ObjectSlot>;
Dsecure_env_not_windows_main.cpp154 TpmResourceManager>,
167 [](TpmResourceManager& resource_manager, in ChooseGatekeeperComponent()
178 fruit::Component<fruit::Required<TpmResourceManager>, oemlock::OemLock>
182 [](TpmResourceManager& resource_manager) -> secure_env::Storage* { in ChooseOemlockComponent()
200 fruit::Component<TpmResourceManager, gatekeeper::GateKeeper, oemlock::OemLock,
231 return new TpmResourceManager( in SecureEnvComponent()
234 .registerProvider([](TpmResourceManager& resource_manager) { in SecureEnvComponent()
241 .registerProvider([](TpmResourceManager& resource_manager, in SecureEnvComponent()
259 fruit::Injector<TpmResourceManager, gatekeeper::GateKeeper, oemlock::OemLock, in SecureEnvMain()
262 TpmResourceManager* resource_manager = injector.get<TpmResourceManager*>(); in SecureEnvMain()
[all …]
Dprimary_key_builder.cpp67 TpmResourceManager& resource_manager) { in CreateKey()
119 std::function<TpmObjectSlot(TpmResourceManager&)>
121 return [unique](TpmResourceManager& resource_manager) { in SigningKeyCreator()
129 std::function<TpmObjectSlot(TpmResourceManager&)>
131 return [unique](TpmResourceManager& resource_manager) { in ParentKeyCreator()
140 TpmResourceManager& resource_manager, const std::string& unique_data) { in CreateSigningKey()
Dencrypted_serializable.h50 EncryptedSerializable(TpmResourceManager&,
51 std::function<TpmObjectSlot(TpmResourceManager&)>,
58 TpmResourceManager& resource_manager_;
59 std::function<TpmObjectSlot(TpmResourceManager&)> parent_key_fn_;
Dprimary_key_builder.h35 TpmObjectSlot CreateKey(TpmResourceManager& resource_manager);
37 static TpmObjectSlot CreateSigningKey(TpmResourceManager& resource_manager,
44 std::function<TpmObjectSlot(TpmResourceManager&)>
47 std::function<TpmObjectSlot(TpmResourceManager&)>
Dhmac_serializable.h46 HmacSerializable(TpmResourceManager&,
47 std::function<TpmObjectSlot(TpmResourceManager&)>,
55 TpmResourceManager& resource_manager_;
56 std::function<TpmObjectSlot(TpmResourceManager&)> signing_key_fn_;
Dtpm_hmac.cpp29 TpmResourceManager& resource_manager, in OneshotHmac()
60 TpmResourceManager& resource_manager, in SegmentedHmac()
129 TpmResourceManager& resource_manager, in TpmHmac()
140 TpmResourceManager& resource_manager, const std::string& context, in TpmHmacWithContext()
Dtpm_hmac.h27 class TpmResourceManager; variable
50 TpmResourceManager& resource_manager,
61 TpmResourceManager& resource_manager, const std::string& context,
Dtpm_ffi.cpp23 using cuttlefish::TpmResourceManager;
33 TpmResourceManager* resource_manager = in tpm_hmac()
34 reinterpret_cast<TpmResourceManager*>(trm); in tpm_hmac()
Dencrypted_serializable.cpp30 TpmResourceManager& resource_manager, in EncryptedSerializable()
31 std::function<TpmObjectSlot(TpmResourceManager&)> parent_key_fn, in EncryptedSerializable()
39 TpmResourceManager& resource_manager, // in in CreateKey()
130 TpmResourceManager& resource_manager, in LoadKey()
Dtpm_keymaster_context.h29 class TpmResourceManager; variable
42 TpmResourceManager& resource_manager_;
60 TpmKeymasterContext(TpmResourceManager&, keymaster::KeymasterEnforcement&);
Djson_serializable.h25 TpmResourceManager&, const std::string& filename, Json::Value);
27 TpmResourceManager&, const std::string& filename);
Dconfui_sign_server.h27 ConfUiSignServer(TpmResourceManager& tpm_resource_manager,
32 TpmResourceManager& tpm_resource_manager_;
Dtpm_random_source.h31 TpmRandomSource(TpmResourceManager& resource_manager);
40 TpmResourceManager& resource_manager_;
Dtpm_key_blob_maker.h36 TpmKeyBlobMaker(TpmResourceManager& resource_manager);
76 TpmResourceManager& resource_manager_;
Dtpm_keymaster_enforcement.h32 TpmKeymasterEnforcement(TpmResourceManager& resource_manager,
64 TpmResourceManager& resource_manager_;
Dtpm_gatekeeper.h34 TpmResourceManager& resource_manager,
83 TpmResourceManager& resource_manager_;
Dtpm_remote_provisioning_context.h32 TpmRemoteProvisioningContext(TpmResourceManager& resource_manager);
61 TpmResourceManager& resource_manager_;
Dhmac_serializable.cpp28 TpmResourceManager& resource_manager, in HmacSerializable()
29 std::function<TpmObjectSlot(TpmResourceManager&)> signing_key_fn, in HmacSerializable()
Djson_serializable.cpp86 TpmResourceManager& resource_manager, in WriteProtectedJsonToFile()
119 TpmResourceManager& resource_manager, const std::string& filename) { in ReadProtectedJsonFromFile()
Dencrypted_serializable_test.cpp31 TpmResourceManager resource_manager(tpm.Esys()); in TEST()
Dconfui_sign_server.cpp34 ConfUiSignServer::ConfUiSignServer(TpmResourceManager& tpm_resource_manager, in ConfUiSignServer()
Dtpm_random_source.cpp25 TpmRandomSource::TpmRandomSource(TpmResourceManager& resource_manager) in TpmRandomSource()
/device/google/cuttlefish/host/commands/secure_env/storage/
Dtpm_storage.h50 TpmStorage(TpmResourceManager& resource_manager, const std::string& index_file);
62 TpmResourceManager& resource_manager_;

12