Home
last modified time | relevance | path

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

/system/keymaster/
Dattestation_record.cpp485 UniquePtr<KM_KEY_DESCRIPTION, KM_KEY_DESCRIPTION_Delete> key_desc(KM_KEY_DESCRIPTION_new()); in build_attestation_record() local
486 if (!key_desc.get()) in build_attestation_record()
516 if (!ASN1_INTEGER_set(key_desc->attestation_version, kCurrentAttestationVersion) || in build_attestation_record()
517 !ASN1_ENUMERATED_set(key_desc->attestation_security_level, context.GetSecurityLevel()) || in build_attestation_record()
518 !ASN1_INTEGER_set(key_desc->keymaster_version, keymaster_version) || in build_attestation_record()
519 !ASN1_ENUMERATED_set(key_desc->keymaster_security_level, keymaster_security_level)) in build_attestation_record()
525 if (!ASN1_OCTET_STRING_set(key_desc->attestation_challenge, attestation_challenge.data, in build_attestation_record()
548 error = build_auth_list(sw_enforced, key_desc->software_enforced); in build_attestation_record()
552 error = build_auth_list(tee_enforced, key_desc->tee_enforced); in build_attestation_record()
577 key_desc->unique_id = ASN1_OCTET_STRING_new(); in build_attestation_record()
[all …]