Home
last modified time | relevance | path

Searched defs:KeyDescriptor (Results 1 – 17 of 17) sorted by relevance

/system/security/keystore2/src/
Dservice.rs179 key: &KeyDescriptor, in update_subcomponent()
258 ) -> Result<KeyDescriptor> { in get_key_descriptor_for_lookup()
294 fn list_entries(&self, domain: Domain, namespace: i64) -> Result<Vec<KeyDescriptor>> { in list_entries()
311 ) -> Result<Vec<KeyDescriptor>> { in list_entries_batched()
335 key: &KeyDescriptor, in grant()
338 ) -> Result<KeyDescriptor> { in grant()
357 fn ungrant(&self, key: &KeyDescriptor, grantee_uid: i32) -> Result<()> { in ungrant()
387 key: &KeyDescriptor, in updateSubcomponent()
394 fn listEntries(&self, domain: Domain, namespace: i64) -> binder::Result<Vec<KeyDescriptor>> { in listEntries()
406 key: &KeyDescriptor, in grant()
[all …]
Daudit_log.rs45 pub fn log_key_generated(key: &KeyDescriptor, calling_app: uid_t, success: bool) { in log_key_generated()
50 pub fn log_key_imported(key: &KeyDescriptor, calling_app: uid_t, success: bool) { in log_key_imported()
55 pub fn log_key_deleted(key: &KeyDescriptor, calling_app: uid_t, success: bool) { in log_key_deleted()
60 pub fn log_key_integrity_violation(key: &KeyDescriptor) { in log_key_integrity_violation()
67 fn log_key_event(tag: u32, key: &KeyDescriptor, calling_app: uid_t, success: bool) { in log_key_event()
Dattestation_key_utils.rs54 key: &KeyDescriptor, in get_attest_key_info()
56 attest_key_descriptor: Option<&KeyDescriptor>, in get_attest_key_info()
82 key: &KeyDescriptor, in get_user_generated_attestation_key()
97 key: &KeyDescriptor, in load_attest_key_blob_and_cert()
Dsecurity_level.rs117 key: KeyDescriptor, in store_new_key()
214 key: &KeyDescriptor, in create_operation()
404 key: &KeyDescriptor, in add_required_parameters()
508 key: &KeyDescriptor, in generate_key()
509 attest_key_descriptor: Option<&KeyDescriptor>, in generate_key()
630 key: &KeyDescriptor, in import_key()
631 _attestation_key: Option<&KeyDescriptor>, in import_key()
689 key: &KeyDescriptor, in import_wrapped_key()
690 wrapping_key: &KeyDescriptor, in import_wrapped_key()
906 storage_key: &KeyDescriptor, in convert_storage_key_to_ephemeral()
[all …]
Dutils.rs83 key: &KeyDescriptor, in check_key_permission()
269 legacy_descriptors: &[KeyDescriptor], in merge_and_filter_key_entry_lists()
270 db_descriptors: &[KeyDescriptor], in merge_and_filter_key_entry_lists()
272 ) -> Vec<KeyDescriptor> { in merge_and_filter_key_entry_lists()
296 key_descriptors: &[KeyDescriptor], in estimate_safe_amount_to_return()
340 ) -> Result<Vec<KeyDescriptor>> { in list_key_entries()
468 fn create_key_descriptors_from_aliases(key_aliases: &[&str]) -> Vec<KeyDescriptor> { in create_key_descriptors_from_aliases()
Draw_device.rs109 key_desc: &KeyDescriptor, in create_and_store_key()
141 pub fn internal_descriptor(alias: String) -> KeyDescriptor { in internal_descriptor()
153 key_desc: &KeyDescriptor, in lookup_from_desc()
178 key_desc: &KeyDescriptor, in lookup_or_generate_key()
Dmaintenance.rs224 fn migrate_key_namespace(source: &KeyDescriptor, destination: &KeyDescriptor) -> Result<()> { in migrate_key_namespace()
321 source: &KeyDescriptor, in migrateKeyNamespace()
322 destination: &KeyDescriptor, in migrateKeyNamespace()
Dremote_provisioning.rs89 key: &KeyDescriptor, in get_rkpd_attestation_key_and_certs()
Ddatabase.rs2160 destination: &KeyDescriptor, in migrate_key_namespace()
2227 key: &KeyDescriptor, in store_new_key()
2309 key: &KeyDescriptor, in store_new_certificate()
2356 fn load_key_entry_id(tx: &Transaction, key: &KeyDescriptor, key_type: KeyType) -> Result<i64> { in load_key_entry_id()
2399 key: &KeyDescriptor, in load_access_tuple()
2636 key: &KeyDescriptor, in load_key_entry()
2640 check_permission: impl Fn(&KeyDescriptor, Option<KeyPermSet>) -> Result<()>, in load_key_entry()
2667 key: &KeyDescriptor, in load_key_entry_internal()
2671 check_permission: &impl Fn(&KeyDescriptor, Option<KeyPermSet>) -> Result<()>, in load_key_entry_internal()
2765 key: &KeyDescriptor, in unbind_key()
[all …]
Dlegacy_importer.rs199 pub fn list_uid(&self, domain: Domain, namespace: i64) -> Result<Vec<KeyDescriptor>> { in list_uid()
289 key: &KeyDescriptor, in with_try_import()
583 mut key: KeyDescriptor, in check_and_import()
Dpermission.rs289 key: &KeyDescriptor, in check_grant_permission()
338 key: &KeyDescriptor, in check_key_permission()
/system/security/ondevice-signing/
DKeystoreHmacKey.h31 using KeyDescriptor = ::android::system::keystore2::KeyDescriptor; variable
DKeystoreKey.h34 using KeyDescriptor = ::android::system::keystore2::KeyDescriptor; variable
/system/security/keystore2/tests/
Dkeystore2_client_test_utils.rs153 key: &KeyDescriptor, in perform_sample_hmac_sign_verify_op()
315 key: &KeyDescriptor, in perform_sample_sym_key_encrypt_op()
346 key: &KeyDescriptor, in perform_sample_sym_key_decrypt_op()
386 key: &KeyDescriptor, in encrypt_secure_key()
Dkeystore2_client_key_agreement_tests.rs57 keymint_key: &KeyDescriptor, in check_agreement()
Dkeystore2_client_grant_key_tests.rs39 ) -> binder::Result<KeyDescriptor> { in generate_ec_key_and_grant_to_user()
/system/security/keystore2/test_utils/
Dkey_generations.rs422 attest_key: Option<&KeyDescriptor>, in generate_rsa_key()
648 attest_key: &KeyDescriptor, in generate_ec_256_attested_key()