Home
last modified time | relevance | path

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

/test/xts/acts/security/huks_napi_BasicTest/src/
Dhuks_three_stage_test_common.cpp112 struct OH_Huks_Blob inDataSeg = *inData; in HksTestUpdate() local
113 inDataSeg.size = MAX_UPDATE_SIZE; in HksTestUpdate()
125 while (inDataSeg.data <= lastPtr) in HksTestUpdate()
127 if (inDataSeg.data + MAX_UPDATE_SIZE <= lastPtr) in HksTestUpdate()
134 inDataSeg.size = lastPtr - inDataSeg.data + 1; in HksTestUpdate()
135 outDataSeg.size = inDataSeg.size + MAX_UPDATE_SIZE; in HksTestUpdate()
142 …if (OH_Huks_UpdateSession(handle, paramSet, &inDataSeg, &outDataSeg).errorCode != (int32_t)OH_HUKS… in HksTestUpdate()
149 if ((isFinished == false) && (inDataSeg.data + MAX_UPDATE_SIZE > lastPtr)) in HksTestUpdate()
153 inDataSeg.data += MAX_UPDATE_SIZE; in HksTestUpdate()
166 struct OH_Huks_Blob inDataSeg = *inData; in TestUpdateLoopFinish() local
[all …]