Searched refs:HKS_MAX_DIRENT_FILE_LEN (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/ |
H A D | hks_storage.c | 578 char dePath[HKS_MAX_DIRENT_FILE_LEN] = ""; in DeleteUserIdMainPathAndBakPath() 588 char cePath[HKS_MAX_DIRENT_FILE_LEN] = ""; in DeleteUserIdMainPathAndBakPath() 589 offset = sprintf_s(cePath, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s", in DeleteUserIdMainPathAndBakPath() 598 char ecePath[HKS_MAX_DIRENT_FILE_LEN] = ""; in DeleteUserIdMainPathAndBakPath() 599 offset = sprintf_s(ecePath, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s", in DeleteUserIdMainPathAndBakPath() 632 char dePath[HKS_MAX_DIRENT_FILE_LEN] = ""; in DeleteUidMainPathAndBakPath() 642 char cePath[HKS_MAX_DIRENT_FILE_LEN] = ""; in DeleteUidMainPathAndBakPath() 643 offset = sprintf_s(cePath, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s/%s", in DeleteUidMainPathAndBakPath() 652 char ecePath[HKS_MAX_DIRENT_FILE_LEN] = ""; in DeleteUidMainPathAndBakPath() 704 char userProcess[HKS_MAX_DIRENT_FILE_LEN] = ""; in HksServiceDeleteUserIDKeyAliasFile() [all …]
|
H A D | hks_storage_utils.c | 476 char userPath[HKS_MAX_DIRENT_FILE_LEN] = { 0 }; in CheckUserPathExist() 477 int32_t offset = sprintf_s(userPath, HKS_MAX_DIRENT_FILE_LEN, "%s/%s", in CheckUserPathExist() 496 offset = sprintf_s(fileInfoPath->path, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s/%s", in ConstructPath() 503 …offset = sprintf_s(fileInfoPath->path, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s/%s/%s", HKS_CE_ROOT_PATH, in ConstructPath() 509 …offset = sprintf_s(fileInfoPath->path, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s/%s/%s", HKS_ECE_ROOT_PAT… in ConstructPath() 514 offset = sprintf_s(fileInfoPath->path, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s/%s", in ConstructPath() 521 offset = sprintf_s(fileInfoPath->path, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s", in ConstructPath() 528 offset = sprintf_s(fileInfoPath->path, HKS_MAX_DIRENT_FILE_LEN, "%s/%s/%s/%s", in ConstructPath()
|
H A D | hks_storage_manager.c | 98 outMaterial->userIdPath = (char *)HksMalloc(HKS_MAX_DIRENT_FILE_LEN); in GetUserIdPath() 119 outMaterial->uidPath = (char *)HksMalloc(HKS_MAX_DIRENT_FILE_LEN); in GetUidPath() 123 …if (memcpy_s(outMaterial->uidPath, HKS_MAX_DIRENT_FILE_LEN, processName->data, processName->size) … in GetUidPath() 132 ret = ConstructPlainName(processName, outMaterial->uidPath, HKS_MAX_DIRENT_FILE_LEN); in GetUidPath() 134 ret = ConstructName(processName, outMaterial->uidPath, HKS_MAX_DIRENT_FILE_LEN); in GetUidPath()
|
/ohos5.0/base/security/huks/utils/file_operator/ |
H A D | hks_file_operator.h | 67 #define HKS_MAX_DIRENT_FILE_LEN 128 macro 69 char fileName[HKS_MAX_DIRENT_FILE_LEN]; /* point to dirent->d_name */
|
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/upgrade/file_transfer/src/ |
H A D | hks_file_transfer.c | 49 outMaterial->uidPath = (char *)HksMalloc(HKS_MAX_DIRENT_FILE_LEN); in GetStoreMaterial() 53 ret = ConstructPlainName(&uidBlob, outMaterial->uidPath, HKS_MAX_DIRENT_FILE_LEN); in GetStoreMaterial() 56 outMaterial->userIdPath = (char *)HksMalloc(HKS_MAX_DIRENT_FILE_LEN); in GetStoreMaterial() 69 ret = ConstructPlainName(&userIdBlob, outMaterial->userIdPath, HKS_MAX_DIRENT_FILE_LEN); in GetStoreMaterial()
|
/ohos5.0/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/ |
H A D | hks_client_service_passthrough.c | 24 #define HKS_MAX_DIRENT_FILE_LEN 128 macro
|