Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Dattestation_key_utils.rs105 let (key_id_guard, mut key_entry) = db in load_attest_key_blob_and_cert()
115 let (blob, blob_metadata) = key_entry in load_attest_key_blob_and_cert()
119 let cert = key_entry in load_attest_key_blob_and_cert()
Dservice.rs132 let (key_id_guard, mut key_entry) = DB in get_key_entry()
146 let i_sec_level = if !key_entry.pure_cert() { in get_key_entry()
148 self.get_i_sec_level_by_uuid(key_entry.km_uuid()) in get_key_entry()
163 keySecurityLevel: self.uuid_to_sec_level(key_entry.km_uuid()), in get_key_entry()
164 certificate: key_entry.take_cert(), in get_key_entry()
165 certificateChain: key_entry.take_cert_chain(), in get_key_entry()
166 modificationTimeMs: key_entry in get_key_entry()
172 authorizations: key_parameters_to_authorizations(key_entry.into_key_parameters()), in get_key_entry()
Draw_device.rs194 if let Some((key_id_guard, mut key_entry)) = lookup { in lookup_or_generate_key()
198 let key_blob = key_entry.take_key_blob_info().and_then(|(key_blob, blob_metadata)| { in lookup_or_generate_key()
241 .and_then(|(key_id_guard, mut key_entry)| { in lookup_or_generate_key()
244 key_entry in lookup_or_generate_key()
Dsuper_key.rs196 key_entry: &KeyEntry, in decrypt()
200 let key_blob = key_entry in decrypt()
582 let key_entry = db in check_and_initialize_super_key() localVariable
596 key_entry, in check_and_initialize_super_key()
761 let (key_id_guard, key_entry) = in handle_super_encryption_on_key_init()
763 let public_key = key_entry in handle_super_encryption_on_key_init()
824 if let Some((_, key_entry)) = loaded_key { in get_or_create_super_key()
827 key_entry, in get_or_create_super_key()
854 let key_entry = db in get_or_create_super_key() localVariable
866 id: SuperKeyIdentifier::DatabaseId(key_entry.id()), in get_or_create_super_key()
[all …]
Ddatabase.rs1356 let key_entry = Self::load_key_components(tx, KeyEntryLoadBits::KM, id) in load_super_key() localVariable
1358 Ok(Some((KEY_ID_LOCK.get(id), key_entry))) in load_super_key()
2740 let key_entry = in load_key_entry_internal() localVariable
2745 Ok((key_id_guard, key_entry)) in load_key_entry_internal()
3966 let (_key_guard, key_entry) = db in test_insert_and_load_full_keyentry_domain_app()
3980 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_insert_and_load_full_keyentry_domain_app()
4034 let (_key_guard, mut key_entry) = db in test_insert_and_load_certificate_entry_domain_app()
4049 assert!(key_entry.pure_cert()); in test_insert_and_load_certificate_entry_domain_app()
4050 assert!(key_entry.cert().is_none()); in test_insert_and_load_certificate_entry_domain_app()
4051 assert_eq!(key_entry.take_cert_chain(), Some(TEST_CERT_BLOB.to_vec())); in test_insert_and_load_certificate_entry_domain_app()
[all …]
Dboot_level_keys.rs137 let (key_id_guard, key_entry) = km_dev in get_level_zero_key()
168 &key_entry, in get_level_zero_key()
Dsecurity_level.rs251 let (key_id_guard, mut key_entry) = DB in create_operation()
272 key_entry.take_key_blob_info().ok_or_else(Error::sys).context(ks_err!( in create_operation()
280 Some((key_id_guard.id(), key_entry.into_key_parameters())), in create_operation()