Home
last modified time | relevance | path

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

/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/
H A Dhks_storage.c486 char *destroyPath = (char *)HksMalloc(HKS_MAX_FILE_NAME_LEN); in DestroyType() local
487 HKS_IF_NULL_RETURN(destroyPath, HKS_ERROR_MALLOC_FAIL) in DestroyType() local
489 (void)memset_s(destroyPath, HKS_MAX_FILE_NAME_LEN, 0, HKS_MAX_FILE_NAME_LEN); in DestroyType()
491 int32_t ret = GetPath(storePath, typePath, destroyPath, HKS_MAX_FILE_NAME_LEN, bakFlag); in DestroyType()
494 HKS_FREE(destroyPath); in DestroyType()
498 ret = HksIsDirExist(destroyPath); in DestroyType()
500 HKS_FREE(destroyPath); in DestroyType()
504 ret = HksRemoveDir(destroyPath); in DestroyType()
507 HKS_FREE(destroyPath); in DestroyType()