Lines Matching refs:key_entry
1356 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()
4094 let (_key_guard, key_entry) = db in test_insert_and_load_full_keyentry_domain_selinux()
4108 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_insert_and_load_full_keyentry_domain_selinux()
4151 let (_, key_entry) = db in test_insert_and_load_full_keyentry_domain_key_id()
4161 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_insert_and_load_full_keyentry_domain_key_id()
4197 let (_key_guard, key_entry) = db.load_key_entry( in test_check_and_update_key_usage_count_with_limited_use_key()
4206 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, Some(122))); in test_check_and_update_key_usage_count_with_limited_use_key()
4260 let (_key_guard, key_entry) = db in test_insert_and_load_full_keyentry_from_grant()
4268 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_insert_and_load_full_keyentry_from_grant()
4320 let (_, key_entry) = db in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4335 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4337 let (_, key_entry) = db in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4352 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4407 let (_, key_entry) = db in test_migrate_key_app_to_app()
4422 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_migrate_key_app_to_app()
4476 let (_, key_entry) = db in test_migrate_key_app_to_selinux()
4491 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_migrate_key_app_to_selinux()
4563 let (_, key_entry) = db in test_upgrade_0_to_1()
4582 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id_untouched1, None)); in test_upgrade_0_to_1()
4583 let (_, key_entry) = db in test_upgrade_0_to_1()
4602 assert_eq!(key_entry, make_bootlevel_test_key_entry_test_vector(key_id_untouched2, false)); in test_upgrade_0_to_1()
4603 let (_, key_entry) = db in test_upgrade_0_to_1()
4622 assert_eq!(key_entry, make_bootlevel_test_key_entry_test_vector(key_id_deleted, true)); in test_upgrade_0_to_1()
4629 let (_, key_entry) = db in test_upgrade_0_to_1()
4648 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id_untouched1, None)); in test_upgrade_0_to_1()
4649 let (_, key_entry) = db in test_upgrade_0_to_1()
4668 assert_eq!(key_entry, make_bootlevel_test_key_entry_test_vector(key_id_untouched2, false)); in test_upgrade_0_to_1()
4705 let (_key_guard, key_entry) = db in test_insert_and_load_full_keyentry_domain_app_concurrently()
4719 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_insert_and_load_full_keyentry_domain_app_concurrently()
5630 let (_, key_entry) = db.load_super_key(&USER_SUPER_KEY, 1)?.unwrap(); in test_store_super_key()
5633 key_entry, in test_store_super_key()