/system/security/keystore/ |
D | test-keystore | 50 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 …]
|
D | keystore.rc | 1 service keystore /system/bin/keystore /data/misc/keystore 3 user keystore 4 group keystore drmrpc readproc log
|
D | OperationResult.cpp | 33 using ::keystore::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()
|
D | KeymasterArguments.cpp | 29 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()
|
D | keystore_cli_v2.cpp | 42 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 …]
|
D | Android.bp | 28 name: "keystore", 78 init_rc: ["keystore.rc"], 174 // Library for keystore clients 215 // Library used by both keystore and credstore for generating the ASN.1 stored 240 // Library for keystore clients using the WiFi HIDL interface 247 "android.system.wifi.keystore@1.0", 297 "binder/android/security/keystore/ICredstoreTokenCallback.aidl", 298 "binder/android/security/keystore/IKeystoreCertificateChainCallback.aidl", 299 "binder/android/security/keystore/IKeystoreExportKeyCallback.aidl", 300 "binder/android/security/keystore/IKeystoreKeyCharacteristicsCallback.aidl", [all …]
|
D | keystore_main.cpp | 50 using ::keystore::keymaster::support::Keymaster; 51 using ::keystore::keymaster::support::Keymaster3; 52 using ::keystore::keymaster::support::Keymaster4; 54 using keystore::KeymasterDevices; 120 auto fbdev = android::keystore::makeSoftwareKeymasterDevice(); in initializeKeymasters() 148 android::sp<keystore::KeyStore> keyStore( in main() 149 new keystore::KeyStore(kmDevices, minimalAllowedSecurityLevelForNewKeys)); in main() 152 android::sp<keystore::KeyStoreService> service = new keystore::KeyStoreService(keyStore); in main()
|
/system/sepolicy/public/ |
D | keystore.te | 1 type keystore, domain; 4 # keystore daemon 5 typeattribute keystore mlstrustedsubject; 6 binder_use(keystore) 7 binder_service(keystore) 8 binder_call(keystore, system_server) 9 binder_call(keystore, wificond) 11 allow keystore keystore_data_file:dir create_dir_perms; 12 allow keystore keystore_data_file:notdevfile_class_set create_file_perms; 13 allow keystore keystore_exec:file { getattr }; [all …]
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | keystore.te | 1 type keystore, domain; 4 # keystore daemon 5 typeattribute keystore mlstrustedsubject; 6 binder_use(keystore) 7 binder_service(keystore) 8 binder_call(keystore, system_server) 9 binder_call(keystore, wificond) 11 allow keystore keystore_data_file:dir create_dir_perms; 12 allow keystore keystore_data_file:notdevfile_class_set create_file_perms; 13 allow keystore keystore_exec:file { getattr }; [all …]
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | keystore.te | 1 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/ |
D | keystore.te | 1 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/ |
D | keystore.te | 1 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/ |
D | keystore.te | 1 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/ |
D | keystore_client.h | 30 namespace keystore { 82 const keystore::AuthorizationSet& input_parameters, 85 keystore::AuthorizationSet* output_parameters, 99 generateKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters, 100 int32_t flags, keystore::AuthorizationSet* hardware_enforced_characteristics, 101 keystore::AuthorizationSet* software_enforced_characteristics) = 0; 108 keystore::AuthorizationSet* hardware_enforced_characteristics, 109 keystore::AuthorizationSet* software_enforced_characteristics) = 0; 117 importKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters, 119 keystore::AuthorizationSet* hardware_enforced_characteristics, [all …]
|
D | keystore_client_impl.h | 31 namespace keystore { 44 const keystore::AuthorizationSet& input_parameters, 46 keystore::AuthorizationSet* output_parameters, 51 generateKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters, 52 int32_t flags, keystore::AuthorizationSet* hardware_enforced_characteristics, 53 keystore::AuthorizationSet* software_enforced_characteristics) override; 56 keystore::AuthorizationSet* hardware_enforced_characteristics, 57 keystore::AuthorizationSet* software_enforced_characteristics) override; 59 importKey(const std::string& key_name, const keystore::AuthorizationSet& key_parameters, 61 keystore::AuthorizationSet* hardware_enforced_characteristics, [all …]
|
D | keystore_promises.h | 28 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,
|
D | OperationResult.h | 34 ::keystore::KeyStoreServiceReturnCode resultCode; 38 ::keystore::hidl_vec<uint8_t> data; 39 ::keystore::hidl_vec<::keystore::KeyParameter> outParams; 42 OperationResult operationFailed(const ::keystore::KeyStoreServiceReturnCode& error);
|
D | KeymasterArguments.h | 30 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/prebuilts/api/28.0/private/ |
D | keystore.te | 1 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/ |
D | keystore.te | 1 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/ |
D | keystore.te | 1 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/ |
D | keystore.te | 1 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/private/ |
D | keystore.te | 1 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 get_prop(keystore, device_logging_prop)
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | keystore.te | 1 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 get_prop(keystore, device_logging_prop)
|
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/ |
D | VtsHalWifiKeystoreV1_0TargetTest.cpp | 36 using namespace android::security::keystore; 38 using android::security::keystore::IKeystoreService; 39 using android::system::wifi::keystore::V1_0::IKeystore; 61 keystore = IKeystore::getService(GetParam()); in SetUp() 62 ASSERT_TRUE(keystore); in SetUp() 115 keystore::KeyStoreNativeReturnCode wrappedResult(result); in deleteKey() 142 keystore::AuthorizationSetBuilder key_parameters; in generateKey() 152 .Authorization(keystore::keymaster::TAG_BLOCK_MODE, keystore::keymaster::BlockMode::CBC) in generateKey() 153 .Authorization(keystore::keymaster::TAG_NO_AUTH_REQUIRED); in generateKey() 155 sp<keystore::KeyCharacteristicsPromise> promise(new keystore::KeyCharacteristicsPromise); in generateKey() [all …]
|