Home
last modified time | relevance | path

Searched refs:sw_enforced (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/host/commands/secure_env/
Dtpm_keymaster_context.cpp159 int key_os_version_pos = key->sw_enforced().find(keymaster::TAG_OS_VERSION); in UpgradeKeyBlob()
161 uint32_t key_os_version = key->sw_enforced()[key_os_version_pos].integer; in UpgradeKeyBlob()
163 key->sw_enforced()[key_os_version_pos].integer = os_version_; in UpgradeKeyBlob()
172 &key->sw_enforced(), in UpgradeKeyBlob()
178 &key->sw_enforced(), in UpgradeKeyBlob()
193 combined_authorization.Union(key->sw_enforced()); in UpgradeKeyBlob()
217 keymaster::AuthorizationSet sw_enforced; in ParseKeyBlob() local
224 &sw_enforced, in ParseKeyBlob()
233 !sw_enforced.GetTagValue(keymaster::TAG_ALGORITHM, &algorithm)) { in ParseKeyBlob()
248 std::move(sw_enforced), in ParseKeyBlob()
Dtpm_key_blob_maker.cpp176 keymaster::AuthorizationSet* sw_enforced) { in SplitEnforcedProperties() argument
206 sw_enforced->push_back(entry); in SplitEnforcedProperties()
236 AuthorizationSet* sw_enforced) const { in CreateKeyBlob()
249 SplitEnforcedProperties(key_description, hw_enforced, sw_enforced); in CreateKeyBlob()
258 {&key_material_buffer, hw_enforced, sw_enforced}); in CreateKeyBlob()
276 AuthorizationSet* sw_enforced, in UnwrapKeyBlob() argument
280 {&key_material_buffer, hw_enforced, sw_enforced}); in UnwrapKeyBlob()
Dtpm_key_blob_maker.h40 keymaster::AuthorizationSet* sw_enforced) const override;
56 keymaster::AuthorizationSet* sw_enforced,