/base/security/huks/test/unittest/huks_lite_test/common/ |
D | hks_test_aes.c | 55 HKS_TEST_ASSERT(HksEncrypt(&keyBlob, paramSet, &plainText1, &cipherText1) == 0); in TestAes256ByLocal()
|
D | hks_test_api_performance.c | 55 int32_t ret = HksEncrypt(key, paramSet, plainText, cipherText); in HksEncryptRun()
|
/base/security/huks/interfaces/inner_api/huks_standard/main/ |
D | libhukssdk.map | 30 HksEncrypt;
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/ |
D | hks_rsa_cipher_test_common.cpp | 42 ret = HksEncrypt(keyAlias, encryptParamSet, inData, &outData); in HksRsaCipherTestEncryptAbnormal() 72 ret = HksEncrypt(keyAlias, encryptParamSet, inData, &outData); in HksRsaCipherTestEncrypt()
|
D | hks_sm2_cipher_test.cpp | 377 ret = HksEncrypt(keyAlias, encryptParamSet, inData, &outData); in HksSm2CipherTestEncrypt()
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_agree_test_common.cpp | 84 int32_t ret = HksEncrypt(keyAlias1, encryptParamSet, &plaindata, &cipherData); in TestAgreedKeyEncryptDecrypt()
|
D | hks_import_wrapped_test_common.cpp | 173 …ret = HksEncrypt(params->callerKekAlias, encryptParamSet, params->importedPlainKey, plainCipherTex… in EncryptImportedPlainKeyAndKek() 177 … ret = HksEncrypt(params->callerAgreeKeyAlias, encryptParamSet, params->callerKek, kekCipherText); in EncryptImportedPlainKeyAndKek()
|
D | hks_ce_update_test.cpp | 517 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);
|
D | hks_cross_test.cpp | 83 ret = HksEncrypt(&keyAlias, encryptParamSet, &inData, &cipherText); 173 ret = HksEncrypt(&newKeyAlias, encryptParamSet, &inData, &cipherText);
|
D | hks_access_control_cipher_test.cpp | 570 ret = HksEncrypt(&keyAlias, cipherParamSet, &plainDataBlob, &outDataBlob);
|
D | hks_chipset_platform_encrypt_test.cpp | 428 ret = HksEncrypt(&wrapKeyAlias, encryptParamSet.s, &plainText, &cipherText); in AesGcmEncrypt()
|
D | hks_import_wrapped_sm2_suite_test.cpp | 454 int32_t ret = HksEncrypt(keyAlias, encryptParamSet, inData, cipherText); in HksTestEncrypt()
|
/base/security/huks/test/unittest/huks_common_test/src/ |
D | hks_test_aes_func.cpp | 332 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/ |
D | hks_api.h | 158 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/ |
D | hks_test_api_performance.c | 56 ret = HksEncrypt(key, paramSet, plainText, cipherText); in HksEncryptRun()
|
/base/security/huks/test/unittest/huks_standard_test/module_test/upgrade_key_test/src/ |
D | hks_upgrade_key_test.cpp | 179 ret = HksEncrypt(keyAlias, encryptParamSet, plainBlob, cipherBlob); in TestDoEncrypt()
|
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/upgrade_test/version_one/ |
D | hks_compatibility_test.cpp | 136 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/ |
D | hks_api_test.cpp | 342 int32_t ret = HksEncrypt(nullptr, nullptr, nullptr, nullptr);
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
D | hks_rsa_common_mt.cpp | 143 …EXPECT_EQ(HksEncrypt(&publicKey, paramInSet, &plainText, &cipherText), testCaseParams.encryptResul… in EncryptLocalTestCase() 206 … EXPECT_EQ(HksEncrypt(&authId, paramInSet, &plainText, &cipherText), testCaseParams.encryptResult); in EncryptServiceTestCase()
|
D | hks_aes_cipher_mt.cpp | 457 … EXPECT_EQ(HksEncrypt(&authId, paramInSet, &plainText, &cipherText), testCaseParams.encryptResult); in RunTestCase()
|
D | hks_aes_encrypt_mt.cpp | 469 … EXPECT_EQ(HksEncrypt(&authId, paramInSet, &plainText, &cipherText), testCaseParams.encryptResult); in RunTestCase()
|
/base/security/huks/test/reliability/src/ |
D | pressure_test.cpp | 582 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);
|
D | api_pressure_test.cpp | 700 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/ |
D | hks_api.c | 313 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/ |
D | hks_aes_cipher_test_common.cpp | 48 ret = HksEncrypt(keyAlias, encryptParamSet, inData, &outData); in HksAesCipherTestEncrypt()
|