diff --git a/security_lite/huks/liteos_a_adapter/hks_modify_key_test.cpp b/security_lite/huks/liteos_a_adapter/hks_modify_key_test.cpp index 2b09995458a65273153e54719cb1b3ab1805b17a..4dc96df5bc678befd4a4c82c4ff33822ce6aae8a 100644 --- a/security_lite/huks/liteos_a_adapter/hks_modify_key_test.cpp +++ b/security_lite/huks/liteos_a_adapter/hks_modify_key_test.cpp @@ -63,7 +63,7 @@ void HksModifyKeyTest::TearDown() const int DEFAULT_AES_CIPHER_PLAIN_SIZE = 1000; const int AES_DEFAULT_GCM_NONCE_LENGTH = 12; const int AES_DEFAULT_AAD_LEN = 4; -const char *g_storePath = "/storage/maindata/hks_client/key"; +const char *g_storePath = "/storage/data/service/el1/public/huks_service/maindata/+0+0+0+0/key"; const char *g_testName = "TestName"; const struct HksTestCipherParams g_testCipherParams[] = { diff --git a/security_lite/huks/liteos_a_adapter/hks_safe_compare_key_test.cpp b/security_lite/huks/liteos_a_adapter/hks_safe_compare_key_test.cpp index b03096058ace43b8cdd07afa5f2269fa381a6d49..f13f715617fd08384bdde0d5c2163e32e89ef233 100644 --- a/security_lite/huks/liteos_a_adapter/hks_safe_compare_key_test.cpp +++ b/security_lite/huks/liteos_a_adapter/hks_safe_compare_key_test.cpp @@ -56,7 +56,7 @@ void HksSafeCompareKeyTest::TearDown() { } -const char *g_storePath = "/storage/maindata/hks_client/key/"; +const char *g_storePath = "/storage/data/service/el1/public/huks_service/maindata/+0+0+0+0/key"; const char *g_testOne = "TestOne"; const char *g_testTwo = "TestTwo";