未验证 提交 2442d675 编写于 作者: Y yuanyuhang 提交者: Gitee

XTS_security HUKS测试代码修改

Signed-off-by: Nyuanyuhang <yuanyuhang1@huawei.com>
上级 90329130
......@@ -235,7 +235,7 @@ export default function SecurityHuksRSASignExtendJsunit() {
}
await publicInitFunc(srcKeyAliesGen, HuksOptionsVerify);
HuksOptionsVerify.inData = srcData64Kb;
publicUpdateSessionFunction(HuksOptionsVerify);
await publicUpdateSessionFunction(HuksOptionsVerify);
HuksOptionsVerify.inData = signedResult;
await publicFinishSessionFunc(HuksOptionsVerify);
await publicDeleteKeyFunc(srcKeyAliesGen, HuksOptionsGen);
......@@ -289,7 +289,7 @@ export default function SecurityHuksRSASignExtendJsunit() {
}
await publicInitFunc(srcKeyAliesGen, HuksOptionsVerify);
HuksOptionsVerify.inData = srcData64Kb;
publicUpdateSessionFunction(HuksOptionsVerify);
await publicUpdateSessionFunction(HuksOptionsVerify);
HuksOptionsVerify.inData = signedResult;
await publicFinishSessionFunc(HuksOptionsVerify);
await publicDeleteKeyFunc(srcKeyAliesGen, HuksOptionsGen);
......@@ -342,7 +342,7 @@ export default function SecurityHuksRSASignExtendJsunit() {
}
await publicInitFunc(srcKeyAliesGen, HuksOptionsVerify);
HuksOptionsVerify.inData = srcData64Kb;
publicUpdateSessionFunction(HuksOptionsVerify);
await publicUpdateSessionFunction(HuksOptionsVerify);
HuksOptionsVerify.inData = signedResult;
await publicFinishSessionFunc(HuksOptionsVerify);
await publicDeleteKeyFunc(srcKeyAliesGen, HuksOptionsGen);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册