diff options
author | Kevin B Kenny <kennykb@acm.org> | 2005-04-10 23:54:55 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2005-04-10 23:54:55 (GMT) |
commit | 163b211fb73a0d795aa73236805b5b97386dd4f3 (patch) | |
tree | 99103342350cd1fb4776a60684221ad722fdec52 /libtommath/bn_mp_montgomery_calc_normalization.c | |
parent | 8df47fab3cdd02f03283e22c2b2226f0fe7a2ab4 (diff) | |
download | tcl-163b211fb73a0d795aa73236805b5b97386dd4f3.zip tcl-163b211fb73a0d795aa73236805b5b97386dd4f3.tar.gz tcl-163b211fb73a0d795aa73236805b5b97386dd4f3.tar.bz2 |
Import of tommath 0.35
Diffstat (limited to 'libtommath/bn_mp_montgomery_calc_normalization.c')
-rw-r--r-- | libtommath/bn_mp_montgomery_calc_normalization.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libtommath/bn_mp_montgomery_calc_normalization.c b/libtommath/bn_mp_montgomery_calc_normalization.c index 0a760cf..e2efc34 100644 --- a/libtommath/bn_mp_montgomery_calc_normalization.c +++ b/libtommath/bn_mp_montgomery_calc_normalization.c @@ -28,7 +28,6 @@ int mp_montgomery_calc_normalization (mp_int * a, mp_int * b) /* 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; |