app/security: fix seclink testcase
fix input invalid parameters
@@ -235,7 +235,7 @@ TEST_SETUP(get_hmac)
ST_EXPECT_EQ(0, sl_test_malloc_buffer(&g_hmac, SL_TEST_AUTH_MEM_SIZE));
hal_result_e hres = HAL_FAIL;
- ST_EXPECT_EQ(SECLINK_OK, sl_generate_key(g_hnd, HAL_HMAC_SHA256, SL_TEST_HMAC_KEY_SLOT, &hres));
+ ST_EXPECT_EQ(SECLINK_OK, sl_generate_key(g_hnd, HAL_KEY_HMAC_SHA256, SL_TEST_HMAC_KEY_SLOT, &hres));
ST_EXPECT_EQ(HAL_SUCCESS, hres);
ST_END_TEST;
@@ -246,7 +246,7 @@ TEST_TEARDOWN(get_hmac)
ST_START_TEST;
hal_result_e hres = HAL_FAIL;
- ST_EXPECT_EQ(SECLINK_OK, sl_remove_key(g_hnd, HAL_HMAC_SHA256, SL_TEST_HMAC_KEY_SLOT, &hres));
+ ST_EXPECT_EQ(SECLINK_OK, sl_remove_key(g_hnd, HAL_KEY_HMAC_SHA256, SL_TEST_HMAC_KEY_SLOT, &hres));
ST_EXPECT_EQ(HAL_SUCCESS, hres);
ST_EXPECT_EQ(SECLINK_OK, sl_deinit(g_hnd));
