/system/security/keystore2/src/ |
D | attestation_key_utils.rs | 42 key_id_guard: KeyIdGuard, 85 let (key_id_guard, blob, cert, blob_metadata) = in get_user_generated_attestation_key() 93 Ok(AttestationKeyInfo::UserGenerated { key_id_guard, blob, issuer_subject, blob_metadata }) in get_user_generated_attestation_key() 106 let (key_id_guard, mut key_entry) = db in load_attest_key_blob_and_cert() 125 Ok((key_id_guard, blob, cert, blob_metadata)) in load_attest_key_blob_and_cert()
|
D | raw_device.rs | 189 if let Some((key_id_guard, mut key_entry)) = lookup { in lookup_or_generate_key() 205 &key_id_guard, in lookup_or_generate_key() 223 return Ok((key_id_guard, key_blob)); in lookup_or_generate_key() 236 .and_then(|(key_id_guard, mut key_entry)| { in lookup_or_generate_key() 238 key_id_guard, in lookup_or_generate_key() 254 key_id_guard: &KeyIdGuard, in upgrade_keyblob_if_required_with() 276 key_id_guard, in upgrade_keyblob_if_required_with() 306 key_id_guard: &KeyIdGuard, in use_key_in_one_step() 316 .upgrade_keyblob_if_required_with(db, key_id_guard, key_blob, |blob| { in use_key_in_one_step()
|
D | security_level.rs | 217 let (km_blob, key_properties, key_id_guard, blob_metadata) = match key.domain { in create_operation() 242 let (key_id_guard, mut key_entry) = DB in create_operation() 271 Some((key_id_guard.id(), key_entry.into_key_parameters())), in create_operation() 272 Some(key_id_guard), in create_operation() 315 key_id_guard, in create_operation() 515 key_id_guard, in generate_key() 522 Some(key_id_guard), in generate_key() 770 key_id_guard: KeyIdGuard, in store_upgraded_keyblob() 787 &key_id_guard, in store_upgraded_keyblob() 799 key_id_guard: Option<KeyIdGuard>, in upgrade_keyblob_if_required_with() [all …]
|
D | maintenance.rs | 223 let key_id_guard = match source.domain { in migrate_key_namespace() localVariable 225 let (key_id_guard, _) = LEGACY_MIGRATOR in migrate_key_namespace() 240 key_id_guard in migrate_key_namespace() 250 db.borrow_mut().migrate_key_namespace(key_id_guard, destination, caller_uid, |k| { in migrate_key_namespace()
|
D | service.rs | 135 let (key_id_guard, mut key_entry) = DB in get_key_entry() 163 nspace: key_id_guard.id(), in get_key_entry() 209 if let Some((key_id_guard, _key_entry)) = entry { in update_subcomponent() 210 db.set_blob(&key_id_guard, SubComponentType::CERT, public_cert, None) in update_subcomponent() 213 db.set_blob(&key_id_guard, SubComponentType::CERT_CHAIN, certificate_chain, None) in update_subcomponent()
|
D | boot_level_keys.rs | 73 let (key_id_guard, key_entry) = km_dev in get_level_zero_key() 109 &key_id_guard, in get_level_zero_key()
|
D | super_key.rs | 193 key_id_guard: &KeyIdGuard, in decrypt() 215 key_id_guard, in decrypt() 759 let (key_id_guard, key_entry) = loaded.ok_or_else(Error::sys).context( in handle_super_encryption_on_key_init() 776 SuperKeyIdentifier::DatabaseId(key_id_guard.id()) in handle_super_encryption_on_key_init() 1005 let (key_id_guard, key_entry) = db in try_unlock_user_with_biometric() 1024 &key_id_guard, in try_unlock_user_with_biometric() 1032 &key_id_guard, in try_unlock_user_with_biometric()
|
D | database.rs | 2164 key_id_guard: KeyIdGuard, in migrate_key_namespace() 2212 params![alias, destination.domain.0, destination.nspace, key_id_guard.id()], in migrate_key_namespace() 2663 let key_id_guard = match key.domain { in load_key_entry_internal() localVariable 2693 let (key_id_guard, tx) = match key_id_guard { in load_key_entry_internal() 2700 let key_id_guard = KEY_ID_LOCK.get(key_id); in load_key_entry_internal() localVariable 2721 (key_id_guard, tx) in load_key_entry_internal() 2725 Some(key_id_guard) => (key_id_guard, tx), in load_key_entry_internal() 2728 let key_entry = Self::load_key_components(&tx, load_bits, key_id_guard.id()) in load_key_entry_internal() 2733 Ok((key_id_guard, key_entry)) in load_key_entry_internal() 4314 let key_id_guard = in test_migrate_key_app_to_app() localVariable [all …]
|