Home
last modified time | relevance | path

Searched refs:plainText (Results 1 - 25 of 97) sorted by relevance

1234

/base/notification/distributed_notification_service/services/ans/include/
H A Daes_gcm_helper.h27 static ErrCode Encrypt(const std::string &plainText, std::string &cipherText);
28 static ErrCode Decrypt(std::string &plainText, const std::string &cipherText);
31 static bool EncryptAesGcm(const std::string &plainText, std::string &cipherText, std::string &key);
32 static bool DecryptAesGcm(std::string &plainText, const std::string &cipherText, std::string &key);
/base/security/huks/test/unittest/huks_lite_test/common/
H A Dhks_test_aes.c75 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByLocal() local
76 ret = HksDecryptForDe(&keyBlob, paramSet, &cipherText, &plainText); in TestAes256ByLocal()
78 HKS_TEST_ASSERT(plainText1.size == plainText.size); in TestAes256ByLocal()
79 HKS_TEST_ASSERT(memcmp(plainText.data, plainText1.data, plainText.size) == 0); in TestAes256ByLocal()
H A Dhks_test_api_performance.c43 const struct HksBlob *plainText, struct HksBlob *cipherText, uint32_t performTimes) in HksEncryptRun()
56 int32_t ret = HksEncryptForDe(key, paramSet, plainText, cipherText); in HksEncryptRun()
65 const struct HksBlob *cipherText, struct HksBlob *plainText, uint32_t performTimes) in HksDecryptRun()
68 if (plainText != NULL) { in HksDecryptRun()
69 oriPlainTextSize = plainText->size; in HksDecryptRun()
73 if (plainText != NULL) { in HksDecryptRun()
74 (void)memset_s(plainText->data, oriPlainTextSize, 0, oriPlainTextSize); in HksDecryptRun()
75 plainText->size = oriPlainTextSize; in HksDecryptRun()
77 int32_t ret = HksDecryptForDe(key, paramSet, cipherText, plainText); in HksDecryptRun()
42 HksEncryptRun(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct HksBlob *plainText, struct HksBlob *cipherText, uint32_t performTimes) HksEncryptRun() argument
64 HksDecryptRun(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct HksBlob *cipherText, struct HksBlob *plainText, uint32_t performTimes) HksDecryptRun() argument
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
H A Dhks_test_api_performance.c43 const struct HksBlob *plainText, struct HksBlob *cipherText, uint32_t performTimes) in HksEncryptRun()
57 ret = HksEncryptForDe(key, paramSet, plainText, cipherText); in HksEncryptRun()
66 const struct HksBlob *cipherText, struct HksBlob *plainText, uint32_t performTimes) in HksDecryptRun()
70 if (plainText != NULL) { in HksDecryptRun()
71 oriPlainTextSize = plainText->size; in HksDecryptRun()
75 if (plainText != NULL) { in HksDecryptRun()
76 (void)memset_s(plainText->data, oriPlainTextSize, 0, oriPlainTextSize); in HksDecryptRun()
77 plainText->size = oriPlainTextSize; in HksDecryptRun()
79 ret = HksDecryptForDe(key, paramSet, cipherText, plainText); in HksDecryptRun()
42 HksEncryptRun(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct HksBlob *plainText, struct HksBlob *cipherText, uint32_t performTimes) HksEncryptRun() argument
65 HksDecryptRun(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct HksBlob *cipherText, struct HksBlob *plainText, uint32_t performTimes) HksDecryptRun() argument
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A Dhks_rsa_common_mt.cpp65 HksBlob plainText = { in GenerateKeyTestCase() local
76 EXPECT_EQ(EncryptRsa(&plainText, &cipherText, &publicKey, testCaseParams.padding, testCaseParams.keyDigest), in GenerateKeyTestCase()
86 EXPECT_EQ((memcmp(plainText.data, decryptedText.data, decryptedText.size)), 0); in GenerateKeyTestCase()
132 HksBlob plainText = { in EncryptLocalTestCase() local
143 EXPECT_EQ(HksEncrypt(&publicKey, paramInSet, &plainText, &cipherText), testCaseParams.encryptResult); in EncryptLocalTestCase()
153 EXPECT_EQ((memcmp(plainText.data, decryptedText.data, decryptedText.size)), 0); in EncryptLocalTestCase()
179 HksBlob plainText = { in EncryptServiceTestCase() local
206 EXPECT_EQ(HksEncrypt(&authId, paramInSet, &plainText, &cipherText), testCaseParams.encryptResult); in EncryptServiceTestCase()
216 EXPECT_EQ((memcmp(plainText.data, decryptedText.data, decryptedText.size)), 0); in EncryptServiceTestCase()
262 HksBlob plainText in DecryptLocalTestCase() local
323 HksBlob plainText = { DecryptServiceTestCase() local
381 HksBlob plainText = { SignLocalTestCase() local
440 HksBlob plainText = { .size =strlen(hexData), SignServiceTestCase() local
507 HksBlob plainText = { VerifyLocalTestCase() local
557 HksBlob plainText = { VerifyServiceTestCase() local
[all...]
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
H A Dhks_aes_cipher_test_common.cpp100 const struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plainText, in HksAesCipherTestDecrypt()
111 ret = TestUpdateLoopFinish(&handleDecrypt, decryptParamSet, cipherText, plainText); in HksAesCipherTestDecrypt()
116 EXPECT_EQ(HksMemCmp(inData->data, plainText->data, inData->size), HKS_SUCCESS) << "plainText not equals inData"; in HksAesCipherTestDecrypt()
125 EXPECT_EQ(HksMemCmp(outData.data, plainText->data, outData.size), HKS_SUCCESS) << "plainText not equals outData"; in HksAesCipherTestDecrypt()
182 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; in HksAesCipherTestCaseOther() local
183 ret = HksAesCipherTestDecrypt(keyAlias, decryptParamSet, &cipherText, &plainText, &inData); in HksAesCipherTestCaseOther()
238 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; in HksAesCipherTestCaseGcm2() local
239 ret = TestUpdateLoopFinish(&handleDecryptTest, decryptParamSet, &cipherText, &plainText); in HksAesCipherTestCaseGcm2()
99 HksAesCipherTestDecrypt(const struct HksBlob *keyAlias, const struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plainText, const struct HksBlob *inData) HksAesCipherTestDecrypt() argument
301 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; HksAesCipherTestCaseGcm3() local
379 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; HksAesCipherTestCaseGcm4() local
405 HksAesDecryptThreeStage(const struct HksBlob *keyAlias, struct HksParamSet *decryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherText, struct HksBlob *plainText) HksAesDecryptThreeStage() argument
[all...]
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_sm4_cipher_test_common.cpp46 const struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plainText, in HksSm4CipherTestDecrypt()
57 ret = TestUpdateLoopFinish(&handleDecrypt, decryptParamSet, cipherText, plainText); in HksSm4CipherTestDecrypt()
62 EXPECT_EQ(HksMemCmp(inData->data, plainText->data, inData->size), HKS_SUCCESS) << "plainText not equals inData"; in HksSm4CipherTestDecrypt()
97 struct HksBlob plainText = { SM4_COMMON_SIZE, plain }; in HksSm4CipherTestCaseOther() local
98 ret = HksSm4CipherTestDecrypt(keyAlias, decryptParamSet, &cipherText, &plainText, &inData); in HksSm4CipherTestCaseOther()
161 struct HksBlob plainText = { SM4_COMMON_SIZE, plain }; in HksSm4CipherTestCaseGcm() local
162 ret = TestUpdateLoopFinish(&handleDecrypt, decryptParamSet, &cipherText, &plainText); in HksSm4CipherTestCaseGcm()
164 EXPECT_EQ(memcmp(inData.data, plainText.data, inData.size), HKS_SUCCESS) << "plainText no in HksSm4CipherTestCaseGcm()
45 HksSm4CipherTestDecrypt(const struct HksBlob *keyAlias, const struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plainText, const struct HksBlob *inData) HksSm4CipherTestDecrypt() argument
[all...]
/base/notification/distributed_notification_service/services/ans/src/common/
H A Daes_gcm_helper.cpp129 ErrCode AesGcmHelper::Encrypt(const std::string &plainText, std::string &cipherText) in Encrypt() argument
131 if (plainText.empty()) { in Encrypt()
141 ret = EncryptAesGcm(plainText, cipherText, key); in Encrypt()
149 ErrCode AesGcmHelper::Decrypt(std::string &plainText, const std::string &cipherText) in Decrypt() argument
161 ret = DecryptAesGcm(plainText, cipherText, key); in Decrypt()
169 bool AesGcmHelper::EncryptAesGcm(const std::string &plainText, std::string &cipherText, std::string &key) in EncryptAesGcm() argument
171 const unsigned int bufferLen = plainText.size(); in EncryptAesGcm()
195 reinterpret_cast<const unsigned char *>(plainText.data()), bufferLen)) { in EncryptAesGcm()
219 bool AesGcmHelper::DecryptAesGcm(std::string &plainText, const std::string &cipherText, std::string &key) in DecryptAesGcm() argument
259 plainText in DecryptAesGcm()
[all...]
/base/security/crypto_framework/test/unittest/src/
H A Dsm4_common.cpp145 uint8_t plainText[] = "this is test!"; in Sm4Encrypt() local
146 HcfBlob input = {.data = reinterpret_cast<uint8_t *>(plainText), .len = 13}; in Sm4Encrypt()
188 uint8_t plainText[] = "this is test!"; in Sm4Decrypt() local
226 if (cipherTextLen != sizeof(plainText) - 1) { in Sm4Decrypt()
229 return memcmp(cipherText, plainText, cipherTextLen); in Sm4Decrypt()
235 uint8_t plainText[] = "this is test!"; in Sm4NoUpdateEncrypt() local
236 HcfBlob input = {.data = reinterpret_cast<uint8_t *>(plainText), .len = 13}; in Sm4NoUpdateEncrypt()
265 uint8_t plainText[] = "this is test!"; in Sm4NoUpdateDecrypt() local
290 if (cipherTextLen != sizeof(plainText) - 1) { in Sm4NoUpdateDecrypt()
293 return memcmp(cipherText, plainText, cipherTextLe in Sm4NoUpdateDecrypt()
[all...]
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/include/
H A Dopenssl_dsa_helper.h36 const struct HksBlob *plainText, struct HksBlob *signData, struct HksBlob *key, enum HksKeyDigest digestType);
39 const struct HksBlob *plainText, struct HksBlob *signData, struct HksBlob *key, enum HksKeyDigest digestType);
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/getmimetype_fuzzer/
H A Dgetmimetype_fuzzer.cpp29 std::shared_ptr<std::string> plainText = std::make_shared<std::string>(text); in GetMimeTypeFuzzTest() local
32 std::make_shared<PasteDataRecordAdapterImpl>(text, htmlText, plainText); in GetMimeTypeFuzzTest()
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/setplaintext_fuzzer/
H A Dsetplaintext_fuzzer.cpp31 std::shared_ptr<std::string> plainText = std::make_shared<std::string>(text); in SetPlainTextFuzzTest() local
32 dataRecordAdapterImpl->SetPlainText(plainText); in SetPlainTextFuzzTest()
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/seturi_fuzzer/
H A Dseturi_fuzzer.cpp29 std::shared_ptr<std::string> plainText = std::make_shared<std::string>(text); in SetUriFuzzTest() local
32 PasteDataRecordAdapter::NewRecord(text, htmlText, plainText); in SetUriFuzzTest()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_crypt.cpp328 static int32_t OpensslAesCipherDecryptUpdate(void* cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) in OpensslAesCipherDecryptUpdate() argument
338 if (EVP_DecryptUpdate(ctx, plainText->data, &outLen, message->data, message->size) != DLP_OPENSSL_SUCCESS) { in OpensslAesCipherDecryptUpdate()
342 plainText->size = static_cast<uint32_t>(outLen); in OpensslAesCipherDecryptUpdate()
348 void** cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) in OpensslAesCipherDecryptFinalThree()
361 if (EVP_DecryptUpdate(ctx, plainText->data, &outLen, message->data, message->size) != DLP_OPENSSL_SUCCESS) { in OpensslAesCipherDecryptFinalThree()
366 plainText->size = static_cast<uint32_t>(outLen); in OpensslAesCipherDecryptFinalThree()
369 if (EVP_DecryptFinal_ex(ctx, plainText->data + outLen, &outLen) != DLP_OPENSSL_SUCCESS) { in OpensslAesCipherDecryptFinalThree()
374 plainText->size += static_cast<uint32_t>(outLen); in OpensslAesCipherDecryptFinalThree()
384 EVP_CIPHER_CTX* ctx, const struct DlpBlob* message, struct DlpBlob* plainText) in OpensslAesCipherDecryptFinal()
388 if (EVP_DecryptUpdate(ctx, plainText in OpensslAesCipherDecryptFinal()
347 OpensslAesCipherDecryptFinalThree( void** cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) OpensslAesCipherDecryptFinalThree() argument
383 OpensslAesCipherDecryptFinal( EVP_CIPHER_CTX* ctx, const struct DlpBlob* message, struct DlpBlob* plainText) OpensslAesCipherDecryptFinal() argument
541 DlpOpensslAesDecryptUpdate(void* cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) DlpOpensslAesDecryptUpdate() argument
576 DlpOpensslAesDecryptFinal(void** cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) DlpOpensslAesDecryptFinal() argument
697 DlpOpensslAesDecrypt(const struct DlpBlob* key, const struct DlpUsageSpec* usageSpec, const struct DlpBlob* message, struct DlpBlob* plainText) DlpOpensslAesDecrypt() argument
[all...]
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
H A Dhks_ca_access.c54 const struct HksBlob *plainText, struct HksBlob *cipherText) in HksAccessEncrypt()
56 return HksTeeEncrypt(key, paramSet, plainText, cipherText); in HksAccessEncrypt()
60 const struct HksBlob *cipherText, struct HksBlob *plainText) in HksAccessDecrypt()
62 return HksTeeDecrypt(key, paramSet, cipherText, plainText); in HksAccessDecrypt()
53 HksAccessEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct HksBlob *plainText, struct HksBlob *cipherText) HksAccessEncrypt() argument
59 HksAccessDecrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct HksBlob *cipherText, struct HksBlob *plainText) HksAccessDecrypt() argument
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/include/
H A Dhks_openssl_aes.h47 int32_t HksOpensslAesDecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText);
58 const struct HksBlob *message, struct HksBlob *plainText);
98 void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText);
101 void **cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText);
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_paste_data_record_adapter_wrapper.cpp32 const std::string& mimeType, std::shared_ptr<std::string> htmlText, std::shared_ptr<std::string> plainText) in NewRecord()
36 ArkWeb::ArkPasteDataRecordAdapter::NewRecord(str, (void*)(&htmlText), (void*)(&plainText)); in NewRecord()
54 bool ArkPasteDataRecordAdapterWrapper::SetPlainText(std::shared_ptr<std::string> plainText) in SetPlainText() argument
56 return ctocpp_->SetPlainText((void*)(&plainText)); in SetPlainText()
31 NewRecord( const std::string& mimeType, std::shared_ptr<std::string> htmlText, std::shared_ptr<std::string> plainText) NewRecord() argument
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_paste_data_record_adapter_impl.cpp32 const ArkWebString& mimeType, void* htmlText, void* plainText) in NewRecord()
35 std::shared_ptr<std::string>* plain = static_cast<std::shared_ptr<std::string>*>(plainText); in NewRecord()
51 bool ArkPasteDataRecordAdapterImpl::SetPlainText(void* plainText) in SetPlainText() argument
53 std::shared_ptr<std::string>* temp = static_cast<std::shared_ptr<std::string>*>(plainText); in SetPlainText()
31 NewRecord( const ArkWebString& mimeType, void* htmlText, void* plainText) NewRecord() argument
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksdecrypt_fuzzer/
H A Dhksdecrypt_fuzzer.cpp40 struct HksBlob plainText = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI() local
44 [[maybe_unused]] int ret = HksDecrypt(&key, ps.s, &cipherText, &plainText); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksencrypt_fuzzer/
H A Dhksencrypt_fuzzer.cpp39 struct HksBlob plainText = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI() local
44 [[maybe_unused]] int ret = HksEncrypt(&key, ps.s, &plainText, &cipherText); in DoSomethingInterestingWithMyAPI()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
H A Dhks_rsa_cipher_test_common.cpp83 const struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plainText, in HksRsaCipherTestDecrypt()
94 ret = TestUpdateFinish(&handleDecrypt, decryptParamSet, HKS_KEY_PURPOSE_DECRYPT, cipherText, plainText); in HksRsaCipherTestDecrypt()
99 EXPECT_EQ(HksMemCmp(inData->data, plainText->data, inData->size), HKS_SUCCESS) << "plainText not equals inData"; in HksRsaCipherTestDecrypt()
108 EXPECT_EQ(HksMemCmp(outData.data, plainText->data, outData.size), HKS_SUCCESS) << "plainText not equals outData"; in HksRsaCipherTestDecrypt()
138 struct HksBlob plainText = { Unittest::RsaCipher::RSA_COMMON_SIZE, plain }; in HksRsaCipherTestCase() local
139 ret = HksRsaCipherTestDecrypt(keyAlias, decryptParamSet, &cipherText, &plainText, inData); in HksRsaCipherTestCase()
82 HksRsaCipherTestDecrypt(const struct HksBlob *keyAlias, const struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plainText, const struct HksBlob *inData) HksRsaCipherTestDecrypt() argument
/base/security/huks/test/unittest/huks_standard_test/module_test/upgrade_key_test/src/
H A Dhks_upgrade_key_test.cpp246 uint8_t plainText[] = "plainText123457"; in HWTEST_F() local
248 struct HksBlob plainBlob = { .size = HKS_ARRAY_SIZE(plainText), .data = plainText}; in HWTEST_F()
256 uint8_t decryptedText[HKS_ARRAY_SIZE(plainText) + 1] = { 0 }; in HWTEST_F()
264 ret = HksMemCmp(decryptedText, plainText, HKS_ARRAY_SIZE(plainText)); in HWTEST_F()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_aes.c210 void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslBlockCipherDecryptUpdate()
218 if (EVP_DecryptUpdate(ctx, plainText->data, &outLen, message->data, message->size) != HKS_OPENSSL_SUCCESS) { in OpensslBlockCipherDecryptUpdate()
222 plainText->size = (uint32_t)outLen; in OpensslBlockCipherDecryptUpdate()
229 void **cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslBlockCipherDecryptFinalThree()
231 return OpensslBlockCipherHandleFinalThree(cryptoCtx, message, plainText, false); in OpensslBlockCipherDecryptFinalThree()
428 EVP_CIPHER_CTX *ctx, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesAeadDecryptFinal()
439 if (EVP_DecryptUpdate(ctx, plainText->data, &outLen, message->data, message->size) != HKS_OPENSSL_SUCCESS) { in OpensslAesAeadDecryptFinal()
444 plainText->size = (uint32_t)outLen; in OpensslAesAeadDecryptFinal()
453 if (EVP_DecryptFinal_ex(ctx, plainText->data, &outLen) != HKS_OPENSSL_SUCCESS) { in OpensslAesAeadDecryptFinal()
567 const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesAeadDecryptUpdate()
209 OpensslBlockCipherDecryptUpdate( void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) OpensslBlockCipherDecryptUpdate() argument
228 OpensslBlockCipherDecryptFinalThree( void **cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) OpensslBlockCipherDecryptFinalThree() argument
427 OpensslAesAeadDecryptFinal( EVP_CIPHER_CTX *ctx, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *plainText) OpensslAesAeadDecryptFinal() argument
566 OpensslAesAeadDecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) OpensslAesAeadDecryptUpdate() argument
629 OpensslAesAeadDecryptFinalGCM(void **cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText, struct HksBlob *tagAead) OpensslAesAeadDecryptFinalGCM() argument
951 OpensslAesCipherDecryptFinal( EVP_CIPHER_CTX *ctx, const struct HksBlob *message, struct HksBlob *plainText) OpensslAesCipherDecryptFinal() argument
1096 HksOpensslAesDecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) HksOpensslAesDecryptUpdate() argument
1247 HksOpensslAesDecrypt(const struct HksBlob *key, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *plainText) HksOpensslAesDecrypt() argument
[all...]
/base/security/huks/frameworks/huks_standard/main/core/include/
H A Dhks_local_engine.h37 const struct HksBlob *plainText, struct HksBlob *cipherText);
40 const struct HksBlob *cipherText, struct HksBlob *plainText);
/base/security/huks/services/huks_standard/huks_engine/main/core/include/
H A Dhks_core_service_key_operate_one_stage.h35 int32_t HksCoreEncrypt(const struct HksBlob *key, const struct HksParamSet *paramSet, const struct HksBlob *plainText,
39 struct HksBlob *plainText);

Completed in 15 milliseconds

1234