提交 560e63b8 编写于 作者: Y yuanyuhang

fixed 2442d675 from https://gitee.com/yuanyuhang1/xts_acts/pulls/8192

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