Lines Matching refs:KEYSTORE_UUID

322 pub static KEYSTORE_UUID: Uuid = Uuid([  variable
1284 &KEYSTORE_UUID, in store_super_key()
3397 db.create_key_entry(&Domain::APP, &100, KeyType::Client, &KEYSTORE_UUID)?; in test_persistence_for_files()
3416 db.create_key_entry(&Domain::APP, &100, KeyType::Client, &KEYSTORE_UUID)?; in test_create_key_entry()
3417 db.create_key_entry(&Domain::SELINUX, &101, KeyType::Client, &KEYSTORE_UUID)?; in test_create_key_entry()
3421 assert_eq!(extractor(&entries[0]), (Domain::APP, 100, None, KEYSTORE_UUID)); in test_create_key_entry()
3422 assert_eq!(extractor(&entries[1]), (Domain::SELINUX, 101, None, KEYSTORE_UUID)); in test_create_key_entry()
3426 db.create_key_entry(&Domain::GRANT, &102, KeyType::Client, &KEYSTORE_UUID), in test_create_key_entry()
3430 db.create_key_entry(&Domain::BLOB, &103, KeyType::Client, &KEYSTORE_UUID), in test_create_key_entry()
3434 db.create_key_entry(&Domain::KEY_ID, &104, KeyType::Client, &KEYSTORE_UUID), in test_create_key_entry()
3451 &KEYSTORE_UUID, in test_add_unsigned_key()
3453 let keys = db.fetch_unsigned_attestation_keys(5, &KEYSTORE_UUID)?; in test_add_unsigned_key()
3468 db.retrieve_attestation_key_and_cert_chain(Domain::APP, namespace, &KEYSTORE_UUID)?; in test_store_signed_attestation_certificate_chain()
3487 let mut status = db.get_attestation_pool_status(9 /* expiration */, &KEYSTORE_UUID)?; in test_get_attestation_pool_status()
3493 db.get_attestation_pool_status(15 /* expiration */, &KEYSTORE_UUID)?.expiring, in test_get_attestation_pool_status()
3497 db.get_attestation_pool_status(25 /* expiration */, &KEYSTORE_UUID)?.expiring, in test_get_attestation_pool_status()
3501 db.get_attestation_pool_status(60 /* expiration */, &KEYSTORE_UUID)?.expiring, in test_get_attestation_pool_status()
3513 &KEYSTORE_UUID, in test_get_attestation_pool_status()
3515 status = db.get_attestation_pool_status(0 /* expiration */, &KEYSTORE_UUID)?; in test_get_attestation_pool_status()
3524 &KEYSTORE_UUID, in test_get_attestation_pool_status()
3526 status = db.get_attestation_pool_status(0 /* expiration */, &KEYSTORE_UUID)?; in test_get_attestation_pool_status()
3563 db.retrieve_attestation_key_and_cert_chain(Domain::APP, namespace, &KEYSTORE_UUID)?; in test_remove_expired_certs()
3573 &KEYSTORE_UUID, in test_remove_expired_certs()
3579 &KEYSTORE_UUID, in test_remove_expired_certs()
3602 db.create_key_entry(&Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_delete_all_attestation_keys()
3623 db.create_key_entry(&Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_rebind_alias()
3624 db.create_key_entry(&Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_rebind_alias()
3629 (Some(Domain::APP), Some(42), None, Some(KEYSTORE_UUID)) in test_rebind_alias()
3633 (Some(Domain::APP), Some(42), None, Some(KEYSTORE_UUID)) in test_rebind_alias()
3642 (Some(Domain::APP), Some(42), Some("foo"), Some(KEYSTORE_UUID)) in test_rebind_alias()
3646 (Some(Domain::APP), Some(42), None, Some(KEYSTORE_UUID)) in test_rebind_alias()
3653 assert_eq!(extractor(&entries[0]), (None, None, None, Some(KEYSTORE_UUID))); in test_rebind_alias()
3656 (Some(Domain::APP), Some(42), Some("foo"), Some(KEYSTORE_UUID)) in test_rebind_alias()
3681 assert_eq!(extractor(&entries[0]), (None, None, None, Some(KEYSTORE_UUID))); in test_rebind_alias()
3684 (Some(Domain::APP), Some(42), Some("foo"), Some(KEYSTORE_UUID)) in test_rebind_alias()
3700 params![KEYSTORE_UUID, KEYSTORE_UUID], in test_grant_ungrant()
3851 blob_metadata.add(BlobMetaEntry::KmUuid(KEYSTORE_UUID)); in test_set_blob()
3962 &KEYSTORE_UUID, in test_insert_and_load_certificate_entry_domain_app()
5000 db.create_attestation_key_entry(&public_key, &raw_public_key, &priv_key, &KEYSTORE_UUID)?; in load_attestation_key_pool()
5006 &KEYSTORE_UUID, in load_attestation_key_pool()
5008 db.assign_attestation_key(Domain::APP, namespace, &KEYSTORE_UUID)?; in load_attestation_key_pool()
5248 let key_id = db.create_key_entry(&domain, &namespace, KeyType::Client, &KEYSTORE_UUID)?; in make_test_key_entry()
5254 blob_metadata.add(BlobMetaEntry::KmUuid(KEYSTORE_UUID)); in make_test_key_entry()
5283 blob_metadata.add(BlobMetaEntry::KmUuid(KEYSTORE_UUID)); in make_test_key_entry_test_vector()
5293 km_uuid: KEYSTORE_UUID, in make_test_key_entry_test_vector()
5307 let key_id = db.create_key_entry(&domain, &namespace, KeyType::Client, &KEYSTORE_UUID)?; in make_bootlevel_key_entry()
5312 blob_metadata.add(BlobMetaEntry::KmUuid(KEYSTORE_UUID)); in make_bootlevel_key_entry()
5343 blob_metadata.add(BlobMetaEntry::KmUuid(KEYSTORE_UUID)); in make_bootlevel_test_key_entry_test_vector()
5353 km_uuid: KEYSTORE_UUID, in make_bootlevel_test_key_entry_test_vector()
5598 let key_id = db.create_key_entry(&Domain::APP, &42, KeyType::Client, &KEYSTORE_UUID)?; in test_verify_key_table_size_reporting()