Home
last modified time | relevance | path

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

1234

/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
381 HksBlob plainText = { in SignLocalTestCase() local
440 HksBlob plainText = { .size =strlen(hexData), in SignServiceTestCase() local
507 HksBlob plainText = { in VerifyLocalTestCase() local
557 HksBlob plainText = { in VerifyServiceTestCase() local
Dhks_dsa_mt.cpp684 HksBlob plainText = { .size = (uint32_t)strlen(hexData), .data = (uint8_t *)hexData }; in GenerateKeyTestCase() local
747 HksBlob plainText = { .size = (uint32_t)strlen(hexData), .data = (uint8_t *)hexData }; in SignLocalTestCase() local
806 HksBlob plainText = { .size = (uint32_t)strlen(hexData), .data = (uint8_t *)hexData }; in SignServiceTestCase() local
871 … HksBlob plainText = { .size = (uint32_t)strlen(hexDataTest), .data = (uint8_t *)hexDataTest }; in VerifyLocalTestCase() local
904 HksBlob plainText = { .size = (uint32_t)strlen(hexData), .data = (uint8_t *)hexData }; in VerifyServiceTestCase() local
/base/security/crypto_framework/test/unittest/src/native/
Dnative_signature_test.cpp100 uint8_t plainText[] = { variable
166 uint8_t plainText[] = { variable
217 uint8_t plainText[] = { variable
252 uint8_t plainText[] = { variable
304 uint8_t plainText[] = { variable
Dnative_sym_cipher_test.cpp55 uint8_t plainText[] = "this is test!"; in AesEncrypt() local
99 uint8_t plainText[] = "this is test!"; in AesDecrypt() local
/base/security/crypto_framework/test/unittest/src/
Dcrypto_sm4_ecb_cipher_test.cpp254 uint8_t plainText[] = "this is test!"; variable
282 uint8_t plainText[] = "this is test!"; variable
310 uint8_t plainText[] = "this is test!"; variable
338 uint8_t plainText[] = "this is test!"; variable
381 uint8_t plainText[] = "this is test!"; variable
453 uint8_t plainText[] = "this is test!"; variable
Dsm4_common.cpp145 uint8_t plainText[] = "this is test!"; in Sm4Encrypt() local
188 uint8_t plainText[] = "this is test!"; in Sm4Decrypt() local
235 uint8_t plainText[] = "this is test!"; in Sm4NoUpdateEncrypt() local
265 uint8_t plainText[] = "this is test!"; in Sm4NoUpdateDecrypt() local
Dcrypto_3des_cipher_test.cpp94 uint8_t plainText[] = "this is test!"; in DesEncrypt() local
137 uint8_t plainText[] = "this is test!"; in DesDecrypt() local
184 uint8_t plainText[] = "this is test!"; in DesNoUpdateEncrypt() local
214 uint8_t plainText[] = "this is test!"; in DesNoUpdateDecrypt() local
1145 uint8_t plainText[] = "this is test!"; variable
1173 uint8_t plainText[] = "this is test!"; variable
1202 uint8_t plainText[] = "this is test!"; variable
1236 uint8_t plainText[] = "this is test!"; variable
1349 uint8_t plainText[] = {0x4e, 0x6f, 0x77, 0x20, 0x69, 0x73, 0x20, 0x74}; // "Now is t" variable
1391 uint8_t plainText[] = {0x3f, 0xa4, 0x0e, 0x8a, 0x98, 0x4d, 0x48, 0x15}; // Expected ciphertext variable
/base/notification/distributed_notification_service/services/ans/src/common/
Daes_gcm_helper.cpp133 ErrCode AesGcmHelper::Encrypt(const std::string &plainText, std::string &cipherText) in Encrypt()
153 ErrCode AesGcmHelper::Decrypt(std::string &plainText, const std::string &cipherText) in Decrypt()
173 bool AesGcmHelper::EncryptAesGcm(const std::string &plainText, std::string &cipherText, std::string… in EncryptAesGcm()
223 bool AesGcmHelper::DecryptAesGcm(std::string &plainText, const std::string &cipherText, std::string… in DecryptAesGcm()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_sm4_cipher_test_common.cpp46 …t struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plainText, in HksSm4CipherTestDecrypt()
97 struct HksBlob plainText = { SM4_COMMON_SIZE, plain }; in HksSm4CipherTestCaseOther() local
161 struct HksBlob plainText = { SM4_COMMON_SIZE, plain }; in HksSm4CipherTestCaseGcm() local
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
Dhks_aes_cipher_test_common.cpp100 …t struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plainText, in HksAesCipherTestDecrypt()
182 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; in HksAesCipherTestCaseOther() local
238 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; in HksAesCipherTestCaseGcm2() local
301 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; in HksAesCipherTestCaseGcm3() local
379 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; in HksAesCipherTestCaseGcm4() local
406 const struct HksBlob *inData, struct HksBlob *cipherText, struct HksBlob *plainText) in HksAesDecryptThreeStage()
Dhks_aes_cipher_ccm_test.cpp635 const struct HksParamSet *decParamSet, struct HksBlob *cipherText, struct HksBlob *plainText, in HksAesCcmCipherTestDecrypt()
709 struct HksBlob plainText = { dataLen, plain }; in HksAesCmcCipherTestCaseRun() local
1471 struct HksBlob plainText = {sizeof(outData), outData }; variable
1531 struct HksBlob plainText = {sizeof(outData), outData }; variable
1589 struct HksBlob plainText = {sizeof(outData), outData }; variable
1658 struct HksBlob plainText = {sizeof(outData), outData }; variable
1726 struct HksBlob plainText = {sizeof(outData), outData }; variable
1788 struct HksBlob plainText = {sizeof(outData), outData }; variable
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
Dark_paste_data_record_adapter_wrapper.cpp32 …d::string& mimeType, std::shared_ptr<std::string> htmlText, std::shared_ptr<std::string> plainText) in NewRecord()
63 bool ArkPasteDataRecordAdapterWrapper::SetPlainText(std::shared_ptr<std::string> plainText) in SetPlainText()
68 bool ArkPasteDataRecordAdapterWrapper::SetPlainTextV2(std::shared_ptr<std::string> plainText) in SetPlainTextV2()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
Dark_paste_data_record_adapter_impl.cpp32 const ArkWebString& mimeType, void* htmlText, void* plainText) in NewRecord()
57 bool ArkPasteDataRecordAdapterImpl::SetPlainText(void* plainText) in SetPlainText()
63 bool ArkPasteDataRecordAdapterImpl::SetPlainTextV2(const ArkWebString& plainText) in SetPlainTextV2()
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/setplaintext_fuzzer/
Dsetplaintext_fuzzer.cpp31 std::shared_ptr<std::string> plainText = std::make_shared<std::string>(text); in SetPlainTextFuzzTest() local
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/getmimetype_fuzzer/
Dgetmimetype_fuzzer.cpp29 std::shared_ptr<std::string> plainText = std::make_shared<std::string>(text); in GetMimeTypeFuzzTest() local
/base/web/webview/test/fuzztest/ohos_adapter/pasteboard_adapter/seturi_fuzzer/
Dseturi_fuzzer.cpp29 std::shared_ptr<std::string> plainText = std::make_shared<std::string>(text); in SetUriFuzzTest() local
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_aes.c75 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByLocal() local
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_aes.c210 void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslBlockCipherDecryptUpdate()
229 void **cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslBlockCipherDecryptFinalThree()
427 …tx, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesAeadDecryptFinal()
566 const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesAeadDecryptUpdate()
629 struct HksBlob *plainText, struct HksBlob *tagAead) in OpensslAesAeadDecryptFinalGCM()
942 EVP_CIPHER_CTX *ctx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesCipherDecryptFinal()
1086 …sOpensslAesDecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in HksOpensslAesDecryptUpdate()
1238 const struct HksBlob *message, struct HksBlob *plainText) in HksOpensslAesDecrypt()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
Dark_pasteboard_client_adapter.h158 virtual bool SetPlainTextV2(const ArkWebString& plainText) { return false; } in SetPlainTextV2()
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksdecrypt_fuzzer/
Dhksdecrypt_fuzzer.cpp40 …struct HksBlob plainText = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI() local
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksencrypt_fuzzer/
Dhksencrypt_fuzzer.cpp39 …struct HksBlob plainText = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI() local
/base/security/crypto_framework/test/unittest/src/aes_cipher/
Daes_common.cpp303 uint8_t plainText[] = "this is test!"; in AesEncrypt() local
348 uint8_t plainText[] = "this is test!"; in AesDecrypt() local
452 uint8_t plainText[] = "this is test!"; in AesNoUpdateEncrypt() local
484 uint8_t plainText[] = "this is test!"; in AesNoUpdateDecrypt() local
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_sm2_cipher_test.cpp388 const struct HksBlob *cipherText, struct HksBlob *plainText, const struct HksBlob *inData) in HksSm2CipherTestDecrypt()
467 struct HksBlob plainText = { SM2_COMMON_SIZE, plain }; in HksSm2CipherTestRun() local
607 struct OH_Huks_Blob *plainText, const struct OH_Huks_Blob *inData) in HksSm2CipherTestDecryptByNdk()
672 struct OH_Huks_Blob plainText = { SM2_COMMON_SIZE, plain }; in HksSm2CipherTestRunByNdk() local
/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/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_crypt.cpp246 const uint8_t *message, uint8_t *plainText) in DlpHIAEDecrypt()
574 …slAesCipherDecryptUpdate(void* cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) in OpensslAesCipherDecryptUpdate()
594 void** cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) in OpensslAesCipherDecryptFinalThree()
630 EVP_CIPHER_CTX* ctx, const struct DlpBlob* message, struct DlpBlob* plainText) in OpensslAesCipherDecryptFinal()
787 …pOpensslAesDecryptUpdate(void* cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) in DlpOpensslAesDecryptUpdate()
822 …pOpensslAesDecryptFinal(void** cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) in DlpOpensslAesDecryptFinal()
944 const struct DlpBlob* message, struct DlpBlob* plainText) in DlpOpensslAesDecrypt()

1234