Home
last modified time | relevance | path

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

/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/
H A Dhks_storage_utils.c489 const char *ceOrEceDataPath, struct HksStoreInfo *fileInfoPath) in ConstructPath() argument
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()
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()
541 const char *ceOrEceDataPath, struct HksStoreInfo *fileInfoPath) in GetPathInfo() argument
550 ret = ConstructPath(material, deDataPath, ceOrEceDataPath, fileInfoPath); in GetPathInfo()
553 StandardizePath(fileInfoPath->path); in GetPathInfo()
554 ret = HksMakeFullDir(fileInfoPath->path); in GetPathInfo()
[all …]
H A Dhks_storage.c238 static int32_t GetKeyBlob(const struct HksStoreInfo *fileInfoPath, struct HksBlob *keyBlob) in GetKeyBlob() argument
240 int32_t isFileExist = HksIsFileExist(fileInfoPath->path, fileInfoPath->fileName); in GetKeyBlob()
243 int32_t ret = GetKeyBlobFromFile(fileInfoPath->path, fileInfoPath->fileName, keyBlob); in GetKeyBlob()
247 static int32_t GetKeyBlobSize(const struct HksStoreInfo *fileInfoPath, uint32_t *keyBlobSize) in GetKeyBlobSize() argument
249 int32_t isFileExist = HksIsFileExist(fileInfoPath->path, fileInfoPath->fileName); in GetKeyBlobSize()
252 uint32_t size = HksFileSize(fileInfoPath->path, fileInfoPath->fileName); in GetKeyBlobSize()
325 int32_t HksStoreGetKeyBlob(const struct HksStoreInfo *fileInfoPath, struct HksBlob *keyBlob) in HksStoreGetKeyBlob() argument
329 ret = RecordKeyOperation(KEY_OPERATION_GET, fileInfoPath->path, fileInfoPath->fileName); in HksStoreGetKeyBlob()
332 ret = GetKeyBlob(fileInfoPath, keyBlob); in HksStoreGetKeyBlob()
339 int32_t HksStoreGetKeyBlobSize(const struct HksStoreInfo *fileInfoPath, uint32_t *keyBlobSize) in HksStoreGetKeyBlobSize() argument
[all …]
H A Dhks_storage_lite.c675 int32_t HksStoreGetKeyBlob(const struct HksStoreInfo *fileInfoPath, in HksStoreGetKeyBlob() argument
678 (void)fileInfoPath; in HksStoreGetKeyBlob()
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/include/
H A Dhks_storage.h36 int32_t HksStoreGetKeyBlob(const struct HksStoreInfo *fileInfoPath,
51 int32_t HksStoreGetKeyBlob(const struct HksStoreInfo *fileInfoPath, struct HksBlob *keyBlob);
53 int32_t HksStoreGetKeyBlobSize(const struct HksStoreInfo *fileInfoPath, uint32_t *keyBlobSize);