Lines Matching refs:sw_enforced
142 AuthorizationSet* sw_enforced) { in SetAuthorizations() argument
143 sw_enforced->Clear(); in SetAuthorizations()
166 if (hw_enforced->GetTagCount(entry.tag) == 0) sw_enforced->push_back(entry); in SetAuthorizations()
171 sw_enforced->push_back(TAG_CREATION_DATETIME, java_time(time(nullptr))); in SetAuthorizations()
172 sw_enforced->push_back(TAG_ORIGIN, origin); in SetAuthorizations()
173 sw_enforced->push_back(TAG_OS_VERSION, os_version); in SetAuthorizations()
174 sw_enforced->push_back(TAG_OS_PATCHLEVEL, os_patchlevel); in SetAuthorizations()
176 return TranslateAuthorizationSetError(sw_enforced->is_valid()); in SetAuthorizations()
184 AuthorizationSet* sw_enforced) const { in CreateKeyBlob()
186 os_patchlevel_, hw_enforced, sw_enforced); in CreateKeyBlob()
193 return SerializeIntegrityAssuredBlob(key_material, hidden, *hw_enforced, *sw_enforced, blob); in CreateKeyBlob()
259 AuthorizationSet sw_enforced; in ParseKeyBlob() local
269 !sw_enforced.GetTagValue(TAG_ALGORITHM, &algorithm)) { in ParseKeyBlob()
274 move(sw_enforced), key); in ParseKeyBlob()
283 DeserializeIntegrityAssuredBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
287 error = ParseAuthEncryptedBlob(blob, hidden, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
292 error = ParseOldSoftkeymasterBlob(blob, &key_material, &hw_enforced, &sw_enforced); in ParseKeyBlob()
298 &sw_enforced); in ParseKeyBlob()
311 AuthorizationSet hw_enforced, sw_enforced; in DeleteKey() local
313 blob, &key_material, &hw_enforced, &sw_enforced); in DeleteKey()
338 AuthorizationSet* sw_enforced) const { in ParseKeymaster1HwBlob()
359 sw_enforced->Reinitialize(characteristics->sw_enforced); in ParseKeymaster1HwBlob()