Home
last modified time | relevance | path

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

123

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_chipset_platform_decrypt_test.cpp520 std::vector<uint8_t> plainText(t.cipher.size()); variable
540 std::vector<uint8_t> plainText(t.cipher.size()); variable
563 std::vector<uint8_t> plainText(t.cipher.size()); in __anonf788780e0202() local
603 std::vector<uint8_t> plainText(t.cipher.size()); variable
627 std::vector<uint8_t> plainText(t.cipher.size()); variable
648 std::vector<uint8_t> plainText(t.cipher.size()); variable
675 std::vector<uint8_t> plainText(t.cipher.size()); variable
701 std::vector<uint8_t> plainText(t.cipher.size()); variable
727 std::vector<uint8_t> plainText(t.cipher.size()); variable
749 std::vector<uint8_t> plainText(t.cipher.size() + t.cipher.size()); variable
[all …]
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/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/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_chipset_platform_decrypt.c82 static int32_t CheckText(const struct HksBlob *cipherText, const struct HksBlob *plainText) in CheckText()
138 const struct HksBlob *wrappedKey, struct HksBlob *plainText) in DoAesDecrypt()
189 static int32_t CheckInput(const struct HksParamSet *paramSet, struct HksBlob *plainText, in CheckInput()
217 enum HksChipsetPlatformDecryptScene scene, struct HksBlob *plainText) in HuksCoreChipsetPlatformDecrypt()
Dhks_core_service_key_chipset_platform_derive.c56 enum HksChipsetPlatformDecryptScene scene, struct HksBlob *plainText) in HksCoreChipsetPlatformDecrypt()
/base/security/crypto_framework/test/unittest/src/
Dcrypto_sm4_ecb_cipher_test.cpp393 uint8_t plainText[] = "this is test!"; variable
433 uint8_t plainText[] = "this is test!"; variable
473 uint8_t plainText[] = "this is test!"; variable
513 uint8_t plainText[] = "this is test!"; variable
576 uint8_t plainText[] = "this is test!"; variable
687 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.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
1653 uint8_t plainText[] = "this is test!"; variable
1694 uint8_t plainText[] = "this is test!"; variable
1734 uint8_t plainText[] = "this is test!"; variable
1769 uint8_t plainText[] = "this is test!"; variable
/base/notification/distributed_notification_service/services/ans/src/common/
Daes_gcm_helper.cpp132 ErrCode AesGcmHelper::Encrypt(const std::string &plainText, std::string &cipherText) in Encrypt()
152 ErrCode AesGcmHelper::Decrypt(std::string &plainText, const std::string &cipherText) in Decrypt()
172 bool AesGcmHelper::EncryptAesGcm(const std::string &plainText, std::string &cipherText, std::string… in EncryptAesGcm()
222 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/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/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/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()
54 bool ArkPasteDataRecordAdapterWrapper::SetPlainText(std::shared_ptr<std::string> plainText) in SetPlainText()
/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/crypto_framework/test/unittest/src/native/
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/huks/test/unittest/huks_lite_test/common/
Dhks_test_aes.c75 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByLocal() local
/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()
51 bool ArkPasteDataRecordAdapterImpl::SetPlainText(void* plainText) in SetPlainText()
/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()
428 …tx, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesAeadDecryptFinal()
567 const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesAeadDecryptUpdate()
630 struct HksBlob *plainText, struct HksBlob *tagAead) in OpensslAesAeadDecryptFinalGCM()
952 EVP_CIPHER_CTX *ctx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesCipherDecryptFinal()
1096 …sOpensslAesDecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in HksOpensslAesDecryptUpdate()
1248 const struct HksBlob *message, struct HksBlob *plainText) in HksOpensslAesDecrypt()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_crypt.cpp328 …slAesCipherDecryptUpdate(void* cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) in OpensslAesCipherDecryptUpdate()
348 void** cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) in OpensslAesCipherDecryptFinalThree()
384 EVP_CIPHER_CTX* ctx, const struct DlpBlob* message, struct DlpBlob* plainText) in OpensslAesCipherDecryptFinal()
541 …pOpensslAesDecryptUpdate(void* cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) in DlpOpensslAesDecryptUpdate()
576 …pOpensslAesDecryptFinal(void** cryptoCtx, const struct DlpBlob* message, struct DlpBlob* plainText) in DlpOpensslAesDecryptFinal()
698 const struct DlpBlob* message, struct DlpBlob* plainText) in DlpOpensslAesDecrypt()
/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_rsa_cipher_test_common.cpp83 …t struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plainText, in HksRsaCipherTestDecrypt()
138 struct HksBlob plainText = { Unittest::RsaCipher::RSA_COMMON_SIZE, plain }; in HksRsaCipherTestCase() local
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()

123