Home
last modified time | relevance | path

Searched refs:MallocAndCheckBlobData (Results 1 – 6 of 6) sorted by relevance

/test/xts/acts/security/huks_napi_BasicTest/src/
Dhuks_three_stage_test_common.cpp69 if (MallocAndCheckBlobData(&tmpOutData, tmpOutData.size).errorCode != (int32_t)OH_HUKS_SUCCESS) in TestLessThanMaxSeg()
84 if (MallocAndCheckBlobData(&tmpInData, MAX_UPDATE_SIZE).errorCode != (int32_t)OH_HUKS_SUCCESS) in TestLessThanMaxSeg()
137 … if (MallocAndCheckBlobData(&outDataSeg, outDataSeg.size).errorCode != (int32_t)OH_HUKS_SUCCESS) in HksTestUpdate()
188 … if (MallocAndCheckBlobData(&outDataSeg, outDataSeg.size).errorCode != (int32_t)OH_HUKS_SUCCESS) in TestUpdateLoopFinish()
212 …if (MallocAndCheckBlobData(&outDataFinish, outDataFinish.size).errorCode != (int32_t)OH_HUKS_SUCCE… in TestUpdateLoopFinish()
257 … if (MallocAndCheckBlobData(&outDataSeg, outDataSeg.size).errorCode != (int32_t)OH_HUKS_SUCCESS) in TestUpdateFinish()
310 OH_Huks_Result MallocAndCheckBlobData( in MallocAndCheckBlobData() function
345 if (MallocAndCheckBlobData(&hash1, hash1.size).errorCode != (int32_t)OH_HUKS_SUCCESS) in TestCmpKeyAliasHash()
361 if (MallocAndCheckBlobData(&hash2, hash2.size).errorCode != (int32_t)OH_HUKS_SUCCESS) in TestCmpKeyAliasHash()
414 … if (MallocAndCheckBlobData(&outDataSeg, outDataSeg.size).errorCode != (int32_t)OH_HUKS_SUCCESS) in HksEncryptLoopUpdate()
[all …]
Dhuks_agree_ecdh_test.cpp204 ret = MallocAndCheckBlobData(&publicKey01, publicKey01.size);
206 ret = MallocAndCheckBlobData(&publicKey02, publicKey02.size);
213 ret = MallocAndCheckBlobData(&outData01, outData01.size);
215 ret = MallocAndCheckBlobData(&outData02, outData02.size);
Dhuks_agree_dh_test.cpp188 ret = MallocAndCheckBlobData(&publicKey01, publicKey01.size);
190 ret = MallocAndCheckBlobData(&publicKey02, publicKey02.size);
197 ret = MallocAndCheckBlobData(&outData01, outData01.size);
199 ret = MallocAndCheckBlobData(&outData02, outData02.size);
Dhuks_agree_x25519_test.cpp299 …EXPECT_EQ(MallocAndCheckBlobData(&publicKey01, publicKey01.size).errorCode, (int32_t)OH_HUKS_SUCCE…
300 …EXPECT_EQ(MallocAndCheckBlobData(&publicKey02, publicKey02.size).errorCode, (int32_t)OH_HUKS_SUCCE…
306 …EXPECT_EQ(MallocAndCheckBlobData(&outData01, outData01.size).errorCode, (int32_t)OH_HUKS_SUCCESS) …
307 …EXPECT_EQ(MallocAndCheckBlobData(&outData02, outData02.size).errorCode, (int32_t)OH_HUKS_SUCCESS) …
Dhuks_wrapped_test_common.cpp57 (void)MallocAndCheckBlobData(&outBlob, outBlob.size); in BuildWrappedKeyData()
117 EXPECT_EQ(MallocAndCheckBlobData(huksPublicKey, huksPublicKey->size).errorCode, in GenerateAndExportHuksPublicKey()
131 EXPECT_EQ(MallocAndCheckBlobData(callerSelfPublicKey, callerSelfPublicKey->size).errorCode, in GenerateAndExportCallerPublicKey()
144 EXPECT_EQ(MallocAndCheckBlobData(outSharedKey, outSharedKey->size).errorCode, in ImportKekAndAgreeSharedSecret()
/test/xts/acts/security/huks_napi_BasicTest/include/
Dhuks_three_stage_test_common.h71 OH_Huks_Result MallocAndCheckBlobData(