forked from mindspore-Ecosystem/mindspore
22 lines
793 B
Diff
22 lines
793 B
Diff
diff --git a/crypto/aes/asm/aesni-x86.pl b/crypto/aes/asm/aesni-x86.pl
|
|
index fe2b26542a..812758e02e 100644
|
|
--- a/crypto/aes/asm/aesni-x86.pl
|
|
+++ b/crypto/aes/asm/aesni-x86.pl
|
|
@@ -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*1,$out,$inp),$inout5);
|
|
&cmp ($inp,$len); # done yet?
|
|
- &jb (&label("grandloop"));
|
|
+ &jbe (&label("grandloop"));
|
|
|
|
&set_label("short");
|
|
&add ($len,16*6);
|
|
@@ -2453,7 +2453,7 @@ my ($l_,$block,$i1,$i3,$i5) = ($rounds_,$key_,$rounds,$len,$out);
|
|
&pxor ($rndkey1,$inout5);
|
|
&movdqu (&QWP(-16*1,$out,$inp),$inout5);
|
|
&cmp ($inp,$len); # done yet?
|
|
- &jb (&label("grandloop"));
|
|
+ &jbe (&label("grandloop"));
|
|
|
|
&set_label("short");
|
|
&add ($len,16*6);
|