Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Dservice.rs192 key: &KeyDescriptor, in update_subcomponent()
273 ) -> Result<KeyDescriptor> { in get_key_descriptor_for_lookup()
309 fn list_entries(&self, domain: Domain, namespace: i64) -> Result<Vec<KeyDescriptor>> { in list_entries()
340 ) -> Result<Vec<KeyDescriptor>> { in list_entries_batched()
366 key: &KeyDescriptor, in grant()
369 ) -> Result<KeyDescriptor> { in grant()
390 fn ungrant(&self, key: &KeyDescriptor, grantee_uid: i32) -> Result<()> { in ungrant()
418 key: &KeyDescriptor, in updateSubcomponent()
425 fn listEntries(&self, domain: Domain, namespace: i64) -> binder::Result<Vec<KeyDescriptor>> { in listEntries()
437 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()
69 fn log_key_event(tag: u32, key: &KeyDescriptor, calling_app: uid_t, success: bool) { in log_key_event()
Dattestation_key_utils.rs55 key: &KeyDescriptor, in get_attest_key_info()
57 attest_key_descriptor: Option<&KeyDescriptor>, in get_attest_key_info()
83 key: &KeyDescriptor, in get_user_generated_attestation_key()
98 key: &KeyDescriptor, in load_attest_key_blob_and_cert()
Dsecurity_level.rs125 key: KeyDescriptor, in store_new_key()
232 key: &KeyDescriptor, in create_operation()
420 key: &KeyDescriptor, in add_required_parameters()
531 key: &KeyDescriptor, in generate_key()
532 attest_key_descriptor: Option<&KeyDescriptor>, in generate_key()
688 key: &KeyDescriptor, in import_key()
689 _attestation_key: Option<&KeyDescriptor>, in import_key()
747 key: &KeyDescriptor, in import_wrapped_key()
748 wrapping_key: &KeyDescriptor, in import_wrapped_key()
972 storage_key: &KeyDescriptor, in convert_storage_key_to_ephemeral()
[all …]
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()
Dutils.rs98 key: &KeyDescriptor, in check_key_permission()
515 legacy_descriptors: &[KeyDescriptor], in merge_and_filter_key_entry_lists()
516 db_descriptors: &[KeyDescriptor], in merge_and_filter_key_entry_lists()
518 ) -> Vec<KeyDescriptor> { in merge_and_filter_key_entry_lists()
545 key_descriptors: &[KeyDescriptor], in estimate_safe_amount_to_return()
590 ) -> Result<Vec<KeyDescriptor>> { in list_key_entries()
Dpermission.rs288 key: &KeyDescriptor, in check_grant_permission()
343 key: &KeyDescriptor, in check_key_permission()
Ddatabase.rs1831 destination: &KeyDescriptor, in migrate_key_namespace()
1898 key: &KeyDescriptor, in store_new_key()
1980 key: &KeyDescriptor, in store_new_certificate()
2027 fn load_key_entry_id(tx: &Transaction, key: &KeyDescriptor, key_type: KeyType) -> Result<i64> { in load_key_entry_id()
2071 key: &KeyDescriptor, in load_access_tuple()
2312 key: &KeyDescriptor, in load_key_entry()
2316 check_permission: impl Fn(&KeyDescriptor, Option<KeyPermSet>) -> Result<()>, in load_key_entry()
2343 key: &KeyDescriptor, in load_key_entry_internal()
2347 check_permission: &impl Fn(&KeyDescriptor, Option<KeyPermSet>) -> Result<()>, in load_key_entry_internal()
2464 key: &KeyDescriptor, in unbind_key()
[all …]
Dremote_provisioning.rs84 key: &KeyDescriptor, in get_rkpd_attestation_key_and_certs()
Dmaintenance.rs352 fn migrate_key_namespace(source: &KeyDescriptor, destination: &KeyDescriptor) -> Result<()> { in migrate_key_namespace()
620 source: &KeyDescriptor, in migrateKeyNamespace()
621 destination: &KeyDescriptor, in migrateKeyNamespace()
Dlegacy_importer.rs204 pub fn list_uid(&self, domain: Domain, namespace: i64) -> Result<Vec<KeyDescriptor>> { in list_uid()
294 key: &KeyDescriptor, in with_try_import()
588 mut key: KeyDescriptor, in check_and_import()
/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_keystore_engine_tests.rs35 ) -> binder::Result<KeyDescriptor> { in generate_rsa_key_and_grant_to_user()
72 ) -> binder::Result<KeyDescriptor> { in generate_ec_key_and_grant_to_user()
Dkeystore2_client_test_utils.rs213 key: &KeyDescriptor, in perform_sample_hmac_sign_verify_op()
384 key: &KeyDescriptor, in perform_sample_sym_key_encrypt_op()
415 key: &KeyDescriptor, in perform_sample_sym_key_decrypt_op()
466 key: &KeyDescriptor, in encrypt_secure_key()
Dkeystore2_client_key_agreement_tests.rs51 keymint_key: &KeyDescriptor, in check_agreement()
Dkeystore2_client_grant_key_tests.rs37 fn granted_key_descriptor(nspace: i64) -> KeyDescriptor { in granted_key_descriptor()
53 ) -> Result<KeyDescriptor, Error> { in generate_and_grant_selinux_key()
/system/security/keystore2/src/utils/
Dtests.rs32 fn create_key_descriptors_from_aliases(key_aliases: &[&str]) -> Vec<KeyDescriptor> { in create_key_descriptors_from_aliases()
/system/security/keystore2/test_utils/
Dkey_generations.rs715 attest_key: Option<&KeyDescriptor>, in generate_rsa_key()
984 attest_key: &KeyDescriptor, in generate_ec_256_attested_key()
1467 attest_key: &KeyDescriptor, in generate_key_with_attest_id()