Lines Matching refs:hw_enforced
102 if (key->hw_enforced().Contains(TAG_PURPOSE) && in UpgradeKeyBlob()
103 !key->hw_enforced().Contains(TAG_OS_PATCHLEVEL)) { in UpgradeKeyBlob()
114 AuthorizationSet* hw_enforced, in parseKeymaster1HwBlob() argument
135 hw_enforced->Reinitialize(characteristics->hw_enforced); in parseKeymaster1HwBlob()
143 AuthorizationSet hw_enforced; in ParseKeyBlob() local
154 … error = DeserializeIntegrityAssuredBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
160 &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
166 if (!hw_enforced.GetTagValue(TAG_ALGORITHM, &algorithm) && in ParseKeyBlob()
172 return factory->LoadKey(move(key_material), additional_params, move(hw_enforced), in ParseKeyBlob()
182 AuthorizationSet hw_enforced, sw_enforced; in DeleteKey() local
184 blob, &key_material, &hw_enforced, &sw_enforced); in DeleteKey()
217 AuthorizationSet* hw_enforced, in CreateKeyBlob() argument
220 os_patchlevel_, hw_enforced, sw_enforced); in CreateKeyBlob()
229 return SerializeIntegrityAssuredBlob(key_material, hidden, *hw_enforced, *sw_enforced, blob); in CreateKeyBlob()