/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)); 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 D | sandbox_config_kv_data_storage.cpp | 55 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 D | aes_gcm_helper.h | 33 static bool GenerateKey(std::string &key);
|
/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() functions 234 let ret = unsafe { GenerateKey(&key_id as *const KeyId, self.need_user_auth(), self.require_password_set) }; in generate()
|
H A D | huks_wrapper.c | 127 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 D | local_sign_key.h | 49 bool GenerateKey();
|
/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::string tokenId);
|
/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 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 D | hks_test_common_c.h | 62 int32_t GenerateKey(struct HksBlob **keyAlias, const struct HksTestBlobParams *keyAliasParams,
|
H A D | hks_test_common_h.h | 354 int32_t GenerateKey(struct HksBlob **keyAlias, const struct HksTestBlobParams *keyAliasParams,
|
/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
|
/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()
|
H A D | hks_test_common_func.cpp | 534 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 D | hks_mac_test.c | 146 ret = GenerateKey(&key, &(g_testMacParams[index].keyAliasParams), in BaseTestMac()
|
H A D | hks_derive_test.c | 95 ret = GenerateKey(&keyAlias, in BaseTestDerive()
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
H A D | hks_derive_test.cpp | 94 ret = GenerateKey(&keyAliasTest, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
|
H A D | hks_mac_test.cpp | 146 ret = GenerateKey(&key, in BaseTestMac()
|
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/ |
H A D | hks_derive_test.cpp | 92 ret = GenerateKey(&keyAlias, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive()
|
H A D | hks_mac_test.cpp | 145 ret = GenerateKey(&keyTest, &(g_testMacParams[index].keyAliasParams), in BaseTestMac()
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
H A D | hks_mbedtls_engine.c | 222 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 D | huks_hdi_access.c | 94 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 D | hks_openssl_engine.c | 330 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 D | hks_crypto_hal.h | 121 typedef int32_t (*GenerateKey)(const struct HksKeySpec *, struct HksBlob *); typedef
|