aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp_asm.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-06-06 14:45:05 +0000
committerlloyd <[email protected]>2006-06-06 14:45:05 +0000
commitd3522b3622ac4aad18215bc173f9e26953c6cc3d (patch)
tree9e5a9e947fc57b83700877a1261b307030ae09ff /src/mp_asm.cpp
parent71ef9df15a45af4d49070336a2dfc0a703a3c21e (diff)
Remove one parameter from word_madd2 and word_madd3
Diffstat (limited to 'src/mp_asm.cpp')
-rw-r--r--src/mp_asm.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mp_asm.cpp b/src/mp_asm.cpp
index ec2e31011..ef8292083 100644
--- a/src/mp_asm.cpp
+++ b/src/mp_asm.cpp
@@ -148,7 +148,7 @@ void bigint_linmul2(word x[], u32bit x_size, word y)
carry = word8_linmul2(x + j, y, carry);
for(u32bit j = blocks; j != x_size; ++j)
- x[j] = word_madd2(x[j], y, carry, &carry);
+ x[j] = word_madd2(x[j], y, &carry);
x[x_size] = carry;
}
@@ -166,7 +166,7 @@ void bigint_linmul3(word z[], const word x[], u32bit x_size, word y)
carry = word8_linmul3(z + j, x + j, y, carry);
for(u32bit j = blocks; j != x_size; ++j)
- z[j] = word_madd2(x[j], y, carry, &carry);
+ z[j] = word_madd2(x[j], y, &carry);
z[x_size] = carry;
}
@@ -190,7 +190,7 @@ void bigint_simple_mul(word z[], const word x[], u32bit x_size,
carry = word8_madd3(z + j + k, y + k, x_j, carry);
for(u32bit k = blocks; k != y_size; ++k)
- z[j+k] = word_madd3(x_j, y[k], z[j+k], carry, &carry);
+ z[j+k] = word_madd3(x_j, y[k], z[j+k], &carry);
z[j+y_size] = carry;
}
@@ -215,7 +215,7 @@ void montgomery_reduce(word z[], u32bit z_size,
carry = word8_madd3(z_j + k, x + k, y, carry);
for(u32bit k = blocks; k != x_size; ++k)
- z_j[k] = word_madd3(x[k], y, z_j[k], carry, &carry);
+ z_j[k] = word_madd3(x[k], y, z_j[k], &carry);
word carry2 = 0;
z_j[x_size] = word_add(z_j[x_size], carry, &carry2);