未验证 提交 884ce528 编写于 作者: O openharmony_ci 提交者: Gitee

!64 fix CVE-2022-2097

Merge pull request !64 from zhao_zhen_zhou/cherry-pick-1657512878
...@@ -2027,7 +2027,7 @@ my ($l_,$block,$i1,$i3,$i5) = ($rounds_,$key_,$rounds,$len,$out); ...@@ -2027,7 +2027,7 @@ my ($l_,$block,$i1,$i3,$i5) = ($rounds_,$key_,$rounds,$len,$out);
&movdqu (&QWP(-16*2,$out,$inp),$inout4); &movdqu (&QWP(-16*2,$out,$inp),$inout4);
&movdqu (&QWP(-16*1,$out,$inp),$inout5); &movdqu (&QWP(-16*1,$out,$inp),$inout5);
&cmp ($inp,$len); # done yet? &cmp ($inp,$len); # done yet?
&jb (&label("grandloop")); &jbe (&label("grandloop"));
&set_label("short"); &set_label("short");
&add ($len,16*6); &add ($len,16*6);
...@@ -2453,7 +2453,7 @@ my ($l_,$block,$i1,$i3,$i5) = ($rounds_,$key_,$rounds,$len,$out); ...@@ -2453,7 +2453,7 @@ my ($l_,$block,$i1,$i3,$i5) = ($rounds_,$key_,$rounds,$len,$out);
&pxor ($rndkey1,$inout5); &pxor ($rndkey1,$inout5);
&movdqu (&QWP(-16*1,$out,$inp),$inout5); &movdqu (&QWP(-16*1,$out,$inp),$inout5);
&cmp ($inp,$len); # done yet? &cmp ($inp,$len); # done yet?
&jb (&label("grandloop")); &jbe (&label("grandloop"));
&set_label("short"); &set_label("short");
&add ($len,16*6); &add ($len,16*6);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册