Home
last modified time | relevance | path

Searched refs:hw_enforced (Results 1 – 4 of 4) sorted by relevance

/device/google/cuttlefish/host/commands/secure_env/
Dtpm_key_blob_maker.cpp45 keymaster::AuthorizationSet* hw_enforced, in SplitEnforcedProperties() argument
139 hw_enforced->push_back(entry); in SplitEnforcedProperties()
188 AuthorizationSet* hw_enforced, in CreateKeyBlob() argument
191 auto rc = SplitEnforcedProperties(key_description, hw_enforced, sw_enforced, in CreateKeyBlob()
196 hw_enforced->push_back(keymaster::TAG_ORIGIN, origin); in CreateKeyBlob()
199 hw_enforced->push_back(keymaster::TAG_OS_VERSION, os_version_); in CreateKeyBlob()
200 hw_enforced->push_back(keymaster::TAG_OS_PATCHLEVEL, os_patchlevel_); in CreateKeyBlob()
203 hw_enforced->push_back(keymaster::TAG_VENDOR_PATCHLEVEL, in CreateKeyBlob()
207 hw_enforced->push_back(keymaster::TAG_BOOT_PATCHLEVEL, *boot_patchlevel_); in CreateKeyBlob()
210 return UnvalidatedCreateKeyBlob(key_material, *hw_enforced, *sw_enforced, in CreateKeyBlob()
[all …]
Dtpm_keymaster_context.cpp200 int key_os_version_pos = key->hw_enforced().find(keymaster::TAG_OS_VERSION); in UpgradeKeyBlob()
202 uint32_t key_os_version = key->hw_enforced()[key_os_version_pos].integer; in UpgradeKeyBlob()
204 key->hw_enforced()[key_os_version_pos].integer = os_version_; in UpgradeKeyBlob()
211 &key->hw_enforced(), &set_changed); in UpgradeKeyBlob()
215 &key->hw_enforced(), &set_changed); in UpgradeKeyBlob()
229 key->key_material(), key->hw_enforced(), key->sw_enforced(), in UpgradeKeyBlob()
236 keymaster::AuthorizationSet hw_enforced; in ParseKeyBlob() local
242 auto rc = key_blob_maker_->UnwrapKeyBlob(blob, &hw_enforced, &sw_enforced, in ParseKeyBlob()
250 if (!hw_enforced.GetTagValue(keymaster::TAG_ALGORITHM, &algorithm) && in ParseKeyBlob()
262 std::move(hw_enforced), std::move(sw_enforced), key); in ParseKeyBlob()
[all …]
Dtpm_key_blob_maker.h43 keymaster::AuthorizationSet* hw_enforced,
48 const keymaster::AuthorizationSet& hw_enforced,
66 keymaster::AuthorizationSet* hw_enforced,
/device/google/cuttlefish/guest/hals/keymint/remote/
Dremote_keymint_device.cpp41 const AuthorizationSet& sw_enforced, const AuthorizationSet& hw_enforced, in convertKeyCharacteristics() argument
47 keyMintEnforced.authorizations = kmParamSet2Aidl(hw_enforced); in convertKeyCharacteristics()
56 CHECK(hw_enforced.empty()) in convertKeyCharacteristics()