Home
last modified time | relevance | path

Searched defs:plainText (Results 1 – 25 of 64) 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 __anone76dd54f0202() 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.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_add_ece_ce_path_test.cpp388 uint8_t plainText[] = "plainText123456"; variable
438 uint8_t plainText[] = "plainText123456"; variable
484 uint8_t plainText[] = "plainText123456"; variable
547 uint8_t plainText[] = "plainText123456"; variable
/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
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()
/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()
/base/security/crypto_framework/test/unittest/src/
Dcrypto_sm4_ecb_cipher_test.cpp392 uint8_t plainText[] = "this is test!"; variable
432 uint8_t plainText[] = "this is test!"; variable
472 uint8_t plainText[] = "this is test!"; variable
512 uint8_t plainText[] = "this is test!"; variable
575 uint8_t plainText[] = "this is test!"; variable
686 uint8_t plainText[] = "this is test!"; variable
Dsm4_common.cpp144 uint8_t plainText[] = "this is test!"; in Sm4Encrypt() local
187 uint8_t plainText[] = "this is test!"; in Sm4Decrypt() local
234 uint8_t plainText[] = "this is test!"; in Sm4NoUpdateEncrypt() local
264 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
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/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 SetPlainTextFuzzTest() 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 GetMimeTypeFuzzTest() 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 SetUriFuzzTest() local
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/
Dhks_aes_cipher_test_common.cpp99 …t struct HksParamSet *decryptParamSet, const struct HksBlob *cipherText, struct HksBlob *plainText, in HksAesCipherTestDecrypt()
181 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; in HksAesCipherTestCaseOther() local
237 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; in HksAesCipherTestCaseGcm2() local
300 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; in HksAesCipherTestCaseGcm3() local
378 struct HksBlob plainText = { AES_COMMON_SIZE, plain }; in HksAesCipherTestCaseGcm4() local
405 const struct HksBlob *inData, struct HksBlob *cipherText, struct HksBlob *plainText) in HksAesDecryptThreeStage()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_aes.c74 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByLocal() local
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_aes.c209 void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslBlockCipherDecryptUpdate()
228 void **cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslBlockCipherDecryptFinalThree()
408 …tx, const struct HksUsageSpec *usageSpec, const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesAeadDecryptFinal()
547 const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesAeadDecryptUpdate()
610 struct HksBlob *plainText, struct HksBlob *tagAead) in OpensslAesAeadDecryptFinalGCM()
740 EVP_CIPHER_CTX *ctx, const struct HksBlob *message, struct HksBlob *plainText) in OpensslAesCipherDecryptFinal()
884 …sOpensslAesDecryptUpdate(void *cryptoCtx, const struct HksBlob *message, struct HksBlob *plainText) in HksOpensslAesDecryptUpdate()
1026 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/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.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_sm2_cipher_test.cpp387 const struct HksBlob *cipherText, struct HksBlob *plainText, const struct HksBlob *inData) in HksSm2CipherTestDecrypt()
466 struct HksBlob plainText = { SM2_COMMON_SIZE, plain }; in HksSm2CipherTestRun() local
606 struct OH_Huks_Blob *plainText, const struct OH_Huks_Blob *inData) in HksSm2CipherTestDecryptByNdk()
671 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/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_chipset_platform_test.h52 std::vector<uint8_t> plainText; member
/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_common_test/src/
Dhks_test_aes_func.cpp342 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByAgree() local
408 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByAgree1() local
466 struct HksBlob plainText = { TEST_AES_256, tmp }; in TestAes256ByAgree2() local

123