Lines Matching refs:hw_enforced
157 uint32_t os_patchlevel, AuthorizationSet* hw_enforced, in SetAuthorizations() argument
182 if (hw_enforced->GetTagCount(entry.tag) == 0) in SetAuthorizations()
200 AuthorizationSet* hw_enforced, in CreateKeyBlob() argument
203 os_patchlevel_, hw_enforced, sw_enforced); in CreateKeyBlob()
212 return SerializeIntegrityAssuredBlob(key_material, hidden, *hw_enforced, *sw_enforced, blob); in CreateKeyBlob()
235 if (km1_dev_ && key->hw_enforced().Contains(TAG_PURPOSE) && in UpgradeKeyBlob()
236 !key->hw_enforced().Contains(TAG_OS_PATCHLEVEL)) in UpgradeKeyBlob()
278 AuthorizationSet hw_enforced; in ParseKeyBlob() local
288 if (!hw_enforced.GetTagValue(TAG_ALGORITHM, &algorithm) && in ParseKeyBlob()
293 return factory->LoadKey(move(key_material), additional_params, move(hw_enforced), in ParseKeyBlob()
303 … error = DeserializeIntegrityAssuredBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
308 error = ParseOcbAuthEncryptedBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
315 error = ParseOldSoftkeymasterBlob(blob, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
322 error = ParseKeymaster1HwBlob(blob, additional_params, &key_material, &hw_enforced, in ParseKeyBlob()
325 error = ParseKeymaster0HwBlob(blob, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
338 AuthorizationSet hw_enforced, sw_enforced; in DeleteKey() local
340 blob, &key_material, &hw_enforced, &sw_enforced); in DeleteKey()
359 AuthorizationSet hw_enforced, sw_enforced; in DeleteKey() local
361 blob, &key_material, &hw_enforced, &sw_enforced); in DeleteKey()
397 KeymasterKeyBlob* key_material, AuthorizationSet* hw_enforced, in ParseKeymaster1HwBlob() argument
421 hw_enforced->Reinitialize(characteristics->hw_enforced); in ParseKeymaster1HwBlob()
429 AuthorizationSet* hw_enforced, in ParseKeymaster0HwBlob() argument
439 keymaster_error_t error = FakeKeyAuthorizations(tmp_key.get(), hw_enforced, sw_enforced); in ParseKeymaster0HwBlob()