Home
last modified time | relevance | path

Searched refs:HKS_MAX_FILE_NAME_LEN (Results 1 - 10 of 10) sorted by relevance

/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/
H A Dhks_storage.c43 char *fullPath = (char *)HksMalloc(HKS_MAX_FILE_NAME_LEN); in CreateStorageFileLock()
46 int32_t ret = HksGetFileName(path, fileName, fullPath, HKS_MAX_FILE_NAME_LEN); in CreateStorageFileLock()
487 char *destroyPath = (char *)HksMalloc(HKS_MAX_FILE_NAME_LEN); in DestroyType()
490 (void)memset_s(destroyPath, HKS_MAX_FILE_NAME_LEN, 0, HKS_MAX_FILE_NAME_LEN); in DestroyType()
492 int32_t ret = GetPath(storePath, typePath, destroyPath, HKS_MAX_FILE_NAME_LEN, bakFlag); in DestroyType()
521 char *storePath = (char *)HksMalloc(HKS_MAX_FILE_NAME_LEN); in StoreDestroy()
524 int32_t ret = GetPath(rootPath, processNameEncoded, storePath, HKS_MAX_FILE_NAME_LEN, bakFlag); in StoreDestroy()
547 char *name = (char *)HksMalloc(HKS_MAX_FILE_NAME_LEN); in HksStoreDestroy()
552 ret = ConstructName(processName, name, HKS_MAX_FILE_NAME_LEN); in HksStoreDestroy()
[all...]
H A Dhks_storage_utils.c251 fileInfo->mainPath.size = HKS_MAX_FILE_NAME_LEN; in FileInfoInit()
257 fileInfo->bakPath.size = HKS_MAX_FILE_NAME_LEN; in FileInfoInit()
362 (*fileNameList)[i].fileNameLen = HKS_MAX_FILE_NAME_LEN; in FileNameListInit()
363 (*fileNameList)[i].fileName = (char *)HksMalloc(HKS_MAX_FILE_NAME_LEN); in FileNameListInit()
582 if (memcpy_s(fileInfoPath->fileName, HKS_MAX_FILE_NAME_LEN, in GetPathInfo()
H A Dhks_storage_manager.c91 outMaterial->keyAliasPath = (char *)HksMalloc(HKS_MAX_FILE_NAME_LEN); in GetKeyAliasPath()
93 return ConstructName(keyAlias, outMaterial->keyAliasPath, HKS_MAX_FILE_NAME_LEN); in GetKeyAliasPath()
104 ret = ConstructPlainName(&userIdBlob, outMaterial->userIdPath, HKS_MAX_FILE_NAME_LEN); in GetUserIdPath()
110 ret = ConstructName(&userIdBlob, outMaterial->userIdPath, HKS_MAX_FILE_NAME_LEN); in GetUserIdPath()
/base/security/huks/test/unittest/huks_common_test/include/
H A Dhks_test_file_operator_c.h31 #define HKS_MAX_FILE_NAME_LEN 512 macro
/base/security/huks/utils/file_operator/
H A Dhks_file_operator.h27 #define HKS_MAX_FILE_NAME_LEN 512 macro
H A Dhks_file_operator.c63 uint32_t nameLen = HKS_MAX_FILE_NAME_LEN; in GetFullFileName()
378 char deletePath[HKS_MAX_FILE_NAME_LEN] = {0}; in HksDeletDirPartTwo()
413 char deletePath[HKS_MAX_FILE_NAME_LEN] = {0}; in HksDeletDirPartOne()
453 char deletePath[HKS_MAX_FILE_NAME_LEN] = { 0 }; in HksDeleteDir()
H A Dhks_file_operator_lite.c78 uint32_t nameLen = HKS_MAX_FILE_NAME_LEN; in GetFullFileName()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
H A Dhks_test_file_operator.c22 uint32_t nameLen = HKS_MAX_FILE_NAME_LEN; in GetFullFileName()
/base/security/huks/services/huks_standard/huks_service/main/upgrade/file_transfer/src/
H A Dhks_file_transfer.c42 outMaterial->keyAliasPath = (char *)HksMalloc(HKS_MAX_FILE_NAME_LEN); in GetStoreMaterial()
46 int32_t ret = ConstructName(alias, outMaterial->keyAliasPath, HKS_MAX_FILE_NAME_LEN); in GetStoreMaterial()
/base/security/huks/test/unittest/huks_lite_test/common/
H A Dhks_test_file_operator.c32 uint32_t nameLen = HKS_MAX_FILE_NAME_LEN; in GetFullFileName()

Completed in 6 milliseconds