Home
last modified time | relevance | path

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

/system/keymaster/
Dattestation_record.cpp439 UniquePtr<KM_KEY_DESCRIPTION, KM_KEY_DESCRIPTION_Delete> key_desc(KM_KEY_DESCRIPTION_new()); in build_attestation_record() local
440 if (!key_desc.get()) in build_attestation_record()
471 if (!ASN1_INTEGER_set(key_desc->attestation_version, 1) || in build_attestation_record()
472 !ASN1_ENUMERATED_set(key_desc->attestation_security_level, context.GetSecurityLevel()) || in build_attestation_record()
473 !ASN1_INTEGER_set(key_desc->keymaster_version, keymaster_version) || in build_attestation_record()
474 !ASN1_ENUMERATED_set(key_desc->keymaster_security_level, keymaster_security_level)) in build_attestation_record()
480 if (!ASN1_OCTET_STRING_set(key_desc->attestation_challenge, attestation_challenge.data, in build_attestation_record()
484 keymaster_error_t error = build_auth_list(sw_enforced, key_desc->software_enforced); in build_attestation_record()
488 error = build_auth_list(tee_enforced, key_desc->tee_enforced); in build_attestation_record()
513 key_desc->unique_id = ASN1_OCTET_STRING_new(); in build_attestation_record()
[all …]