Lines Matching refs:hw_enforced
178 AuthorizationSet* hw_enforced, in SetAuthorizations() argument
182 hw_enforced->Clear(); in SetAuthorizations()
269 hw_enforced->push_back(entry); in SetAuthorizations()
275 hw_enforced->push_back(entry); in SetAuthorizations()
291 hw_enforced->push_back(elem); in SetAuthorizations()
298 hw_enforced->push_back(entry); in SetAuthorizations()
320 hw_enforced->push_back(TAG_ORIGIN, origin); in SetAuthorizations()
323 hw_enforced->push_back(TAG_OS_VERSION, boot_params_.boot_os_version); in SetAuthorizations()
324 hw_enforced->push_back(TAG_OS_PATCHLEVEL, boot_params_.boot_os_patchlevel); in SetAuthorizations()
327 hw_enforced->push_back(TAG_VENDOR_PATCHLEVEL, in SetAuthorizations()
331 hw_enforced->push_back(TAG_BOOT_PATCHLEVEL, boot_patchlevel_.value()); in SetAuthorizations()
336 if (hw_enforced->is_valid() != AuthorizationSet::OK) in SetAuthorizations()
337 return TranslateAuthorizationSetError(hw_enforced->is_valid()); in SetAuthorizations()
408 const AuthorizationSet& hw_enforced, in CreateAuthEncryptedKeyBlob() argument
433 hw_enforced, sw_enforced, hidden, *secure_deletion_data, in CreateAuthEncryptedKeyBlob()
437 key_material, AES_GCM_WITH_SW_ENFORCED_VERSIONED, hw_enforced, in CreateAuthEncryptedKeyBlob()
448 *encrypted_key, hw_enforced, sw_enforced, in CreateAuthEncryptedKeyBlob()
482 AuthorizationSet* hw_enforced, in CreateKeyBlob() argument
523 SetAuthorizations(key_description, origin, hw_enforced, sw_enforced, in CreateKeyBlob()
531 *hw_enforced, *sw_enforced, in CreateKeyBlob()
568 &key->hw_enforced(), &set_changed) || in UpgradeKeyBlob()
570 &key->hw_enforced(), &set_changed) || in UpgradeKeyBlob()
573 &key->hw_enforced(), &set_changed)) || in UpgradeKeyBlob()
576 &key->hw_enforced(), &set_changed))) { in UpgradeKeyBlob()
610 key->hw_enforced(), key->sw_enforced(), in UpgradeKeyBlob()
723 if (!deserialized_key->hw_enforced.GetTagValue(TAG_ALGORITHM, &algorithm)) { in ParseKeyBlob()
729 std::move(deserialized_key->hw_enforced), in ParseKeyBlob()
1280 AuthProxy wrapping_key_auths(wrapping_key->hw_enforced(), in UnwrapKey()