Home
last modified time | relevance | path

Searched refs:decryptedData (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/
H A Dwifi_encryption_util_test.cpp76 std::string decryptedData = ""; variable
78 EXPECT_TRUE(inputString.compare(decryptedData) == 0);
87 std::string decryptedData = ""; variable
89 EXPECT_TRUE(decryptedData.compare("") == 0);
98 std::string decryptedData = ""; variable
100 EXPECT_TRUE(decryptedData.compare("") == 0);
110 std::string decryptedData = ""; variable
112 EXPECT_TRUE(decryptedData.compare("") == 0);
122 std::string decryptedData = ""; variable
173 std::string decryptedData; variable
[all …]
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
H A Dhks_modify_key_test.c79 struct HksBlob *decryptedData = NULL; in BaseTestCipherProcess() local
87 &decryptedData, ivData, nonceData, aadData, 1 in BaseTestCipherProcess()
104 if (plainData->size != decryptedData->size) { in BaseTestCipherProcess()
107 ret = memcmp(plainData->data, decryptedData->data, plainData->size); in BaseTestCipherProcess()
112 TestFreeBlob(&decryptedData); in BaseTestCipherProcess()
174 struct HksBlob *decryptedData = NULL; in LITE_TEST_CASE() local
177 &decryptedData, ivData, nonceData, aadData, 1 in LITE_TEST_CASE()
184 TestFreeBlob(&decryptedData); in LITE_TEST_CASE()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
H A Dhks_modify_key_test.cpp88 struct HksBlob *decryptedData = NULL; in BaseTestCipher() local
108 &decryptedData, ivData, nonceData, aadData, 1 in BaseTestCipher()
116 if (plainData->size != decryptedData->size) { in BaseTestCipher()
119 ret = memcmp(plainData->data, decryptedData->data, plainData->size); in BaseTestCipher()
124 TestFreeBlob(&decryptedData); in BaseTestCipher()
164 struct HksBlob *decryptedData = NULL; variable
167 &decryptedData, ivData, nonceData, aadData, 1
176 TestFreeBlob(&decryptedData);
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/
H A Dhks_test_cipher_func.cpp93 int32_t ret = TestConstuctBlob(decryptStruct->decryptedData, in DecryptCipherTest()
138 *(decryptStruct->decryptedData), decryptStruct->performTimes); in DecryptCipherTest()
190 onlyDecryptStruct->decryptedData, onlyDecryptStruct->performTimes); in Decrypt()
225 struct HksBlob *decryptedData = NULL; in BaseTestCipher() local
228 &decryptedData, ivData, nonceData, aadData, performTimes in BaseTestCipher()
233 if (decryptedData == NULL || plainData == NULL) { in BaseTestCipher()
237 HKS_TEST_ASSERT(plainData->size == decryptedData->size); in BaseTestCipher()
246 TestFreeBlob(&decryptedData); in BaseTestCipher()
328 struct HksBlob *decryptedData = NULL; in BaseTestDecrypt() local
329 ret = ConstructDataToBlobTest(&cipherData, &decryptedData, in BaseTestDecrypt()
[all …]
H A Dhks_modify_key_test_func.cpp79 int32_t ret = TestConstuctBlob(decryptStruct->decryptedData, in DecryptCipher()
108 *(decryptStruct->decryptedData), decryptStruct->performTimes); in DecryptCipher()
/ohos5.0/foundation/communication/dsoftbus/tests/core/adapter/fuzztest/softbusrsacrypto_fuzzer/
H A Dsoftbusrsacrypto_fuzzer.cpp45 uint8_t *decryptedData = nullptr; in SoftBusRsaDecryptFuzzTest() local
47 if (SoftBusRsaDecrypt(data, size, &decryptedData, &decryptedDataLen) != SOFTBUS_OK) { in SoftBusRsaDecryptFuzzTest()
51 SoftBusFree(decryptedData); in SoftBusRsaDecryptFuzzTest()
/ohos5.0/foundation/communication/dsoftbus/core/adapter/huks/src/
H A Dsoftbus_rsa_encrypt.c330 … const uint8_t *srcData, uint32_t srcDataLen, uint8_t **decryptedData, uint32_t *decryptedDataLen) in SoftBusRsaDecrypt() argument
332 if (srcData == NULL || srcDataLen == 0 || decryptedData == NULL || decryptedDataLen == NULL) { in SoftBusRsaDecrypt()
358 *decryptedData = (uint8_t *)SoftBusCalloc(decryptedBlob.size); in SoftBusRsaDecrypt()
359 if (*decryptedData == NULL) { in SoftBusRsaDecrypt()
366 … if (memcpy_s(*decryptedData, decryptedBlob.size, decryptedBlob.data, decryptedBlob.size) != EOK) { in SoftBusRsaDecrypt()
371 SoftBusFree(*decryptedData); in SoftBusRsaDecrypt()
372 *decryptedData = NULL; in SoftBusRsaDecrypt()
H A Dsoftbus_rsa_encrypt_virtual.c38 … const uint8_t *srcData, uint32_t srcDataLen, uint8_t **decryptedData, uint32_t *decryptedDataLen) in SoftBusRsaDecrypt() argument
42 (void)decryptedData; in SoftBusRsaDecrypt()
/ohos5.0/base/security/huks/test/unittest/huks_common_test/include/
H A Dhks_test_cipher_h.h22 struct HksBlob *decryptedData; member
33 struct HksBlob **decryptedData; member
/ohos5.0/foundation/communication/dsoftbus/tests/core/adapter/unittest/
H A Ddsoftbus_rsa_crypto_test.cpp207 uint8_t *decryptedData = NULL; variable
217 ret = SoftBusRsaDecrypt(nullptr, encryptedDataLen, &decryptedData, &decryptedDataLen);
221 ret = SoftBusRsaDecrypt(encryptedData, encryptedDataLen, &decryptedData, nullptr);
242 uint8_t *decryptedData = NULL; variable
253 ret = SoftBusRsaDecrypt(encryptedData, srcDataLen1, &decryptedData, &decryptedDataLen);
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/
H A Dwifi_encryption_util.h97 std::string &decryptedData);
134 std::string &decryptedData);
H A Dwifi_encryption_util.cpp140 std::string &decryptedData) in WifiDecryption() argument
189 decryptedData = temp; in WifiDecryption()
431 std::string &decryptedData) in WifiLoopDecrypt() argument
477 decryptedData = temp; in WifiLoopDecrypt()
/ohos5.0/foundation/communication/dsoftbus/core/adapter/huks/include/
H A Dsoftbus_rsa_encrypt.h40 … const uint8_t *srcData, uint32_t srcDataLen, uint8_t **decryptedData, uint32_t *decryptedDataLen);