Searched refs:storageFlag (Results 1 – 3 of 3) sorted by relevance
228 struct HksParam *storageFlag = NULL; in HksCheckKeyNeedStored() local229 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()
110 struct HksParam *storageFlag = NULL; in HksGenerateKey() local111 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()
1504 uint32_t storageFlag = 0; in BuildAgreeDeriveKeyBlobOrGetOutData() local1510 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()