/device/google/cuttlefish/host/commands/secure_env/storage/ |
D | tpm_storage.cpp | 34 : resource_manager_(resource_manager), index_file_(index_file) { in TpmStorage() 35 index_ = ReadProtectedJsonFromFile(resource_manager_, index_file); in TpmStorage() 50 return ReadProtectedJsonFromFile(resource_manager_, index_file_).isMember(kEntries); in Exists() 61 Esys_TR_Close(*resource_manager_.Esys(), handle); in Read() 66 /* esysContext */ *resource_manager_.Esys(), in Read() 76 Esys_TR_SetAuth(*resource_manager_.Esys(), *nv_handle, &auth); in Read() 80 /* esysContext */ *resource_manager_.Esys(), in Read() 93 /* esysContext */ *resource_manager_.Esys(), in Read() 119 /* esysContext */ *resource_manager_.Esys(), in Write() 129 Esys_TR_SetAuth(*resource_manager_.Esys(), nv_handle, &auth); in Write() [all …]
|
D | tpm_storage.h | 62 TpmResourceManager& resource_manager_; variable
|
/device/google/cuttlefish/host/commands/secure_env/ |
D | encrypted_serializable.cpp | 33 resource_manager_(resource_manager), in EncryptedSerializable() 162 auto parent = parent_key_fn_(resource_manager_); in SerializedSize() 164 resource_manager_, parent->get(), &key_public, &key_private, nullptr)) { in SerializedSize() 186 auto parent = parent_key_fn_(resource_manager_); in Serialize() 193 resource_manager_, parent->get(), &key_public, &key_private, &key_slot)) { in Serialize() 200 auto rc = TpmRandomSource(resource_manager_) in Serialize() 219 *resource_manager_.Esys(), key_slot->get(), TpmAuth(ESYS_TR_PASSWORD), in Serialize() 239 auto parent_key = parent_key_fn_(resource_manager_); in Deserialize() 257 LoadKey(resource_manager_, parent_key->get(), &key_public, &key_private); in Deserialize() 302 *resource_manager_.Esys(), key_slot->get(), TpmAuth(ESYS_TR_PASSWORD), in Deserialize()
|
D | tpm_random_source.cpp | 26 : resource_manager_(resource_manager) {} in TpmRandomSource() 37 Esys_GetRandom(*resource_manager_.Esys(), ESYS_TR_NONE, ESYS_TR_NONE, in GenerateRandom() 51 Esys_GetRandom(*resource_manager_.Esys(), ESYS_TR_NONE, ESYS_TR_NONE, in GenerateRandom() 80 auto rc = Esys_StirRandom(*resource_manager_.Esys(), ESYS_TR_NONE, in AddRngEntropy() 92 auto rc = Esys_StirRandom(*resource_manager_.Esys(), ESYS_TR_NONE, in AddRngEntropy()
|
D | hmac_serializable.cpp | 31 : resource_manager_(resource_manager), in HmacSerializable() 52 auto key = signing_key_fn_(resource_manager_); in Serialize() 62 TpmHmac(resource_manager_, key->get(), TpmAuth(ESYS_TR_PASSWORD), in Serialize() 100 auto key = signing_key_fn_(resource_manager_); in Deserialize() 110 TpmHmac(resource_manager_, key->get(), TpmAuth(ESYS_TR_PASSWORD), in Deserialize()
|
D | tpm_keymaster_enforcement.cpp | 97 resource_manager_(resource_manager), in TpmKeymasterEnforcement() 179 TpmRandomSource random_source{resource_manager_}; in GetHmacSharingParameters() 227 auto hmac = TpmHmacWithContext(resource_manager_, in ComputeSharedHmac() 258 auto hmac = TpmHmacWithContext(resource_manager_, "verify_authorization", in VerifyAuthorization() 284 TpmHmacWithContext(resource_manager_, "timestamp_token", in GenerateTimestampToken() 320 TpmHmacWithContext(resource_manager_, "key_id", key_blob.key_material, in CreateKeyId()
|
D | tpm_key_blob_maker.cpp | 180 : resource_manager_(resource_manager) { in TpmKeyBlobMaker() 226 resource_manager_, parent_key_fn, sensitive_material); in UnvalidatedCreateKeyBlob() 232 HmacSerializable sign_check(resource_manager_, signing_key_fn, in UnvalidatedCreateKeyBlob() 253 resource_manager_, parent_key_fn, sensitive_material); in UnwrapKeyBlob() 255 HmacSerializable sign_check(resource_manager_, signing_key_fn, in UnwrapKeyBlob()
|
D | tpm_resource_manager.cpp | 35 : resource_manager_(resource_manager), resource_(resource) { in ObjectSlot() 42 auto rc = Esys_FlushContext(resource_manager_->esys_, resource_); in ~ObjectSlot() 50 resource_manager_->used_slots_--; in ~ObjectSlot()
|
D | tpm_keymaster_context.cpp | 80 : resource_manager_(resource_manager), in TpmKeymasterContext() 82 key_blob_maker_(new TpmKeyBlobMaker(resource_manager_)), in TpmKeymasterContext() 83 random_source_(new TpmRandomSource(resource_manager_)), in TpmKeymasterContext() 86 new TpmRemoteProvisioningContext(resource_manager_)) { in TpmKeymasterContext() 579 auto hmac = TpmHmacWithContext(resource_manager_, "confirmation_token", in CheckConfirmationToken()
|
D | tpm_gatekeeper.cpp | 41 : resource_manager_(resource_manager) in TpmGatekeeper() 88 TpmRandomSource(resource_manager_) in GetRandom() 103 TpmHmacWithContext(resource_manager_, key_unique, message, length); in ComputeSignature()
|
D | tpm_remote_provisioning_context.cpp | 40 : resource_manager_(resource_manager) { in TpmRemoteProvisioningContext() 48 resource_manager_, "HardwareBoundKey", in DeriveBytesFromHbk() 205 TpmHmacWithContext(resource_manager_, "Public Key Authentication Key", in GenerateHmacSha256()
|
D | tpm_random_source.h | 40 TpmResourceManager& resource_manager_;
|
D | encrypted_serializable.h | 58 TpmResourceManager& resource_manager_;
|
D | hmac_serializable.h | 55 TpmResourceManager& resource_manager_;
|
D | tpm_resource_manager.h | 63 TpmResourceManager* resource_manager_; variable
|
D | tpm_key_blob_maker.h | 76 TpmResourceManager& resource_manager_;
|
D | tpm_keymaster_enforcement.h | 64 TpmResourceManager& resource_manager_;
|
D | tpm_gatekeeper.h | 83 TpmResourceManager& resource_manager_;
|
D | tpm_remote_provisioning_context.h | 61 TpmResourceManager& resource_manager_; variable
|
D | tpm_keymaster_context.h | 42 TpmResourceManager& resource_manager_;
|