Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Draw_device.rs103 key_desc: &KeyDescriptor, in create_and_store_key()
123 &key_desc, in create_and_store_key()
148 key_desc: &KeyDescriptor, in lookup_from_desc()
151 db.load_key_entry(&key_desc, key_type, KeyEntryLoadBits::KM, AID_KEYSTORE, |_, _| Ok(())) in lookup_from_desc()
173 key_desc: &KeyDescriptor, in lookup_or_generate_key()
186 let lookup = Self::not_found_is_none(Self::lookup_from_desc(db, key_desc, key_type)) in lookup_or_generate_key()
231 self.create_and_store_key(db, &key_desc, key_type, |km_dev| { in lookup_or_generate_key()
235 Self::lookup_from_desc(db, key_desc, key_type) in lookup_or_generate_key()
Dboot_level_keys.rs55 let key_desc = KeyMintDevice::internal_descriptor("boot_level_key".to_string()); in get_level_zero_key() localVariable
74 .lookup_or_generate_key(db, &key_desc, KeyType::Client, &params, |key_characteristics| { in get_level_zero_key()
Dsuper_key.rs233 key_desc: KeyDescriptor, field
933 let key_desc = KeyMintDevice::internal_descriptor(format!( in lock_screen_lock_bound_key() localVariable
961 &key_desc, in lock_screen_lock_bound_key()
978 key_desc, in lock_screen_lock_bound_key()
1007 &biometric.key_desc, in try_unlock_user_with_biometric()
/system/keymaster/km_openssl/
Dattestation_record.cpp973 UniquePtr<KM_KEY_DESCRIPTION, KM_KEY_DESCRIPTION_Delete> key_desc(KM_KEY_DESCRIPTION_new()); in build_attestation_record() local
974 if (!key_desc.get()) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in build_attestation_record()
978 key_desc->software_enforced->root_of_trust = KM_ROOT_OF_TRUST_new(); in build_attestation_record()
979 root_of_trust = key_desc->software_enforced->root_of_trust; in build_attestation_record()
981 key_desc->tee_enforced->root_of_trust = KM_ROOT_OF_TRUST_new(); in build_attestation_record()
982 root_of_trust = key_desc->tee_enforced->root_of_trust; in build_attestation_record()
1005 if (!ASN1_INTEGER_set(key_desc->attestation_version, in build_attestation_record()
1007 !ASN1_ENUMERATED_set(key_desc->attestation_security_level, context.GetSecurityLevel()) || in build_attestation_record()
1008 !ASN1_INTEGER_set(key_desc->keymaster_version, in build_attestation_record()
1010 !ASN1_ENUMERATED_set(key_desc->keymaster_security_level, context.GetSecurityLevel())) { in build_attestation_record()
[all …]