Home
last modified time | relevance | path

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

/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_three_stage.c1091 …ildKeyBlobOrGetOutDataAction(const struct HksParamSet *paramSet, const struct HksBlob *restoreData, in DoBuildKeyBlobOrGetOutDataAction() argument
1095 return HksBuildKeyBlob(NULL, keyFlag, restoreData, paramSet, outData); in DoBuildKeyBlobOrGetOutDataAction()
1097 if (outData->size < restoreData->size) { in DoBuildKeyBlobOrGetOutDataAction()
1101 outData->size = restoreData->size; in DoBuildKeyBlobOrGetOutDataAction()
1102 (void)memcpy_s(outData->data, outData->size, restoreData->data, outData->size); in DoBuildKeyBlobOrGetOutDataAction()
1106 …2_t BuildKeyBlobOrGetOutData(const struct HksParamSet *paramSet, const struct HksBlob *restoreData, in BuildKeyBlobOrGetOutData() argument
1127 … return DoBuildKeyBlobOrGetOutDataAction(paramSet, restoreData, outData, keyFlag, isNeedStorage); in BuildKeyBlobOrGetOutData()
1131 … ret = DoBuildKeyBlobOrGetOutDataAction(paramSet, restoreData, outData, keyFlag, isNeedStorage); in BuildKeyBlobOrGetOutData()
1153 struct HksBlob *restoreData = (struct HksBlob *)ctx; in HksCoreDeriveThreeStageFinish() local
1155 … ret = BuildKeyBlobOrGetOutData(paramSet, restoreData, outData, HKS_KEY_FLAG_DERIVE_KEY, keyNode); in HksCoreDeriveThreeStageFinish()
[all …]