Home
last modified time | relevance | path

Searched refs:tee_enforced (Results 1 – 4 of 4) sorted by relevance

/system/keymaster/km_openssl/
Dattestation_record.cpp384 AuthorizationSet tee_enforced, const AttestationRecordContext& context, in build_attestation_record() argument
398 key_desc->tee_enforced->root_of_trust = KM_ROOT_OF_TRUST_new(); in build_attestation_record()
399 root_of_trust = key_desc->tee_enforced->root_of_trust; in build_attestation_record()
450 context.GetSecurityLevel() == KM_SECURITY_LEVEL_SOFTWARE ? &sw_enforced : &tee_enforced); in build_attestation_record()
465 tee_enforced.push_back(TAG_DEVICE_UNIQUE_ATTESTATION); in build_attestation_record()
472 error = build_auth_list(tee_enforced, key_desc->tee_enforced); in build_attestation_record()
478 if (tee_enforced.GetTagValue(TAG_INCLUDE_UNIQUE_ID)) { in build_attestation_record()
521 AuthorizationSet tee_enforced, const AttestationRecordContext& context, in build_attestation_record() argument
523 return build_attestation_record(attestation_params, sw_enforced, tee_enforced, context, in build_attestation_record()
758 AuthorizationSet* tee_enforced, in parse_attestation_record() argument
[all …]
Dattestation_utils.cpp169 const AuthorizationSet& tee_enforced, in build_attestation_extension() argument
182 build_attestation_record(attest_params, sw_enforced, tee_enforced, context, in build_attestation_extension()
200 keymaster_error_t add_key_usage_extension(const AuthorizationSet& tee_enforced, in add_key_usage_extension() argument
213 if (tee_enforced.Contains(TAG_PURPOSE, KM_PURPOSE_SIGN) || in add_key_usage_extension()
214 tee_enforced.Contains(TAG_PURPOSE, KM_PURPOSE_VERIFY) || in add_key_usage_extension()
222 if (tee_enforced.Contains(TAG_PURPOSE, KM_PURPOSE_ENCRYPT) || in add_key_usage_extension()
223 tee_enforced.Contains(TAG_PURPOSE, KM_PURPOSE_DECRYPT) || in add_key_usage_extension()
279 const AuthorizationSet& tee_enforced, in add_attestation_extension() argument
285 *error = build_attestation_extension(attest_params, tee_enforced, sw_enforced, in add_attestation_extension()
/system/keymaster/include/keymaster/
Dattestation_record.h172 KM_AUTH_LIST* tee_enforced; member
184 ASN1_SIMPLE(KM_KEY_DESCRIPTION, tee_enforced, KM_AUTH_LIST),
258 AuthorizationSet tee_enforced,
267 AuthorizationSet tee_enforced, const AttestationRecordContext& context,
282 AuthorizationSet* tee_enforced,
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp42 keymaster_error_t CheckVersionInfo(const AuthorizationSet& tee_enforced, in CheckVersionInfo() argument
50 if (tee_enforced.GetTagValue(TAG_OS_PATCHLEVEL, &key_os_patchlevel) || in CheckVersionInfo()