Home
last modified time | relevance | path

Searched defs:plainText (Results 1 – 25 of 42) sorted by relevance

12

/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_rsa_common_mt.cpp65 HksBlob plainText = { in GenerateKeyTestCase() local
132 HksBlob plainText = { in EncryptLocalTestCase() local
179 HksBlob plainText = { in EncryptServiceTestCase() local
262 HksBlob plainText = { in DecryptLocalTestCase() local
323 HksBlob plainText = { in DecryptServiceTestCase() local
380 HksBlob plainText = { in SignLocalTestCase() local
439 HksBlob plainText = { .size =strlen(hexData), in SignServiceTestCase() local
506 HksBlob plainText = { in VerifyLocalTestCase() local
556 HksBlob plainText = { in VerifyServiceTestCase() local
Dhks_dsa_mt.cpp665 HksBlob plainText = { .size = (uint32_t)strlen(hexData), .data = (uint8_t *)hexData }; in GenerateKeyTestCase() local
728 HksBlob plainText = { .size = (uint32_t)strlen(hexData), .data = (uint8_t *)hexData }; in SignLocalTestCase() local
787 HksBlob plainText = { .size = (uint32_t)strlen(hexData), .data = (uint8_t *)hexData }; in SignServiceTestCase() local
852 HksBlob plainText = { .size = (uint32_t)strlen(hexData), .data = (uint8_t *)hexData }; in VerifyLocalTestCase() local
885 HksBlob plainText = { .size = (uint32_t)strlen(hexData), .data = (uint8_t *)hexData }; in VerifyServiceTestCase() local
Dopenssl_dsa_helper.c156const struct HksBlob *plainText, struct HksBlob *signData, struct HksBlob *key, enum HksKeyDigest … in OpensslSignDsa()
210const struct HksBlob *plainText, struct HksBlob *signData, struct HksBlob *key, enum HksKeyDigest … in OpensslVerifyDsa()
Dopenssl_rsa_helper.c418 int32_t OpensslSignRsa(const struct HksBlob *plainText, struct HksBlob *signData, struct HksBlob *k… in OpensslSignRsa()
480 int32_t OpensslVerifyRsa(const struct HksBlob *plainText, struct HksBlob *signData, struct HksBlob … in OpensslVerifyRsa()
Dhks_aes_cipher_mt.cpp439 HksBlob plainText = { in RunTestCase() local
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_sm4_cipher_test_common.cpp45 …t struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plainText, in HksSm4CipherTestDecrypt()
96 struct HksBlob plainText = { SM4_COMMON_SIZE, plain }; in HksSm4CipherTestCaseOther() local
Dhks_aes_cipher_test_common.cpp54 …t struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plainText, in HksAesCipherTestDecrypt()
136 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; in HksAesCipherTestCaseOther() local
192 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; in HksAesCipherTestCaseGcm2() local
Dhks_rsa_cipher_test_common.cpp82 …t struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plainText, in HksRsaCipherTestDecrypt()
137 struct HksBlob plainText = { Unittest::RsaCipher::RSA_COMMON_SIZE, plain }; in HksRsaCipherTestCase() local
Dhks_cross_test.cpp78 struct HksBlob plainText = { CROSS_COMMON_SIZE, plain }; variable
121 struct HksBlob plainText = { CROSS_COMMON_SIZE, plain }; variable
168 struct HksBlob plainText = { CROSS_COMMON_SIZE, plain }; variable
216 struct HksBlob plainText = { CROSS_COMMON_SIZE, plain }; variable
Dhks_cross_test_common.cpp68 …t struct HksParamSet *decryptParamSet, const struct HksBlob *cipherTest, struct HksBlob *plainText) in HksCrossTestAesDecrypt()
119 …t struct HksParamSet *decryptParamSet, const struct HksBlob *cipherTest, struct HksBlob *plainText) in HksCrossTestRsaDecrypt()
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/setplaintext_fuzzer/
Dsetplaintext_fuzzer.cpp30 std::shared_ptr<std::string> plainText = std::make_shared<std::string>(text); in DoSomethingInterestingWithMyAPI() local
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/getmimetype_fuzzer/
Dgetmimetype_fuzzer.cpp28 std::shared_ptr<std::string> plainText = std::make_shared<std::string>(text); in DoSomethingInterestingWithMyAPI() local
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/seturi_fuzzer/
Dseturi_fuzzer.cpp28 std::shared_ptr<std::string> plainText = std::make_shared<std::string>(text); in DoSomethingInterestingWithMyAPI() local
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_aes.c198 void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslBlockCipherDecryptUpdate()
217 void **cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslBlockCipherDecryptFinalThree()
426 …tx, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesAeadDecryptFinal()
564 const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesAeadDecryptUpdate()
627 struct HksBlob *plainText, struct HksBlob *tagAead) in OpensslAesAeadDecryptFinalGCM()
757 EVP_CIPHER_CTX *ctx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesCipherDecryptFinal()
901 …sOpensslAesDecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in HksOpensslAesDecryptUpdate()
1043 const struct HksBlob *message, struct HksBlob *plainText) in HksOpensslAesDecrypt()
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfciphercreate_fuzzer/
Dhcfciphercreate_fuzzer.cpp36 uint8_t plainText[] = "this is test!"; in AesEncrypt() local
75 uint8_t plainText[] = "this is test!"; in AesDecrypt() local
/base/security/crypto_framework/test/unittest/src/
Dcrypto_3des_cipher_test.cpp76 uint8_t plainText[] = "this is test!"; in DesEncrypt() local
119 uint8_t plainText[] = "this is test!"; in DesDecrypt() local
166 uint8_t plainText[] = "this is test!"; in DesNoUpdateEncrypt() local
196 uint8_t plainText[] = "this is test!"; in DesNoUpdateDecrypt() local
1655 uint8_t plainText[] = "this is test!"; variable
1695 uint8_t plainText[] = "this is test!"; variable
1735 uint8_t plainText[] = "this is test!"; variable
1775 uint8_t plainText[] = "this is test!"; variable
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_ca_access.c54 const struct HksBlob *plainText, struct HksBlob *cipherText) in HksAccessEncrypt()
60 const struct HksBlob *cipherText, struct HksBlob *plainText) in HksAccessDecrypt()
/base/web/webview/ohos_adapter/pasteboard_adapter/src/
Dpasteboard_client_adapter_impl.cpp56 std::shared_ptr<std::string> plainText) in PasteDataRecordAdapterImpl()
74 std::shared_ptr<std::string> plainText) in NewRecord()
91 bool PasteDataRecordAdapterImpl::SetPlainText(std::shared_ptr<std::string> plainText) in SetPlainText()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_aes.c385 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByAgree() local
453 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByAgree1() local
511 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByAgree2() local
579 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByLocal() local
Dhks_test_api_performance.c42 const struct HksBlob *plainText, struct HksBlob *cipherText, uint32_t performTimes) in HksEncryptRun()
64 const struct HksBlob *cipherText, struct HksBlob *plainText, uint32_t performTimes) in HksDecryptRun()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_test_aes.c383 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByAgree() local
451 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByAgree1() local
509 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByAgree2() local
Dhks_test_api_performance.c42 const struct HksBlob *plainText, struct HksBlob *cipherText, uint32_t performTimes) in HksEncryptRun()
65 const struct HksBlob *cipherText, struct HksBlob *plainText, uint32_t performTimes) in HksDecryptRun()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/passthrough/
Dhuks_access.c194 const struct HksBlob *plainText, struct HksBlob *cipherText)) in ENABLE_CFI()
205 const struct HksBlob *cipherText, struct HksBlob *plainText)) in ENABLE_CFI()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_interfaces.c122 const struct HksBlob *plainText, struct HksBlob *cipherText) in HuksHdiEncrypt()
128 const struct HksBlob *cipherText, struct HksBlob *plainText) in HuksHdiDecrypt()
/base/security/huks/frameworks/huks_standard/main/core/src/
Dhks_local_engine.c219 const struct HksBlob *plainText, struct HksBlob *cipherText) in HksLocalEncrypt()
226 const struct HksBlob *cipherText, struct HksBlob *plainText) in HksLocalDecrypt()

12