Home
last modified time | relevance | path

Searched refs:keystore (Results 1 – 25 of 206) sorted by relevance

123456789

/system/security/keystore/
Dtest-keystore50 function keystore() { function
57 run adb shell ls -al /data/misc/keystore
71 keystore system r
79 keystore root t
83 keystore system t
88 keystore system p bar
94 keystore system t
98 keystore system s
102 keystore system s ""
106 keystore system i baz quux
[all …]
Dkeystore.rc1 service keystore /system/bin/keystore /data/misc/keystore
3 user keystore
4 group keystore drmrpc readproc log
DOperationResult.cpp32 using keystore::keymaster::ErrorCode;
43 data = keystore::readKeymasterBlob(in); in readFromParcel()
44 outParams = keystore::readParamSetFromParcel(in); in readFromParcel()
53 keystore::writeKeymasterBlob(data, out); in writeToParcel()
54 keystore::writeParamSetToParcel(outParams, out); in writeToParcel()
58 OperationResult operationFailed(const ::keystore::KeyStoreServiceReturnCode& error) { in operationFailed()
Dkeystore_cli_v2.cpp42 using keystore::KeystoreClient;
46 using android::security::keystore::IKeystoreService;
51 using namespace keystore;
83 static_cast<KeystoreClient*>(new keystore::KeystoreClientImpl)); in CreateKeystoreInstance()
102 std::unique_ptr<KeystoreClient> keystore = CreateKeystoreInstance(); in TestKey() local
106 keystore->generateKey("tmp", parameters, 0 /*flags*/, &hardware_enforced_characteristics, in TestKey()
114 result = keystore->deleteKey("tmp"); in TestKey()
285 std::unique_ptr<KeystoreClient> keystore = CreateKeystoreInstance(); in AddEntropy() local
286 int32_t result = keystore->addRandomNumberGeneratorEntropy(input, flags).getErrorCode(); in AddEntropy()
293 std::unique_ptr<KeystoreClient> keystore = CreateKeystoreInstance(); in GenerateKey() local
[all …]
Dkeystore_main.cpp47 using ::android::system::wifi::keystore::V1_0::IKeystore;
48 using ::android::system::wifi::keystore::V1_0::implementation::Keystore;
56 using ::keystore::keymaster::support::Keymaster;
57 using ::keystore::keymaster::support::Keymaster3;
58 using ::keystore::keymaster::support::Keymaster4;
60 using keystore::KeymasterDevices;
126 auto fbdev = android::keystore::makeSoftwareKeymasterDevice(); in initializeKeymasters()
154 android::sp<keystore::KeyStore> keyStore( in main()
155 new keystore::KeyStore(kmDevices, minimalAllowedSecurityLevelForNewKeys)); in main()
158 android::sp<keystore::KeyStoreService> service = new keystore::KeyStoreService(keyStore); in main()
DKeymasterArguments.cpp29 data_ = keystore::readParamSetFromParcel(*in); in readFromParcel()
34 return keystore::writeParamSetToParcel(data_, out); in writeToParcel()
37 KeymasterArguments::KeymasterArguments(hardware::hidl_vec<keystore::KeyParameter>&& other) in KeymasterArguments()
40 KeymasterArguments::KeymasterArguments(const hardware::hidl_vec<keystore::KeyParameter>& other) in KeymasterArguments()
DAndroid.bp28 name: "keystore",
58 "android.system.wifi.keystore@1.0",
81 init_rc: ["keystore.rc"],
180 // Library for keystore clients
223 // Library for keystore clients using the WiFi HIDL interface
230 "android.system.wifi.keystore@1.0",
287 "binder/android/security/keystore/IKeystoreCertificateChainCallback.aidl",
288 "binder/android/security/keystore/IKeystoreExportKeyCallback.aidl",
289 "binder/android/security/keystore/IKeystoreKeyCharacteristicsCallback.aidl",
290 "binder/android/security/keystore/IKeystoreOperationResultCallback.aidl",
[all …]
Dkeystore_get.cpp24 using namespace keystore;
29 sp<android::security::keystore::IKeystoreService> service = in keystore_get()
30 interface_cast<android::security::keystore::IKeystoreService>(binder); in keystore_get()
/system/sepolicy/public/
Dkeystore.te1 type keystore, domain;
4 # keystore daemon
5 typeattribute keystore mlstrustedsubject;
6 binder_use(keystore)
7 binder_service(keystore)
8 binder_call(keystore, system_server)
10 allow keystore keystore_data_file:dir create_dir_perms;
11 allow keystore keystore_data_file:notdevfile_class_set create_file_perms;
12 allow keystore keystore_exec:file { getattr };
14 add_service(keystore, keystore_service)
[all …]
/system/sepolicy/prebuilts/api/29.0/public/
Dkeystore.te1 type keystore, domain;
4 # keystore daemon
5 typeattribute keystore mlstrustedsubject;
6 binder_use(keystore)
7 binder_service(keystore)
8 binder_call(keystore, system_server)
10 allow keystore keystore_data_file:dir create_dir_perms;
11 allow keystore keystore_data_file:notdevfile_class_set create_file_perms;
12 allow keystore keystore_exec:file { getattr };
14 add_service(keystore, keystore_service)
[all …]
/system/sepolicy/prebuilts/api/28.0/public/
Dkeystore.te1 type keystore, domain;
4 # keystore daemon
5 typeattribute keystore mlstrustedsubject;
6 binder_use(keystore)
7 binder_service(keystore)
8 binder_call(keystore, system_server)
10 allow keystore keystore_data_file:dir create_dir_perms;
11 allow keystore keystore_data_file:notdevfile_class_set create_file_perms;
12 allow keystore keystore_exec:file { getattr };
14 add_service(keystore, keystore_service)
[all …]
/system/sepolicy/prebuilts/api/27.0/public/
Dkeystore.te1 type keystore, domain;
4 # keystore daemon
5 typeattribute keystore mlstrustedsubject;
6 binder_use(keystore)
7 binder_service(keystore)
8 binder_call(keystore, system_server)
10 allow keystore keystore_data_file:dir create_dir_perms;
11 allow keystore keystore_data_file:notdevfile_class_set create_file_perms;
12 allow keystore keystore_exec:file { getattr };
14 add_service(keystore, keystore_service)
[all …]
/system/sepolicy/prebuilts/api/26.0/public/
Dkeystore.te1 type keystore, domain;
4 # keystore daemon
5 typeattribute keystore mlstrustedsubject;
6 binder_use(keystore)
7 binder_service(keystore)
8 binder_call(keystore, system_server)
10 allow keystore keystore_data_file:dir create_dir_perms;
11 allow keystore keystore_data_file:notdevfile_class_set create_file_perms;
12 allow keystore keystore_exec:file { getattr };
14 add_service(keystore, keystore_service)
[all …]
/system/security/keystore/include/keystore/
Dkeystore_client.h28 namespace keystore {
80 const keystore::AuthorizationSet& input_parameters,
83 keystore::AuthorizationSet* output_parameters,
97 generateKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters,
98 int32_t flags, keystore::AuthorizationSet* hardware_enforced_characteristics,
99 keystore::AuthorizationSet* software_enforced_characteristics) = 0;
106 keystore::AuthorizationSet* hardware_enforced_characteristics,
107 keystore::AuthorizationSet* software_enforced_characteristics) = 0;
115 importKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters,
117 keystore::AuthorizationSet* hardware_enforced_characteristics,
[all …]
Dkeystore_client_impl.h30 namespace keystore {
43 const keystore::AuthorizationSet& input_parameters,
45 keystore::AuthorizationSet* output_parameters,
50 generateKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters,
51 int32_t flags, keystore::AuthorizationSet* hardware_enforced_characteristics,
52 keystore::AuthorizationSet* software_enforced_characteristics) override;
55 keystore::AuthorizationSet* hardware_enforced_characteristics,
56 keystore::AuthorizationSet* software_enforced_characteristics) override;
58 importKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters,
60 keystore::AuthorizationSet* hardware_enforced_characteristics,
[all …]
Dkeystore_promises.h28 namespace keystore {
50 CallbackPromise<::android::security::keystore::BnKeystoreOperationResultCallback,
54 CallbackPromise<::android::security::keystore::BnKeystoreResponseCallback,
55 ::android::security::keystore::KeystoreResponse>;
58 CallbackPromise<::android::security::keystore::BnKeystoreKeyCharacteristicsCallback,
59 std::tuple<::android::security::keystore::KeystoreResponse,
62 CallbackPromise<::android::security::keystore::BnKeystoreExportKeyCallback,
66 CallbackPromise<::android::security::keystore::BnKeystoreCertificateChainCallback,
67 std::tuple<::android::security::keystore::KeystoreResponse,
DOperationResult.h34 ::keystore::KeyStoreServiceReturnCode resultCode;
38 ::keystore::hidl_vec<uint8_t> data;
39 ::keystore::hidl_vec<::keystore::KeyParameter> outParams;
42 OperationResult operationFailed(const ::keystore::KeyStoreServiceReturnCode& error);
DKeymasterArguments.h30 KeymasterArguments(hardware::hidl_vec<::keystore::KeyParameter>&& other);
31 explicit KeymasterArguments(const hardware::hidl_vec<::keystore::KeyParameter>& other);
36 const inline hardware::hidl_vec<::keystore::KeyParameter>& getParameters() const { in getParameters()
41 hardware::hidl_vec<::keystore::KeyParameter> data_;
/system/sepolicy/private/
Dkeystore.te1 typeattribute keystore coredomain;
3 init_daemon_domain(keystore)
6 hal_client_domain(keystore, hal_keymaster)
9 hal_client_domain(keystore, hal_confirmationui)
12 allow keystore platform_app:binder call;
15 typeattribute keystore wifi_keystore_service_server;
16 add_hwservice(keystore, system_wifi_keystore_hwservice)
19 get_prop(keystore, device_logging_prop)
/system/sepolicy/prebuilts/api/29.0/private/
Dkeystore.te1 typeattribute keystore coredomain;
3 init_daemon_domain(keystore)
6 hal_client_domain(keystore, hal_keymaster)
9 hal_client_domain(keystore, hal_confirmationui)
12 allow keystore platform_app:binder call;
15 typeattribute keystore wifi_keystore_service_server;
16 add_hwservice(keystore, system_wifi_keystore_hwservice)
19 get_prop(keystore, device_logging_prop)
/system/sepolicy/prebuilts/api/28.0/private/
Dkeystore.te1 typeattribute keystore coredomain;
3 init_daemon_domain(keystore)
6 hal_client_domain(keystore, hal_keymaster)
9 hal_client_domain(keystore, hal_confirmationui)
12 allow keystore platform_app:binder call;
15 typeattribute keystore wifi_keystore_service_server;
16 add_hwservice(keystore, system_wifi_keystore_hwservice)
19 get_prop(keystore, device_logging_prop)
/system/sepolicy/prebuilts/api/26.0/private/
Dkeystore.te1 typeattribute keystore coredomain;
2 typeattribute keystore domain_deprecated;
4 init_daemon_domain(keystore)
7 hal_client_domain(keystore, hal_keymaster)
10 typeattribute keystore wifi_keystore_service_server;
11 add_hwservice(keystore, system_wifi_keystore_hwservice)
/system/sepolicy/prebuilts/api/27.0/private/
Dkeystore.te1 typeattribute keystore coredomain;
2 typeattribute keystore domain_deprecated;
4 init_daemon_domain(keystore)
7 hal_client_domain(keystore, hal_keymaster)
10 typeattribute keystore wifi_keystore_service_server;
11 add_hwservice(keystore, system_wifi_keystore_hwservice)
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/
DVtsHalWifiKeystoreV1_0TargetTest.cpp34 using namespace android::security::keystore;
36 using android::security::keystore::IKeystoreService;
37 using android::system::wifi::keystore::V1_0::IKeystore;
59 keystore = IKeystore::getService(); in SetUp()
60 ASSERT_TRUE(keystore); in SetUp()
113 keystore::KeyStoreNativeReturnCode wrappedResult(result); in deleteKey()
140 keystore::AuthorizationSetBuilder key_parameters; in generateKey()
150 .Authorization(keystore::keymaster::TAG_BLOCK_MODE, keystore::keymaster::BlockMode::CBC) in generateKey()
151 .Authorization(keystore::keymaster::TAG_NO_AUTH_REQUIRED); in generateKey()
153 sp<keystore::KeyCharacteristicsPromise> promise(new keystore::KeyCharacteristicsPromise); in generateKey()
[all …]
/system/bt/btif/include/
Dbtif_keystore.h42 BtifKeystore(keystore::KeystoreClient* keystore_client);
71 std::unique_ptr<keystore::KeystoreClient> keystore_client_;
73 keystore::KeyStoreNativeReturnCode GenerateKey(const std::string& name,

123456789