Home
last modified time | relevance | path

Searched refs:resource_manager (Results 1 – 11 of 11) sorted by relevance

/device/google/cuttlefish/host/commands/secure_env/
Dtpm_hmac.cpp25 TpmResourceManager* resource_manager, in OneshotHmac() argument
41 resource_manager->Esys(), in OneshotHmac()
62 TpmResourceManager* resource_manager, in SegmentedHmac() argument
72 auto slot = resource_manager->ReserveSlot(); in SegmentedHmac()
78 resource_manager->Esys(), in SegmentedHmac()
93 resource_manager->Esys(), sequence_handle, &sequence_auth); in SegmentedHmac()
106 resource_manager->Esys(), in SegmentedHmac()
123 resource_manager->Esys(), in SegmentedHmac()
148 TpmResourceManager* resource_manager, in TpmHmac() argument
154 return fn(resource_manager, key_handle, auth, data, data_size); in TpmHmac()
Dtpm_key_blob_maker.cpp35 static TpmObjectSlot SigningKey(TpmResourceManager* resource_manager) { in SigningKey() argument
38 Esys_TR_SetAuth(resource_manager->Esys(), ESYS_TR_RH_OWNER, &authValue); in SigningKey()
67 auto key_slot = resource_manager->ReserveSlot(); in SigningKey()
77 /* esysContext */ resource_manager->Esys(), in SigningKey()
96 static TpmObjectSlot ParentKey(TpmResourceManager* resource_manager) { in ParentKey() argument
99 Esys_TR_SetAuth(resource_manager->Esys(), ESYS_TR_RH_PLATFORM, &authValue); in ParentKey()
136 auto key_slot = resource_manager->ReserveSlot(); in ParentKey()
146 /* esysContext */ resource_manager->Esys(), in ParentKey()
226 TpmKeyBlobMaker::TpmKeyBlobMaker(TpmResourceManager* resource_manager) in TpmKeyBlobMaker() argument
227 : resource_manager_(resource_manager) { in TpmKeyBlobMaker()
Dtpm_resource_manager.cpp21 TpmResourceManager::ObjectSlot::ObjectSlot(TpmResourceManager* resource_manager) in ObjectSlot() argument
22 : ObjectSlot(resource_manager, ESYS_TR_NONE) { in ObjectSlot()
25 TpmResourceManager::ObjectSlot::ObjectSlot(TpmResourceManager* resource_manager, in ObjectSlot() argument
27 : resource_manager_(resource_manager), resource_(resource) { in ObjectSlot()
Dencrypted_serializable.cpp27 TpmResourceManager* resource_manager, in EncryptedSerializable() argument
30 resource_manager_(resource_manager), in EncryptedSerializable()
36 TpmResourceManager* resource_manager, // in in CreateKey() argument
42 auto rc = Esys_TR_SetAuth(resource_manager->Esys(), parent_key, &authValue); in CreateKey()
79 auto key_slot = resource_manager->ReserveSlot(); in CreateKey()
90 /* esysContext */ resource_manager->Esys(), in CreateKey()
113 rc = Esys_TR_SetAuth(resource_manager->Esys(), raw_handle, &authValue); in CreateKey()
127 TpmResourceManager* resource_manager, in LoadKey() argument
133 auto key_slot = resource_manager->ReserveSlot(); in LoadKey()
139 resource_manager->Esys(), in LoadKey()
Dtpm_resource_manager.h44 ObjectSlot(TpmResourceManager* resource_manager);
45 ObjectSlot(TpmResourceManager* resource_manager, ESYS_TR resource);
Dsecure_env.cpp59 std::unique_ptr<TpmResourceManager> resource_manager; in main() local
90 resource_manager.reset(new TpmResourceManager(esys.get())); in main()
91 keymaster_context = new TpmKeymasterContext(resource_manager.get()); in main()
Dhmac_serializable.cpp24 TpmResourceManager* resource_manager, in HmacSerializable() argument
28 resource_manager_(resource_manager), in HmacSerializable()
Dtpm_hmac.h47 TpmResourceManager* resource_manager,
Dtpm_key_blob_maker.h32 TpmKeyBlobMaker(TpmResourceManager* resource_manager);
Dtpm_keymaster_context.cpp38 TpmKeymasterContext::TpmKeymasterContext(TpmResourceManager* resource_manager) in TpmKeymasterContext() argument
39 : resource_manager_(resource_manager) in TpmKeymasterContext()
Dtpm_keymaster_context.h47 TpmKeymasterContext(TpmResourceManager* resource_manager);