/system/security/keystore2/src/ |
D | raw_device.rs | 194 if let Some((key_id_guard, mut key_entry)) = lookup { in lookup_or_generate_key() 210 &key_id_guard, in lookup_or_generate_key() 225 return Ok((key_id_guard, key_blob)); in lookup_or_generate_key() 238 .and_then(|(key_id_guard, mut key_entry)| { in lookup_or_generate_key() 240 key_id_guard, in lookup_or_generate_key() 256 key_id_guard: &KeyIdGuard, in upgrade_keyblob_if_required_with() 274 key_id_guard, in upgrade_keyblob_if_required_with() 296 key_id_guard: &KeyIdGuard, in use_key_in_one_step() 306 .upgrade_keyblob_if_required_with(db, key_id_guard, key_blob, |blob| { in use_key_in_one_step()
|
D | attestation_key_utils.rs | 43 key_id_guard: KeyIdGuard, 86 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() 105 let (key_id_guard, mut key_entry) = db in load_attest_key_blob_and_cert() 123 Ok((key_id_guard, blob, cert, blob_metadata)) in load_attest_key_blob_and_cert()
|
D | security_level.rs | 230 let (km_blob, key_properties, key_id_guard, blob_metadata) = match key.domain { in create_operation() 258 let (key_id_guard, mut key_entry) = DB in create_operation() 287 Some((key_id_guard.id(), key_entry.into_key_parameters())), in create_operation() 288 Some(key_id_guard), in create_operation() 327 key_id_guard, in create_operation() 560 key_id_guard, in generate_key() 566 Some(key_id_guard), in generate_key() 815 key_id_guard: KeyIdGuard, in store_upgraded_keyblob() 832 &key_id_guard, in store_upgraded_keyblob() 843 mut key_id_guard: Option<KeyIdGuard>, in upgrade_keyblob_if_required_with() [all …]
|
D | service.rs | 134 let (key_id_guard, mut key_entry) = DB in get_key_entry() 162 nspace: key_id_guard.id(), in get_key_entry() 210 if let Some((key_id_guard, _key_entry)) = entry { in update_subcomponent() 211 db.set_blob(&key_id_guard, SubComponentType::CERT, public_cert, None) in update_subcomponent() 214 db.set_blob(&key_id_guard, SubComponentType::CERT_CHAIN, certificate_chain, None) in update_subcomponent()
|
D | boot_level_keys.rs | 137 let (key_id_guard, key_entry) = km_dev in get_level_zero_key() 167 &key_id_guard, in get_level_zero_key()
|
D | super_key.rs | 204 key_id_guard: &KeyIdGuard, in decrypt() 226 key_id_guard, in decrypt() 641 let (key_id_guard, key_entry) = in encrypt_with_hybrid_super_key() 656 SuperKeyIdentifier::DatabaseId(key_id_guard.id()).add_to_metadata(&mut metadata); in encrypt_with_hybrid_super_key() 998 let (key_id_guard, key_entry) = db in try_unlock_user_with_biometric() 1019 &key_id_guard, in try_unlock_user_with_biometric() 1027 &key_id_guard, in try_unlock_user_with_biometric()
|
D | maintenance.rs | 251 let (key_id_guard, _) = LEGACY_IMPORTER in migrate_key_namespace() 267 db.borrow_mut().migrate_key_namespace(key_id_guard, destination, calling_uid, |k| { in migrate_key_namespace()
|
D | database.rs | 1675 key_id_guard: KeyIdGuard, in migrate_key_namespace() 1722 params![alias, destination.domain.0, destination.nspace, key_id_guard.id()], in migrate_key_namespace() 2194 let key_id_guard = match key.domain { in load_key_entry_internal() localVariable 2223 let (key_id_guard, tx) = match key_id_guard { in load_key_entry_internal() 2230 let key_id_guard = KEY_ID_LOCK.get(key_id); in load_key_entry_internal() localVariable 2251 (key_id_guard, tx) in load_key_entry_internal() 2255 Some(key_id_guard) => (key_id_guard, tx), in load_key_entry_internal() 2259 Self::load_key_components(&tx, load_bits, key_id_guard.id()).context(ks_err!())?; in load_key_entry_internal() 2263 Ok((key_id_guard, key_entry)) in load_key_entry_internal() 3819 let key_id_guard = in test_migrate_key_app_to_app() localVariable [all …]
|