Home
last modified time | relevance | path

Searched refs:GenerateKey (Results 1 - 24 of 24) sorted by relevance

/base/security/asset/test/unittest/module_test/src/
H A Dhuks_wrapper_test.cpp87 ASSERT_EQ(SEC_ASSET_SUCCESS, GenerateKey(&keyId, true, false)); in HWTEST_F()
103 ASSERT_EQ(SEC_ASSET_SUCCESS, GenerateKey(&keyId, false, false)); in HWTEST_F()
128 ASSERT_EQ(SEC_ASSET_SUCCESS, GenerateKey(&keyId, true, false)); in HWTEST_F()
163 ASSERT_EQ(SEC_ASSET_SUCCESS, GenerateKey(&keyId, false, false)); in HWTEST_F()
/base/security/dlp_permission_service/services/dlp_permission/sa/storage/src/
H A Dsandbox_config_kv_data_storage.cpp55 bool res = GenerateKey(userId, bundleName, key, tokenId); in GetSandboxConfigFromDataStorage()
76 bool res = GenerateKey(userId, bundleName, key, tokenId); in AddSandboxConfigIntoDataStorage()
92 bool res = GenerateKey(userId, bundleName, key, tokenId); in DeleteSandboxConfigFromDataStorage()
109 bool SandboxConfigKvDataStorage::GenerateKey(int32_t userId, const std::string& bundleName, std::string& key, in GenerateKey() function in OHOS::Security::DlpPermission::SandboxConfigKvDataStorage
/base/notification/distributed_notification_service/services/ans/include/
H A Daes_gcm_helper.h33 static bool GenerateKey(std::string &key);
/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() functions
234 let ret = unsafe { GenerateKey(&key_id as *const KeyId, self.need_user_auth(), self.require_password_set) }; in generate()
H A Dhuks_wrapper.c127 int32_t GenerateKey(const struct KeyId *keyId, bool needAuth, bool requirePasswordSet) in GenerateKey() function
/base/security/code_signature/services/local_code_sign/include/
H A Dlocal_sign_key.h49 bool GenerateKey();
/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::string tokenId);
/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
136 bool ret = GenerateKey(key); in Encrypt()
156 bool ret = GenerateKey(key); in Decrypt()
/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,
H A Dhks_test_common_h.h354 int32_t GenerateKey(struct HksBlob **keyAlias, const struct HksTestBlobParams *keyAliasParams,
/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
/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()
H A Dhks_test_common_func.cpp534 int32_t GenerateKey(struct HksBlob **keyAlias, const struct HksTestBlobParams *keyAliasParams, in GenerateKey() function
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
H A Dhks_mac_test.c146 ret = GenerateKey(&key, &(g_testMacParams[index].keyAliasParams), in BaseTestMac()
H A Dhks_derive_test.c95 ret = GenerateKey(&keyAlias, in BaseTestDerive()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
H A Dhks_derive_test.cpp94 ret = GenerateKey(&keyAliasTest, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
H A Dhks_mac_test.cpp146 ret = GenerateKey(&key, in BaseTestMac()
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
H A Dhks_derive_test.cpp92 ret = GenerateKey(&keyAlias, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
H A Dhks_mac_test.cpp145 ret = GenerateKey(&keyTest, &(g_testMacParams[index].keyAliasParams), in BaseTestMac()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_engine.c222 HKS_LOG_E("Crypt Hal GenerateKey msg or hash or ctx is NULL"); in HksCryptoHalGenerateKey()
226 GenerateKey func = (GenerateKey)GetAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(spec->algType)); in HksCryptoHalGenerateKey()
227 HKS_IF_NULL_LOGE_RETURN(func, HKS_ERROR_INVALID_ARGUMENT, "Mbedtls GenerateKey func is null!") in HksCryptoHalGenerateKey()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/passthrough/
H A Dhuks_hdi_access.c94 HKS_IF_NULL_LOGE_RETURN(g_hksHdiProxyInstance->GenerateKey, HKS_ERROR_NULL_POINTER, in HdiProxyGenerateKey()
95 "GenerateKey function is null pointer") in HdiProxyGenerateKey()
97 return g_hksHdiProxyInstance->GenerateKey(g_hksHdiProxyInstance, keyAlias, paramSet, keyIn, keyOut); in HdiProxyGenerateKey()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_engine.c330 GenerateKey func = (GenerateKey)GetAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(spec->algType)); in HksCryptoHalGenerateKey()
331 HKS_IF_NULL_LOGE_RETURN(func, HKS_ERROR_INVALID_ARGUMENT, "GenerateKey func is null!") in HksCryptoHalGenerateKey()
/base/security/huks/frameworks/huks_standard/main/common/include/
H A Dhks_crypto_hal.h121 typedef int32_t (*GenerateKey)(const struct HksKeySpec *, struct HksBlob *); typedef

Completed in 14 milliseconds