aboutsummaryrefslogtreecommitdiff
path: root/crypto/bn/asm/x86_64-mont.pl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bn/asm/x86_64-mont.pl')
-rwxr-xr-xcrypto/bn/asm/x86_64-mont.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/asm/x86_64-mont.pl b/crypto/bn/asm/x86_64-mont.pl
index 6701bf2..68bec49 100755
--- a/crypto/bn/asm/x86_64-mont.pl
+++ b/crypto/bn/asm/x86_64-mont.pl
@@ -170,10 +170,10 @@ bn_mul_mont:
mov -8($np,$num,8),%rax # np[num-1]
lea (%rsp),$ap # borrow ap for tp
shr \$62,%rax # check for boundary condition
+ lea -1($num),$j # j=num-1
jz .Lcopy
mov ($ap),%rax # tp[0]
- lea -1($num),$j # j=num-1
xor $i,$i # i=0 and clear CF!
jmp .Lsub
.align 16