more bn fix

This commit is contained in:
NIIBE Yutaka
2014-03-20 15:42:32 +09:00
parent 2bb12e55c2
commit 7d8696946a

View File

@@ -45,7 +45,7 @@ bn256_add (bn256 *X, const bn256 *A, const bn256 *B)
*px = *pa + carry;
carry = (*px < carry);
*px += v;
carry += (*px < *pb);
carry += (*px < v);
px++;
pa++;
pb++;