Home
last modified time | relevance | path

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

12

/base/security/huks/interfaces/inner_api/huks_standard/main/
Dlibhukssdk.map29 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()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_aes.c375 HKS_TEST_ASSERT(HksEncrypt(&aesKeyAlias1, paramSet, &plainText1, &cipherText1) == 0); in TestAes256ByAgree()
443 HKS_TEST_ASSERT(HksEncrypt(&aesKeyAlias1, paramSet, &plainText1, &cipherText1) == 0); in TestAes256ByAgree1()
501 HKS_TEST_ASSERT(HksEncrypt(&aesKeyAlias1, paramSet, &plainText1, &cipherText1) == 0); in TestAes256ByAgree2()
560 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/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_test_aes.c373 HKS_TEST_ASSERT(HksEncrypt(&aesKeyAlias1, paramSet, &plainText1, &cipherText1) == 0); in TestAes256ByAgree()
441 HKS_TEST_ASSERT(HksEncrypt(&aesKeyAlias1, paramSet, &plainText1, &cipherText1) == 0); in TestAes256ByAgree1()
499 HKS_TEST_ASSERT(HksEncrypt(&aesKeyAlias1, paramSet, &plainText1, &cipherText1) == 0); in TestAes256ByAgree2()
Dhks_test_api_performance.c56 ret = HksEncrypt(key, paramSet, plainText, cipherText); in HksEncryptRun()
/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/three_stage_test/src/
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_access_control_cipher_test.cpp574 ret = HksEncrypt(&keyAlias, cipherParamSet, &plainDataBlob, &outDataBlob);
Dhks_cross_test.cpp89 ret = HksEncrypt(&keyAlias, encryptParamSet, &inData, &cipherText);
179 ret = HksEncrypt(&newKeyAlias, encryptParamSet, &inData, &cipherText);
Dhks_chipset_platform_encrypt_test.cpp399 ret = HksEncrypt(&wrapKeyAlias, encryptParamSet.s, &plainText, &cipherText); in AesGcmEncrypt()
Dhks_import_wrapped_sm2_suite_test.cpp460 int32_t ret = HksEncrypt(keyAlias, encryptParamSet, inData, cipherText); in HksTestEncrypt()
/base/security/huks/test/unittest/huks_standard_test/module_test/upgrade_key_test/src/
Dhks_upgrade_key_test.cpp183 ret = HksEncrypt(keyAlias, encryptParamSet, plainBlob, cipherBlob); in TestDoEncrypt()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_api_test.cpp344 int32_t ret = HksEncrypt(nullptr, nullptr, nullptr, nullptr);
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/upgrade_test/version_one/
Dhks_compatibility_test.cpp176 ret = HksEncrypt(&keyAlias, paramSet, &plainBlob, &cipherBlob);
228 ret = HksEncrypt(keyAlias, encryptParamSet, plainBlob, cipherBlob); in TestDoEncrypt()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
Dhks_aes_cipher_test_common.cpp43 ret = HksEncrypt(keyAlias, encryptParamSet, inData, &outData); in HksAesCipherTestEncrypt()
/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.cpp607 int32_t ret = HksEncrypt(&authId, paramInSet, &plainText, &cipherText);
661 HksEncrypt(&authId, paramInSet, &plainText, &cipherText);
1086 int32_t ret = HksEncrypt(&authKey, paramInSet, &plainText, &cipherText);
1144 HksEncrypt(&authKey, paramInSet, &plainText, &cipherText);
Dapi_pressure_test.cpp703 EXPECT_EQ(HksEncrypt(authId, paramInSet, &plainText, &cipherText), HKS_SUCCESS); in EncryptTest()
837 HksEncrypt(&authId, paramInSet, &plainText, &cipherText); in CipherScene()
1350 HksEncrypt(&authId, paramInSet, &plainText, &cipherText);
/base/security/huks/interfaces/inner_api/huks_standard/main/src/
Dhks_api.c312 HKS_API_EXPORT int32_t HksEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, in HksEncrypt() function
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter.c356 res = HksEncrypt(&keyBlob, paramSet, &plainBlob, &cipherBlob); in AesGcmEncrypt()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/
Dhuks_adapter.c336 res = HksEncrypt(&keyBlob, paramSet, &plainBlob, &cipherBlob); in AesGcmEncrypt()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dhuks_adapter.c338 res = HksEncrypt(&keyBlob, paramSet, &plainBlob, &cipherBlob); in AesGcmEncrypt()

12