Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Draw_device.rs49 km_dev: Strong<dyn IKeyMintDevice>, field
69 km_dev: asp.get_interface()?, in get()
110 let creation_result = map_km_error(creator(&self.km_dev)) in create_and_store_key()
216 self.km_dev.getKeyCharacteristics(key_blob, &[], &[]) in lookup_or_generate_key()
231 self.create_and_store_key(db, &key_desc, key_type, |km_dev| { in lookup_or_generate_key()
232 km_dev.generateKey(&params, None) in lookup_or_generate_key()
268 self.km_dev.upgradeKey(&key_blob, &[]) in upgrade_keyblob_if_required_with()
319 self.km_dev.begin(purpose, blob, operation_parameters, auth_token) in use_key_in_one_step()
Dsecurity_level.rs307 let km_dev: Strong<dyn IKeyMintDevice> = self in create_operation() localVariable
314 &*km_dev, in create_operation()
325 km_dev.begin(purpose, blob, &operation_parameters, immediate_hat.as_ref()) in create_operation()
511 let km_dev: Strong<dyn IKeyMintDevice> = self.keymint.get_interface()?; in generate_key() localVariable
521 &*km_dev, in generate_key()
540 km_dev.generateKey(&params, attest_key.as_ref()) in generate_key()
555 km_dev.generateKey(&params, Some(&attestation_key)) in generate_key()
571 km_dev.generateKey(&params, None) in generate_key()
628 let km_dev: Strong<dyn IKeyMintDevice> = in import_key() localVariable
633 km_dev.importKey(&params, format, key_data, None /* attestKey */) in import_key()
[all …]
Dboot_level_keys.rs52 let km_dev = get_preferred_km_instance_for_level_zero_key() in get_level_zero_key() localVariable
65 let has_early_boot_only = km_dev.version() >= KeyMintDevice::KEY_MASTER_V4_1; in get_level_zero_key()
73 let (key_id_guard, key_entry) = km_dev in get_level_zero_key()
76 if kc.securityLevel == km_dev.security_level() { in get_level_zero_key()
106 let level_zero_key = km_dev in get_level_zero_key()
Dentropy.rs67 for (i, km_dev) in km_devs.iter().enumerate() { in feed_devices()
70 if let Err(e) = km_dev.addRngEntropy(sub_data) { in feed_devices()
Dsuper_key.rs192 km_dev: &KeyMintDevice, in decrypt()
213 let key = ZVec::try_from(km_dev.use_key_in_one_step( in decrypt()
938 let km_dev: KeyMintDevice = in lock_screen_lock_bound_key() localVariable
959 km_dev.create_and_store_key( in lock_screen_lock_bound_key()
1014 let km_dev: KeyMintDevice = KeyMintDevice::get(SecurityLevel::TRUSTED_ENVIRONMENT) in try_unlock_user_with_biometric() localVariable
1023 &km_dev, in try_unlock_user_with_biometric()
1031 &km_dev, in try_unlock_user_with_biometric()
Dmaintenance.rs161 let km_dev: Strong<dyn IKeyMintDevice> = dev in call_with_watchdog() localVariable
168 map_km_error(op(km_dev)).with_context(|| format!("In keymint device: calling {}", name))?; in call_with_watchdog()
Dglobals.rs169 let km_dev: Strong<dyn IKeyMintDevice> = localVariable
172 map_km_error(km_dev.deleteKey(&*blob))