Mercurial > dropbear
diff bn_mp_mul_d.c @ 190:d8254fc979e9 libtommath-orig LTM_0.35
Initial import of libtommath 0.35
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 06 May 2005 08:59:30 +0000 |
parents | d29b64170cf0 |
children |
line wrap: on
line diff
--- a/bn_mp_mul_d.c Sun Dec 19 11:33:56 2004 +0000 +++ b/bn_mp_mul_d.c Fri May 06 08:59:30 2005 +0000 @@ -57,8 +57,9 @@ u = (mp_digit) (r >> ((mp_word) DIGIT_BIT)); } - /* store final carry [if any] */ + /* store final carry [if any] and increment ix offset */ *tmpc++ = u; + ++ix; /* now zero digits above the top */ while (ix++ < olduse) {