Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dattestation_record.cpp389 UniquePtr<KM_KEY_DESCRIPTION, KM_KEY_DESCRIPTION_Delete> key_desc(KM_KEY_DESCRIPTION_new()); in build_attestation_record() local
390 if (!key_desc.get()) in build_attestation_record()
395 key_desc->software_enforced->root_of_trust = KM_ROOT_OF_TRUST_new(); in build_attestation_record()
396 root_of_trust = key_desc->software_enforced->root_of_trust; in build_attestation_record()
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()
425 if (!ASN1_INTEGER_set(key_desc->attestation_version, kCurrentAttestationVersion) || in build_attestation_record()
426 !ASN1_ENUMERATED_set(key_desc->attestation_security_level, context.GetSecurityLevel()) || in build_attestation_record()
427 !ASN1_INTEGER_set(key_desc->keymaster_version, keymaster_version) || in build_attestation_record()
428 !ASN1_ENUMERATED_set(key_desc->keymaster_security_level, context.GetSecurityLevel())) { in build_attestation_record()
[all …]