Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Draw_device.rs109 key_desc: &KeyDescriptor, in create_and_store_key()
128 key_desc, in create_and_store_key()
153 key_desc: &KeyDescriptor, in lookup_from_desc()
156 db.load_key_entry(key_desc, key_type, KeyEntryLoadBits::KM, AID_KEYSTORE, |_, _| Ok(())) in lookup_from_desc()
178 key_desc: &KeyDescriptor, in lookup_or_generate_key()
191 let lookup = Self::not_found_is_none(Self::lookup_from_desc(db, key_desc, key_type)) in lookup_or_generate_key()
236 self.create_and_store_key(db, key_desc, key_type, |km_dev| { in lookup_or_generate_key()
240 Self::lookup_from_desc(db, key_desc, key_type) in lookup_or_generate_key()
Dboot_level_keys.rs136 let key_desc = KeyMintDevice::internal_descriptor("boot_level_key".to_string()); in get_level_zero_key() localVariable
138 .lookup_or_generate_key(db, &key_desc, KeyType::Client, &params, |key_characteristics| { in get_level_zero_key()
Dsuper_key.rs235 key_desc: KeyDescriptor, field
938 let key_desc = KeyMintDevice::internal_descriptor(format!( in lock_screen_lock_bound_key() localVariable
966 &key_desc, in lock_screen_lock_bound_key()
983 key_desc, in lock_screen_lock_bound_key()
1011 &biometric.key_desc, in try_unlock_user_with_biometric()
/system/security/keystore2/tests/
Dffi_test_utils.cpp62 TEST_KEY_DESCRIPTION* key_desc; member
71 ASN1_SIMPLE(TEST_SECURE_KEY_WRAPPER, key_desc, TEST_KEY_DESCRIPTION),
318 error = build_auth_list(auth_list, sec_key_wrapper->key_desc->key_params); in createWrappedKey()
325 if (!ASN1_INTEGER_set(sec_key_wrapper->key_desc->key_format, KM_KEY_FORMAT_RAW)) { in createWrappedKey()
/system/keymaster/km_openssl/
Dattestation_record.cpp996 UniquePtr<KM_KEY_DESCRIPTION, KM_KEY_DESCRIPTION_Delete> key_desc(KM_KEY_DESCRIPTION_new()); in build_attestation_record() local
997 if (!key_desc.get()) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in build_attestation_record()
1001 key_desc->software_enforced->root_of_trust = KM_ROOT_OF_TRUST_new(); in build_attestation_record()
1002 root_of_trust = key_desc->software_enforced->root_of_trust; in build_attestation_record()
1004 key_desc->tee_enforced->root_of_trust = KM_ROOT_OF_TRUST_new(); in build_attestation_record()
1005 root_of_trust = key_desc->tee_enforced->root_of_trust; in build_attestation_record()
1028 if (!ASN1_INTEGER_set(key_desc->attestation_version, in build_attestation_record()
1030 !ASN1_ENUMERATED_set(key_desc->attestation_security_level, context.GetSecurityLevel()) || in build_attestation_record()
1031 !ASN1_INTEGER_set(key_desc->keymaster_version, in build_attestation_record()
1033 !ASN1_ENUMERATED_set(key_desc->keymaster_security_level, context.GetSecurityLevel())) { in build_attestation_record()
[all …]