Lines Matching refs:key_entry
1326 let key_entry = Self::load_key_components(&tx, KeyEntryLoadBits::KM, id) in load_super_key() localVariable
1328 Ok(Some((KEY_ID_LOCK.get(id), key_entry))) in load_super_key()
2728 let key_entry = Self::load_key_components(&tx, load_bits, key_id_guard.id()) in load_key_entry_internal() localVariable
2733 Ok((key_id_guard, key_entry)) in load_key_entry_internal()
3898 let (_key_guard, key_entry) = db in test_insert_and_load_full_keyentry_domain_app()
3912 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_insert_and_load_full_keyentry_domain_app()
3966 let (_key_guard, mut key_entry) = db in test_insert_and_load_certificate_entry_domain_app()
3981 assert!(key_entry.pure_cert()); in test_insert_and_load_certificate_entry_domain_app()
3982 assert!(key_entry.cert().is_none()); in test_insert_and_load_certificate_entry_domain_app()
3983 assert_eq!(key_entry.take_cert_chain(), Some(TEST_CERT_BLOB.to_vec())); in test_insert_and_load_certificate_entry_domain_app()
4026 let (_key_guard, key_entry) = db in test_insert_and_load_full_keyentry_domain_selinux()
4040 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_insert_and_load_full_keyentry_domain_selinux()
4083 let (_, key_entry) = db in test_insert_and_load_full_keyentry_domain_key_id()
4093 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_insert_and_load_full_keyentry_domain_key_id()
4129 let (_key_guard, key_entry) = db.load_key_entry( in test_check_and_update_key_usage_count_with_limited_use_key()
4138 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()
4192 let (_key_guard, key_entry) = db in test_insert_and_load_full_keyentry_from_grant()
4200 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_insert_and_load_full_keyentry_from_grant()
4252 let (_, key_entry) = db in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4267 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()
4269 let (_, key_entry) = db in test_insert_and_load_full_keyentry_from_grant_by_key_id()
4284 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()
4339 let (_, key_entry) = db in test_migrate_key_app_to_app()
4354 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_migrate_key_app_to_app()
4408 let (_, key_entry) = db in test_migrate_key_app_to_selinux()
4423 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_migrate_key_app_to_selinux()
4495 let (_, key_entry) = db in test_upgrade_0_to_1()
4514 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id_untouched1, None)); in test_upgrade_0_to_1()
4515 let (_, key_entry) = db in test_upgrade_0_to_1()
4534 assert_eq!(key_entry, make_bootlevel_test_key_entry_test_vector(key_id_untouched2, false)); in test_upgrade_0_to_1()
4535 let (_, key_entry) = db in test_upgrade_0_to_1()
4554 assert_eq!(key_entry, make_bootlevel_test_key_entry_test_vector(key_id_deleted, true)); in test_upgrade_0_to_1()
4561 let (_, key_entry) = db in test_upgrade_0_to_1()
4580 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id_untouched1, None)); in test_upgrade_0_to_1()
4581 let (_, key_entry) = db in test_upgrade_0_to_1()
4600 assert_eq!(key_entry, make_bootlevel_test_key_entry_test_vector(key_id_untouched2, false)); in test_upgrade_0_to_1()
4637 let (_key_guard, key_entry) = db in test_insert_and_load_full_keyentry_domain_app_concurrently()
4651 assert_eq!(key_entry, make_test_key_entry_test_vector(key_id, None)); in test_insert_and_load_full_keyentry_domain_app_concurrently()
5484 let (_, key_entry) = db.load_super_key(&USER_SUPER_KEY, 1)?.unwrap(); in test_store_super_key()
5487 key_entry, in test_store_super_key()