Mercurial > dropbear
diff bn_mp_montgomery_calc_normalization.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_montgomery_calc_normalization.c Sun Dec 19 11:33:56 2004 +0000 +++ b/bn_mp_montgomery_calc_normalization.c Fri May 06 08:59:30 2005 +0000 @@ -28,7 +28,6 @@ /* how many bits of last digit does b use */ bits = mp_count_bits (b) % DIGIT_BIT; - if (b->used > 1) { if ((res = mp_2expt (a, (b->used - 1) * DIGIT_BIT + bits - 1)) != MP_OKAY) { return res;