Home
last modified time | relevance | path

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

/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_common_check.c228 struct HksParam *storageFlag = NULL; in HksCheckKeyNeedStored() local
229 int32_t ret = HksGetParam(paramSet, HKS_TAG_KEY_STORAGE_FLAG, &storageFlag); in HksCheckKeyNeedStored()
230 if ((ret == HKS_SUCCESS) && (storageFlag->uint32Param == HKS_STORAGE_PERSISTENT)) { in HksCheckKeyNeedStored()
234 ret = HksGetParam(paramSet, HKS_TAG_DERIVE_AGREE_KEY_STORAGE_FLAG, &storageFlag); in HksCheckKeyNeedStored()
235 if ((ret == HKS_SUCCESS) && (storageFlag->uint32Param == HKS_STORAGE_ONLY_USED_IN_HUKS)) { in HksCheckKeyNeedStored()
/base/security/huks/interfaces/inner_api/huks_standard/main/src/
Dhks_api.c110 struct HksParam *storageFlag = NULL; in HksGenerateKey() local
111 int32_t ret = HksGetParam(paramSetIn, HKS_TAG_KEY_STORAGE_FLAG, &storageFlag); in HksGenerateKey()
112 if ((ret == HKS_SUCCESS) && (storageFlag->uint32Param == HKS_STORAGE_TEMP)) { in HksGenerateKey()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service_three_stage.c1504 uint32_t storageFlag = 0; in BuildAgreeDeriveKeyBlobOrGetOutData() local
1510 storageFlag = keyStorageFlagParam->uint32Param; in BuildAgreeDeriveKeyBlobOrGetOutData()
1529 if ((storageFlag == HKS_STORAGE_ONLY_USED_IN_HUKS) == isNeedStorage) { in BuildAgreeDeriveKeyBlobOrGetOutData()
1530 HKS_LOG_D("need store flag: %" LOG_PUBLIC "d", storageFlag); in BuildAgreeDeriveKeyBlobOrGetOutData()
1535 (storageFlag == HKS_STORAGE_ONLY_USED_IN_HUKS), isNeedStorage); in BuildAgreeDeriveKeyBlobOrGetOutData()