Home
last modified time | relevance | path

Searched refs:GenerateKey (Results 1 – 25 of 57) sorted by relevance

123

/ohos5.0/base/security/asset/test/unittest/module_test/src/
H A Dhuks_wrapper_test.cpp87 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 Ddevices_info_interact.cpp73 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 Dsandbox_config_kv_data_storage.cpp48 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 Ddevice_profile_storage_manager.cpp132 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 Dlazy_foreach.cpp39 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 Dlazy_foreach_func.h35 std::string GenerateKey(int64_t index);
H A Dlazy_foreach_func.cpp28 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 Ddistributeddb_data_generate_unit_test.cpp22 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 Ddistributed_data_storage.cpp271 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 Daes_gcm_helper.cpp83 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 Dhdi_ihuks_api_function_test.cpp235 ASSERT_NE(g_huksHdiProxy->GenerateKey, nullptr);
267 ASSERT_NE(g_huksHdiProxy->GenerateKey, nullptr);
288 ret = g_huksHdiProxy->GenerateKey(g_huksHdiProxy, &keyAlias, &paramSet, &key, &outKey);
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Daes_gcm_helper.h33 static bool GenerateKey(std::string &key);
/ohos5.0/foundation/ai/intelligent_voice_framework/utils/
H A Dhuks_aes_adapter.h34 static int32_t GenerateKey(struct HksBlob *keyAlias);
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_distributed/include/devices_info_interact/
H A Ddevices_info_interact.h40 std::string GenerateKey(const std::string &udid);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-universal-keystore-kit/
H A Djs-apis-huks-sys.md90 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 Dlocal_sign_key.h49 bool GenerateKey();
/ohos5.0/base/security/asset/services/crypto_manager/src/
H A Dhuks_wrapper.h45 int32_t GenerateKey(const struct KeyId *keyId, bool needAuth, bool requirePasswordSet);
H A Dsecret_key.rs43 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 Dlocal_sign_key.cpp107 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 Dsandbox_config_kv_data_storage.h46 …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 Dhks_test_common_c.h62 int32_t GenerateKey(struct HksBlob **keyAlias, const struct HksTestBlobParams *keyAliasParams,
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/
H A Dhks_test_cipher_func.cpp204 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 Dhuks_master.h39 bool GenerateKey(const UserAuth &auth, KeyBlob &keyOut);
/ohos5.0/docs/en/application-dev/reference/apis-universal-keystore-kit/
H A Djs-apis-huks-sys.md90 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 Ddistributed_data_storage.h104 static void GenerateKey(const std::string& uuid, int32_t missionId, DistributedKv::Key& key);

123