/ohos5.0/base/update/updater/services/package/pkg_algorithm/ |
H A D | pkg_algo_sign.h | 47 …SignAlgorithm(const std::string keyPath, uint8_t digestMethod) : keyName_(keyPath), digestMethod_(… in SignAlgorithm() 63 …VerifyAlgorithm(const std::string keyPath, uint8_t digestMethod) : SignAlgorithm(keyPath, digestMe… in VerifyAlgorithm() 78 …SignAlgorithmRsa(const std::string &keyPath, uint8_t digestMethod) : SignAlgorithm(keyPath, digest… in SignAlgorithmRsa() 87 …SignAlgorithmEcc(const std::string &keyPath, uint8_t digestMethod) : SignAlgorithm(keyPath, digest… in SignAlgorithmEcc()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_store_rekey_test.cpp | 133 auto keyPath = RDB_TEST_PATH + "key/" + name + ".pub_key"; in GetKeyFileDate() local 154 auto keyPath = RDB_TEST_PATH + "key/" + name + ".pub_key"; in ChangeKeyFileDate() local 175 auto keyPath = RDB_TEST_PATH + "key/" + name + ".pub_key"; in SaveNewKey() local 254 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable 290 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable 316 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable 347 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable 385 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable 421 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable 466 … std::string keyPath = encryptedDatabaseKeyDir + RemoveSuffix(encryptedDatabaseName) + ".pub_key"; variable
|
H A D | rdb_encrypt_decrypt_test.cpp | 196 std::string keyPath = RDB_TEST_PATH + "key/encrypted.pub_key"; variable 237 std::string keyPath = RDB_TEST_PATH + "key/" + "encrypted.pub_key"; variable 359 std::string keyPath = RDB_TEST_PATH + "key/encrypted.pub_key"; variable 385 std::string keyPath = RDB_TEST_PATH + "key/unencrypted.pub_key"; variable
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/native/kv_store/src/kvstore_impl_posix/ |
H A D | kv_store.c | 42 char* keyPath = (char *)malloc(MAX_KEY_PATH + 1); in GetResolvedPath() local 66 char* keyPath = (char *)malloc(PATH_MAX + 1); in GetValueByFile() local 101 char* keyPath = (char *)malloc(PATH_MAX + 1); in SetValueToFile() local 123 char* keyPath = (char *)malloc(MAX_KEY_PATH + 1); in DeleteValueFromFile() local 195 char* keyPath = (char *)malloc(MAX_KEY_PATH + 1); in NewItem() local
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/mock/ |
H A D | base_key_mock.cpp | 88 bool BaseKey::DecryptKeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, in DecryptKeyBlob() 97 bool BaseKey::EncryptKeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, in EncryptKeyBlob() 106 bool BaseKey::RenameKeyPath(const std::string &keyPath) in RenameKeyPath()
|
/ohos5.0/base/startup/init/simulator/parameter/src/param_impl_posix/ |
H A D | param_impl_posix.c | 72 char* keyPath = (char *)calloc(1, MAX_KEY_PATH + 1); in GetSysParam() local 111 char* keyPath = (char *)calloc(1, MAX_KEY_PATH + 1); in SetSysParam() local
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | app_clone_key_manager.cpp | 36 std::string keyPath = StringPrintf(NEED_RESTORE_PATH.c_str(), userId); in ActiveAppCloneUserKey() local
|
H A D | base_key.cpp | 285 bool BaseKey::InitKeyContext(const UserAuth &auth, const std::string &keyPath, KeyContext &keyCtx) in StoreKey() 306 bool BaseKey::SaveAndCleanKeyBuff(const std::string &keyPath, KeyContext &keyCtx) in StoreKey() 520 bool BaseKey::DoRestoreKeyEx(const UserAuth &auth, const std::string &keyPath) in StoreKey() 700 bool BaseKey::DoUpdateRestore(const UserAuth &auth, const std::string &keyPath) in StoreKey() 891 bool BaseKey::EncryptKeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, in StoreKey() 924 bool BaseKey::DecryptKeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, in StoreKey() 959 bool BaseKey::RenameKeyPath(const std::string &keyPath) in StoreKey()
|
/ohos5.0/base/update/updater/test/unittest/script/ |
H A D | script_unittest.h | 40 int32_t VerifyPackage(const std::string &packagePath, const std::string &keyPath, in VerifyPackage() 45 int32_t LoadPackage(const std::string &packagePath, const std::string &keyPath, in LoadPackage() 58 int32_t VerifyBinFile(const std::string &packagePath, const std::string &keyPath, in VerifyBinFile() 109 int32_t LoadPackageWithStream(const std::string &packagePath, const std::string &keyPath, in LoadPackageWithStream() 136 int32_t VerifyAccPackage(const std::string &packagePath, const std::string &keyPath) override in VerifyAccPackage()
|
/ohos5.0/base/update/updater/interfaces/kits/packages/ |
H A D | package.cpp | 125 const char *keyPath) in CreatePackage() 176 const char *keyPath, in VerifyPackage() 199 const std::string &keyPath, std::function<void(int32_t result, uint32_t percent)> cb) in VerifyPackageWithCallback()
|
/ohos5.0/base/update/updateservice/services/engine/src/ |
H A D | update_service_local_updater.cpp | 43 …rviceLocalUpdater::VerifyUpgradePackage(const std::string &packagePath, const std::string &keyPath, in VerifyUpgradePackage()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | security_manager.cpp | 106 auto keyPath = path + "/key/" + name + ".key"; in DelDBPassword() local 124 auto keyPath = path + "/key/" + name + ".key"; in LoadKeyFromFile() local 162 auto keyPath = path + "/key"; in SaveKeyToFile() local
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
H A D | security_manager.cpp | 56 auto keyPath = path + "/key/" + name + ".key"; in DelDBPassword() local
|
/ohos5.0/base/update/updater/test/unittest/package/ |
H A D | pkg_verify_unittest.cpp | 59 std::string keyPath = "invalid_key"; in TestExtraPackageFile() local 79 std::string keyPath = "invalid_key"; in TestExtraPackageDir() local
|
H A D | package_unittest.cpp | 212 std::string keyPath = ""; in TestVerifyPackageWithCallback() local
|
/ohos5.0/base/update/updater/test/fuzztest/package_fuzzer/ |
H A D | package_fuzzer.cpp | 198 std::string keyPath = ""; in TestVerifyPackageWithCallback() local 255 const std::string keyPath = "/data/fuzz/test/signing_cert.crt"; in FuzzVerifyPackage() local
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/ |
H A D | store_factory_test.cpp | 98 auto keyPath = path + "/key/" + name + ".key"; in GetDate() local 118 auto keyPath = path + "/key/" + name + ".key"; in ChangeKeyDate() local
|
/ohos5.0/base/update/updater/services/package/pkg_manager/ |
H A D | pkg_managerImpl.cpp | 278 int32_t PkgManagerImpl::LoadPackage(const std::string &packagePath, const std::string &keyPath, in LoadPackage() 395 …t PkgManagerImpl::LoadPackageWithStream(const std::string &packagePath, const std::string &keyPath, in LoadPackageWithStream() 685 int32_t PkgManagerImpl::VerifyPackage(const std::string &packagePath, const std::string &keyPath, in DoCreatePkgStream() 968 int32_t PkgManagerImpl::VerifyAccPackage(const std::string &packagePath, const std::string &keyPath) in DoCreatePkgStream() 1067 int32_t PkgManagerImpl::VerifyBinFile(const std::string &packagePath, const std::string &keyPath, in DoCreatePkgStream()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/native/dbm_kv_store/src/kv_store_impl_hal/ |
H A D | dbm_kv_store.c | 347 char keyPath[MAX_KEY_PATH + 1] = {0}; in DeleteValueFromFile() local 361 char keyPath[MAX_KEY_PATH + 1] = {0}; in IsNewItem() local 757 char keyPath[MAX_KEY_PATH + 1] = {0}; in GetValueByFile() local 850 char* keyPath = (char *)malloc(MAX_KEY_PATH + 1); in SetValueToFile() local 1064 char* keyPath = (char *)malloc(MAX_KEY_PATH + 1); in FindDataItem() local
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/common/ |
H A D | aes_gcm_helper.cpp | 98 std::filesystem::path keyPath(keyDir); in GenerateKey() local
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/libfscrypt/src/ |
H A D | key_control.c | 201 uint8_t KeyCtrlLoadVersion(const char *keyPath) in KeyCtrlLoadVersion()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_security_manager.cpp | 203 bool RdbSecurityManager::SaveSecretKeyToDisk(const std::string &keyPath, RdbSecretKeyData &keyData) in SaveSecretKeyToDisk() 474 bool RdbSecurityManager::LoadSecretKeyFromDisk(const std::string &keyPath, RdbSecretKeyData &keyDat… in LoadSecretKeyFromDisk()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/websocket/async_context/src/ |
H A D | connect_context.cpp | 198 Secure::SecureChar keyPath = in ParseClientCert() local
|
/ohos5.0/base/update/updater/services/updater_binary/ |
H A D | update_processor.cpp | 470 … ProcessUpdater(bool retry, int pipeFd, const std::string &packagePath, const std::string &keyPath) in ProcessUpdater()
|
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/include/ |
H A D | ffi_structs.h | 54 char* keyPath; member
|