Home
last modified time | relevance | path

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

/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/storage/src/
H A Dhks_storage_manager_test.cpp113 ASSERT_EQ(strlen(HKS_KEY_STORE_KEY_PATH), strlen(material.storageTypePath));
114 …_EQ(EOK, HksMemCmp(HKS_KEY_STORE_KEY_PATH, material.storageTypePath, strlen(material.storageTypePa…
164 ASSERT_EQ(strlen(HKS_KEY_STORE_KEY_PATH), strlen(material.storageTypePath));
165 …_EQ(EOK, HksMemCmp(HKS_KEY_STORE_KEY_PATH, material.storageTypePath, strlen(material.storageTypePa…
215 ASSERT_EQ(strlen(HKS_KEY_STORE_KEY_PATH), strlen(material.storageTypePath));
216 …_EQ(EOK, HksMemCmp(HKS_KEY_STORE_KEY_PATH, material.storageTypePath, strlen(material.storageTypePa…
267 ASSERT_EQ(strlen(HKS_KEY_STORE_KEY_PATH), strlen(material.storageTypePath));
268 …_EQ(EOK, HksMemCmp(HKS_KEY_STORE_KEY_PATH, material.storageTypePath, strlen(material.storageTypePa…
318 ASSERT_EQ(strlen(HKS_KEY_STORE_KEY_PATH), strlen(material.storageTypePath));
319 …_EQ(EOK, HksMemCmp(HKS_KEY_STORE_KEY_PATH, material.storageTypePath, strlen(material.storageTypePa…
[all …]
H A Dhks_storage_util_test.cpp82 material.storageTypePath = const_cast<char *>("key");
111 material.storageTypePath = const_cast<char *>("key");
140 material.storageTypePath = const_cast<char *>("key");
169 material.storageTypePath = const_cast<char *>("key");
199 material.storageTypePath = const_cast<char *>("key");
229 material.storageTypePath = const_cast<char *>("key");
258 material.storageTypePath = const_cast<char *>("key");
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/upgrade/file_transfer/src/
H A Dhks_file_transfer.c72 outMaterial->storageTypePath = (char *)HksMalloc(sizeof(HKS_KEY_STORE_KEY_PATH) + 1); in GetStoreMaterial()
73 HKS_IF_NULL_RETURN(outMaterial->storageTypePath, HKS_ERROR_MALLOC_FAIL); in GetStoreMaterial()
75 (void)memcpy_s(outMaterial->storageTypePath, sizeof(HKS_KEY_STORE_KEY_PATH), in GetStoreMaterial()
113 HKS_FREE(storeMaterial.storageTypePath); in ConstructNewFilePath()
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/
H A Dhks_storage_manager.c145 outMaterial->storageTypePath = (char *)HksMalloc(sizeof(HKS_KEY_STORE_KEY_PATH) + 1); in GetStorageTypePath()
146 if (outMaterial->storageTypePath == NULL) { in GetStorageTypePath()
149 (void)memcpy_s(outMaterial->storageTypePath, sizeof(HKS_KEY_STORE_KEY_PATH), in GetStorageTypePath()
153 … outMaterial->storageTypePath = (char *)HksMalloc(sizeof(HKS_KEY_STORE_ROOT_KEY_PATH) + 1); in GetStorageTypePath()
154 if (outMaterial->storageTypePath == NULL) { in GetStorageTypePath()
157 (void)memcpy_s(outMaterial->storageTypePath, sizeof(HKS_KEY_STORE_ROOT_KEY_PATH), in GetStorageTypePath()
229 HKS_FREE(material->storageTypePath); in FreeStorageMaterial()
H A Dhks_storage_utils.c497 deDataPath, material->userIdPath, material->uidPath, material->storageTypePath); in ConstructPath()
504 … material->userIdPath, ceOrEceDataPath, material->uidPath, material->storageTypePath); in ConstructPath()
510 … material->userIdPath, ceOrEceDataPath, material->uidPath, material->storageTypePath); in ConstructPath()
515 … HKS_KEY_STORE_TMP_PATH, material->userIdPath, material->uidPath, material->storageTypePath); in ConstructPath()
522 HKS_KEY_RKC_PATH, material->uidPath, material->storageTypePath); in ConstructPath()
529 … HKS_KEY_STORE_LITE_HAP, material->userIdPath, material->uidPath, material->storageTypePath); in ConstructPath()
/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/hks_storage/include/
H A Dhks_storage_utils.h76 char *storageTypePath; member