Home
last modified time | relevance | path

Searched refs:HksEncrypt (Results 1 – 25 of 29) sorted by relevance

12

/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_aes.c55 HKS_TEST_ASSERT(HksEncrypt(&keyBlob, paramSet, &plainText1, &cipherText1) == 0); in TestAes256ByLocal()
Dhks_test_api_performance.c55 int32_t ret = HksEncrypt(key, paramSet, plainText, cipherText); in HksEncryptRun()
/base/security/huks/interfaces/inner_api/huks_standard/main/
Dlibhukssdk.map30 HksEncrypt;
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_rsa_cipher_test_common.cpp42 ret = HksEncrypt(keyAlias, encryptParamSet, inData, &outData); in HksRsaCipherTestEncryptAbnormal()
72 ret = HksEncrypt(keyAlias, encryptParamSet, inData, &outData); in HksRsaCipherTestEncrypt()
Dhks_sm2_cipher_test.cpp377 ret = HksEncrypt(keyAlias, encryptParamSet, inData, &outData); in HksSm2CipherTestEncrypt()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_agree_test_common.cpp84 int32_t ret = HksEncrypt(keyAlias1, encryptParamSet, &plaindata, &cipherData); in TestAgreedKeyEncryptDecrypt()
Dhks_import_wrapped_test_common.cpp173 …ret = HksEncrypt(params->callerKekAlias, encryptParamSet, params->importedPlainKey, plainCipherTex… in EncryptImportedPlainKeyAndKek()
177 … ret = HksEncrypt(params->callerAgreeKeyAlias, encryptParamSet, params->callerKek, kekCipherText); in EncryptImportedPlainKeyAndKek()
Dhks_ce_update_test.cpp517 ret = HksEncrypt(&g_validKeyAlias[i], encryptParamSet, &plainBlob, &cipherBlob);
557 ret = HksEncrypt(&g_invalidKeyAlias[i], encryptParamSet, &plainBlob, &cipherBlob);
598 ret = HksEncrypt(&g_validKeyAlias[i], encryptParamSet, &plainBlob, &cipherBlobOneStage);
652 ret = HksEncrypt(&g_invalidKeyAlias[i], encryptParamSet, &plainBlob, &cipherBlobOneStage);
Dhks_cross_test.cpp83 ret = HksEncrypt(&keyAlias, encryptParamSet, &inData, &cipherText);
173 ret = HksEncrypt(&newKeyAlias, encryptParamSet, &inData, &cipherText);
Dhks_access_control_cipher_test.cpp570 ret = HksEncrypt(&keyAlias, cipherParamSet, &plainDataBlob, &outDataBlob);
Dhks_chipset_platform_encrypt_test.cpp428 ret = HksEncrypt(&wrapKeyAlias, encryptParamSet.s, &plainText, &cipherText); in AesGcmEncrypt()
Dhks_import_wrapped_sm2_suite_test.cpp454 int32_t ret = HksEncrypt(keyAlias, encryptParamSet, inData, cipherText); in HksTestEncrypt()
/base/security/huks/test/unittest/huks_common_test/src/
Dhks_test_aes_func.cpp332 HKS_TEST_ASSERT(HksEncrypt(&aesKeyAlias1, paramSetTest, &plainText1, &cipherText1) == 0); in TestAes256ByAgree()
398 HKS_TEST_ASSERT(HksEncrypt(&aesKeyAlias1, paramSetTest01, &plainText1, &cipherText1) == 0); in TestAes256ByAgree1()
456 HKS_TEST_ASSERT(HksEncrypt(&aesKeyAlias1, paramSet, &plainText1, &cipherText1) == 0); in TestAes256ByAgree2()
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_api.h158 HKS_API_EXPORT int32_t HksEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet,
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_test_api_performance.c56 ret = HksEncrypt(key, paramSet, plainText, cipherText); in HksEncryptRun()
/base/security/huks/test/unittest/huks_standard_test/module_test/upgrade_key_test/src/
Dhks_upgrade_key_test.cpp179 ret = HksEncrypt(keyAlias, encryptParamSet, plainBlob, cipherBlob); in TestDoEncrypt()
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/upgrade_test/version_one/
Dhks_compatibility_test.cpp136 ret = HksEncrypt(&keyAlias, paramSet, &plainBlob, &cipherBlob);
188 ret = HksEncrypt(keyAlias, encryptParamSet, plainBlob, cipherBlob); in TestDoEncrypt()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_api_test.cpp342 int32_t ret = HksEncrypt(nullptr, nullptr, nullptr, nullptr);
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_rsa_common_mt.cpp143 …EXPECT_EQ(HksEncrypt(&publicKey, paramInSet, &plainText, &cipherText), testCaseParams.encryptResul… in EncryptLocalTestCase()
206 … EXPECT_EQ(HksEncrypt(&authId, paramInSet, &plainText, &cipherText), testCaseParams.encryptResult); in EncryptServiceTestCase()
Dhks_aes_cipher_mt.cpp457 … EXPECT_EQ(HksEncrypt(&authId, paramInSet, &plainText, &cipherText), testCaseParams.encryptResult); in RunTestCase()
Dhks_aes_encrypt_mt.cpp469 … EXPECT_EQ(HksEncrypt(&authId, paramInSet, &plainText, &cipherText), testCaseParams.encryptResult); in RunTestCase()
/base/security/huks/test/reliability/src/
Dpressure_test.cpp582 int32_t ret = HksEncrypt(&authId, paramInSet, &plainText, &cipherText);
637 HksEncrypt(&authId, paramInSet, &plainText, &cipherText);
1064 int32_t ret = HksEncrypt(&authKey, paramInSet, &plainText, &cipherText);
1122 HksEncrypt(&authKey, paramInSet, &plainText, &cipherText);
Dapi_pressure_test.cpp700 EXPECT_EQ(HksEncrypt(authId, paramInSet, &plainText, &cipherText), HKS_SUCCESS); in EncryptTest()
834 HksEncrypt(&authId, paramInSet, &plainText, &cipherText); in CipherScene()
1327 HksEncrypt(&authId, paramInSet, &plainText, &cipherText);
/base/security/huks/interfaces/inner_api/huks_standard/main/src/
Dhks_api.c313 HKS_API_EXPORT int32_t HksEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, in HksEncrypt() function
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
Dhks_aes_cipher_test_common.cpp48 ret = HksEncrypt(keyAlias, encryptParamSet, inData, &outData); in HksAesCipherTestEncrypt()

12