Searched refs:ks2 (Results 1 – 7 of 7) sorted by relevance
/system/security/keystore/ |
D | keystore_cli_v2.cpp | 46 namespace ks2 = ::aidl::android::system::keystore2; 66 return static_cast<int>(ks2::ResponseCode::SYSTEM_ERROR); in unwrapError() 70 ks2::KeyDescriptor keyDescriptor(const std::string& alias) { in keyDescriptor() 72 .domain = ks2::Domain::APP, in keyDescriptor() 101 std::shared_ptr<ks2::IKeystoreService> CreateKeystoreInstance() { in CreateKeystoreInstance() 103 auto result = ks2::IKeystoreService::fromBinder(keystoreBinder); in CreateKeystoreInstance() 109 std::shared_ptr<ks2::IKeystoreSecurityLevel> 110 GetSecurityLevelInterface(std::shared_ptr<ks2::IKeystoreService> keystore, in GetSecurityLevelInterface() 112 std::shared_ptr<ks2::IKeystoreSecurityLevel> sec_level; in GetSecurityLevelInterface() 119 bool isHardwareEnforced(const ks2::Authorization& a) { in isHardwareEnforced() [all …]
|
/system/vold/ |
D | Keymaster.cpp | 108 auto keystore2Service = ks2::IKeystoreService::fromBinder(binder); in Keymaster() 131 ks2::KeyDescriptor in_key = { in generateKey() 132 .domain = ks2::Domain::BLOB, in generateKey() 137 ks2::KeyMetadata keyMetadata; in generateKey() 155 ks2::KeyDescriptor storageKey = { in exportKey() 156 .domain = ks2::Domain::BLOB, in exportKey() 161 ks2::EphemeralStorageKeyResponse ephemeral_key_response; in exportKey() 179 ks2::KeyDescriptor keyDesc = { in deleteKey() 180 .domain = ks2::Domain::BLOB, in deleteKey() 193 ks2::KeyDescriptor keyDesc = { in begin() [all …]
|
D | Keymaster.h | 37 namespace ks2 = ::aidl::android::system::keystore2; variable 87 KeymasterOperation(std::shared_ptr<ks2::IKeystoreOperation> ks2Op, in KeymasterOperation() 101 std::shared_ptr<ks2::IKeystoreOperation> ks2Operation; 134 std::shared_ptr<ks2::IKeystoreSecurityLevel> securityLevel;
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
D | keystore.cpp | 23 namespace ks2 = ::aidl::android::system::keystore2; 36 ks2::KeyDescriptor mkKeyDescriptor(const std::string& alias) { in mkKeyDescriptor() 47 .domain = ks2::Domain::GRANT, in mkKeyDescriptor() 54 .domain = ks2::Domain::SELINUX, in mkKeyDescriptor() 107 auto keystore2 = ks2::IKeystoreService::fromBinder(keystoreBinder); in keyStore2GetCert() 123 ks2::KeyDescriptor descriptor = mkKeyDescriptor(alias); in keyStore2GetCert() 135 descriptor.domain = ks2::Domain::GRANT; in keyStore2GetCert() 139 ks2::KeyEntryResponse response; in keyStore2GetCert() 142 if (rc.getServiceSpecificError() != int32_t(ks2::ResponseCode::KEY_NOT_FOUND)) { in keyStore2GetCert() 164 auto keystore2 = ks2::IKeystoreService::fromBinder(keystoreBinder); in keyStore2GetPubKey() [all …]
|
/system/security/keystore-engine/ |
D | keystore2_engine.cpp | 45 namespace ks2 = ::aidl::android::system::keystore2; 63 ks2::KeyDescriptor descriptor_; 64 std::shared_ptr<ks2::IKeystoreSecurityLevel> i_keystore_security_level_; 197 ks2::CreateOperationResponse response; in keystore2_sign() 338 auto keystore2 = ks2::IKeystoreService::fromBinder(keystoreBinder); in EVP_PKEY_from_keystore2() 351 ks2::KeyDescriptor descriptor = { in EVP_PKEY_from_keystore2() 352 .domain = ks2::Domain::SELINUX, in EVP_PKEY_from_keystore2() 363 descriptor.domain = ks2::Domain::GRANT; in EVP_PKEY_from_keystore2() 367 ks2::KeyEntryResponse response; in EVP_PKEY_from_keystore2()
|
/system/hardware/interfaces/wifi/keystore/1.0/vts/functional/ |
D | VtsHalWifiKeystoreV1_0TargetTest.cpp | 37 namespace ks2 = ::aidl::android::system::keystore2; 60 ks2Service = ks2::IKeystoreService::fromBinder(ks2Binder); in SetUp() 88 ks2::KeyDescriptor keyDescriptor(const std::string& alias, bool useWifiNamespace) { in keyDescriptor() 91 .domain = ks2::Domain::SELINUX, in keyDescriptor() 98 .domain = ks2::Domain::APP, in keyDescriptor() 120 rc.getServiceSpecificError() != int32_t(ks2::ResponseCode::KEY_NOT_FOUND)) { in deleteKey() 164 std::shared_ptr<ks2::IKeystoreSecurityLevel> securityLevel; in generateKey() 175 ks2::KeyMetadata keyMetadata; in generateKey() 193 std::shared_ptr<ks2::IKeystoreService> ks2Service;
|
/system/hardware/interfaces/wifi/keystore/1.0/default/test/ |
D | WifiLegacyKeystoreIntegrationTest.cpp | 35 namespace ks2 = ::aidl::android::system::keystore2;
|