From 0c53f3e000767cc2e5bcf8ff6eab36ae4916b1b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E6=99=93=E5=85=B5?= Date: Thu, 15 Dec 2022 02:10:43 +0000 Subject: [PATCH] =?UTF-8?q?=E3=80=90security=5Flite=E3=80=91=E3=80=90month?= =?UTF-8?q?ly=5F20221018=E3=80=91=E4=BF=AE=E6=94=B9hks=5Fmac=5Ftest.c?= =?UTF-8?q?=EF=BC=8CGenerateKey=E5=87=BD=E6=95=B0=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 范晓兵 --- security_lite/huks/liteos_m_adapter/hks_mac_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security_lite/huks/liteos_m_adapter/hks_mac_test.c b/security_lite/huks/liteos_m_adapter/hks_mac_test.c index f454ebbf4..ec0265ac6 100644 --- a/security_lite/huks/liteos_m_adapter/hks_mac_test.c +++ b/security_lite/huks/liteos_m_adapter/hks_mac_test.c @@ -168,7 +168,7 @@ static int32_t BaseTestMac(uint32_t index) g_testMacParams[index].keyParams.blobDataSize); } else { if (g_testMacParams[index].keyAliasParams.blobExist) { - ret = GenerateKey(&key, &(g_testMacParams[index].keyAliasParams), + ret = HuksGenerateKey(&key, &(g_testMacParams[index].keyAliasParams), &g_testMacParams[index].genKeyParamSetParams, NULL); } else { ret = TestConstuctBlob(&key, -- GitLab