/ohos5.0/base/security/asset/test/unittest/module_test/src/ |
H A D | huks_wrapper_test.cpp | 87 ASSERT_EQ(SEC_ASSET_SUCCESS, GenerateKey(&keyId, true, false)); 103 ASSERT_EQ(SEC_ASSET_SUCCESS, GenerateKey(&keyId, false, false)); 128 ASSERT_EQ(SEC_ASSET_SUCCESS, GenerateKey(&keyId, true, false)); 163 ASSERT_EQ(SEC_ASSET_SUCCESS, GenerateKey(&keyId, false, false));
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_distributed/src/devices_info_interact/ |
H A D | devices_info_interact.cpp | 73 std::string DevicesInfoInteract::GenerateKey(const std::string &udid) in GenerateKey() function in OHOS::Media::DevicesInfoInteract 85 std::string key = GenerateKey(udid); in SyncMLDeviceInfos() 101 std::string key = GenerateKey(udid); in GetMLDeviceInfos() 131 std::string key = GenerateKey(udid); in PutMLDeviceInfos()
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/storage/src/ |
H A D | sandbox_config_kv_data_storage.cpp | 48 bool res = GenerateKey(userId, bundleName, key, tokenId); in GetSandboxConfigFromDataStorage() 69 bool res = GenerateKey(userId, bundleName, key, tokenId); in AddSandboxConfigIntoDataStorage() 85 bool res = GenerateKey(userId, bundleName, key, tokenId); in DeleteSandboxConfigFromDataStorage() 102 bool SandboxConfigKvDataStorage::GenerateKey(int32_t userId, const std::string& bundleName, std::st… in GenerateKey() function in OHOS::Security::DlpPermission::SandboxConfigKvDataStorage
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/dbstorage/ |
H A D | device_profile_storage_manager.cpp | 132 std::string DeviceProfileStorageManager::GenerateKey(const std::string& udid, in GenerateKey() function in OHOS::DeviceProfile::DeviceProfileStorageManager 155 keys.emplace_back(GenerateKey(localUdid_, serviceId, KeyType::SERVICE)); in PutDeviceProfile() 162 keys.emplace_back(GenerateKey(localUdid_, SERVICES, KeyType::SERVICE_LIST)); in PutDeviceProfile() 211 key = GenerateKey(localUdid_, serviceId, KeyType::SERVICE); in GetDeviceProfile() 220 key = GenerateKey(queryUdid, serviceId, KeyType::SERVICE); in GetDeviceProfile() 261 std::string key = GenerateKey(udid, SERVICES, KeyType::SERVICE_LIST); in SetServiceType() 296 std::string servicesKey = GenerateKey(localUdid_, SERVICES, KeyType::SERVICE_LIST); in DeleteDeviceProfile() 299 std::string serviceKey = GenerateKey(localUdid_, serviceId, KeyType::SERVICE); in DeleteDeviceProfile() 511 std::string servicesKey = GenerateKey(localUdid_, SERVICES, KeyType::SERVICE_LIST); in FlushProfileItems()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | lazy_foreach.cpp | 39 auto key = cjBuilder_->GenerateKey(index); in OnExpandChildrenOnInitialInNG() 50 auto key = cjBuilder_->GenerateKey(index); in OnGetChildByIndex() 76 auto key = cjBuilder_->GenerateKey(index); in OnGetChildByIndexNew()
|
H A D | lazy_foreach_func.h | 35 std::string GenerateKey(int64_t index);
|
H A D | lazy_foreach_func.cpp | 28 string LazyForEachFuncs::GenerateKey(int64_t index) in GenerateKey() function in OHOS::Ace::Framework::LazyForEachFuncs
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_data_generate_unit_test.cpp | 22 void GenerateKey(int keyCount, int startPosition, Key &keyTest) in GenerateKey() function 49 GenerateKey(entryCount, startPosition, entryTest.key); in GenerateEntry()
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
H A D | distributed_data_storage.cpp | 271 GenerateKey(uuid, missionId, key); in InsertInnerLocked() 318 GenerateKey(uuid, missionId, key); in DeleteInnerLocked() 400 GenerateKey(uuid, missionId, key); in QueryInnerLocked() 429 void DistributedDataStorage::GenerateKey(const string& uuid, int32_t missionId, Key& key) in GenerateKey() function in OHOS::DistributedSchedule::DistributedDataStorage
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/common/ |
H A D | aes_gcm_helper.cpp | 83 bool AesGcmHelper::GenerateKey(std::string &key) in GenerateKey() function in OHOS::Notification::AesGcmHelper 139 bool ret = GenerateKey(key); in Encrypt() 159 bool ret = GenerateKey(key); in Decrypt()
|
/ohos5.0/drivers/peripheral/huks/test/unittest/ |
H A D | hdi_ihuks_api_function_test.cpp | 235 ASSERT_NE(g_huksHdiProxy->GenerateKey, nullptr); 267 ASSERT_NE(g_huksHdiProxy->GenerateKey, nullptr); 288 ret = g_huksHdiProxy->GenerateKey(g_huksHdiProxy, &keyAlias, ¶mSet, &key, &outKey);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/ |
H A D | aes_gcm_helper.h | 33 static bool GenerateKey(std::string &key);
|
/ohos5.0/foundation/ai/intelligent_voice_framework/utils/ |
H A D | huks_aes_adapter.h | 34 static int32_t GenerateKey(struct HksBlob *keyAlias);
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_distributed/include/devices_info_interact/ |
H A D | devices_info_interact.h | 40 std::string GenerateKey(const std::string &udid);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-universal-keystore-kit/ |
H A D | js-apis-huks-sys.md | 90 async function GenerateKey(keyAlias: string, genProperties: Array<huks.HuksParam>) { 104 GenerateKey(aesKeyAlias, GetAesGenerateProperties()) 177 async function GenerateKey(keyAlias: string, genProperties: Array<huks.HuksParam>) { 202 await GenerateKey(aesKeyAlias, GetAesGenerateProperties()) 403 async function GenerateKey(keyAlias: string, genProperties: Array<huks.HuksParam>) { 451 await GenerateKey(rsaKeyAlias, GetRSA4096GenerateProperties()) 606 await GenerateKey(rsaKeyAlias, GetRSA4096GenerateProperties()) 1380 await GenerateKey(rsaKeyAlias, GetRSA4096GenerateProperties()) 1495 await GenerateKey(aesKeyAlias, GetAesGenerateProperties()) 1607 await GenerateKey(aesKeyAlias, GetAesGenerateProperties()) [all …]
|
/ohos5.0/base/security/code_signature/services/local_code_sign/include/ |
H A D | local_sign_key.h | 49 bool GenerateKey();
|
/ohos5.0/base/security/asset/services/crypto_manager/src/ |
H A D | huks_wrapper.h | 45 int32_t GenerateKey(const struct KeyId *keyId, bool needAuth, bool requirePasswordSet);
|
H A D | secret_key.rs | 43 fn GenerateKey(keyId: *const KeyId, need_auth: bool, require_password_set: bool) -> i32; in GenerateKey() function 234 …let ret = unsafe { GenerateKey(&key_id as *const KeyId, self.need_user_auth(), self.require_passwo… in generate()
|
/ohos5.0/base/security/code_signature/services/local_code_sign/src/ |
H A D | local_sign_key.cpp | 107 if (!GenerateKey()) { in InitKey() 223 bool LocalSignKey::GenerateKey() in GenerateKey() function in OHOS::Security::CodeSign::LocalSignKey
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/storage/include/ |
H A D | sandbox_config_kv_data_storage.h | 46 …bool GenerateKey(int32_t userId, const std::string& bundleName, std::string& key, const std::strin…
|
/ohos5.0/base/security/huks/test/unittest/huks_common_test/include/ |
H A D | hks_test_common_c.h | 62 int32_t GenerateKey(struct HksBlob **keyAlias, const struct HksTestBlobParams *keyAliasParams,
|
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/ |
H A D | hks_test_cipher_func.cpp | 204 ret = GenerateKey(&keyAlias, &g_testCipherParams[index].keyAliasParams, in BaseTestCipher() 263 ret = GenerateKey(&keyAlias, &g_testEncryptParams[index].keyAliasParams, in BaseTestEncrypt() 315 ret = GenerateKey(&keyAlias, &g_testDecryptParams[index].keyAliasParams, in BaseTestDecrypt()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/ |
H A D | huks_master.h | 39 bool GenerateKey(const UserAuth &auth, KeyBlob &keyOut);
|
/ohos5.0/docs/en/application-dev/reference/apis-universal-keystore-kit/ |
H A D | js-apis-huks-sys.md | 90 async function GenerateKey(keyAlias: string, genProperties: Array<huks.HuksParam>) { 104 GenerateKey(aesKeyAlias, GetAesGenerateProperties()) 177 async function GenerateKey(keyAlias: string, genProperties: Array<huks.HuksParam>) { 202 await GenerateKey(aesKeyAlias, GetAesGenerateProperties()) 403 async function GenerateKey(keyAlias: string, genProperties: Array<huks.HuksParam>) { 451 await GenerateKey(rsaKeyAlias, GetRSA4096GenerateProperties()) 606 await GenerateKey(rsaKeyAlias, GetRSA4096GenerateProperties()) 1380 await GenerateKey(rsaKeyAlias, GetRSA4096GenerateProperties()) 1495 await GenerateKey(aesKeyAlias, GetAesGenerateProperties()) 1607 await GenerateKey(aesKeyAlias, GetAesGenerateProperties()) [all …]
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/mission/ |
H A D | distributed_data_storage.h | 104 static void GenerateKey(const std::string& uuid, int32_t missionId, DistributedKv::Key& key);
|