The unified diff between revisions [0dc5b2d6..] and [b14c94b9..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'bn_mp_montgomery_calc_normalization.c'
#
#
# patch "bn_mp_montgomery_calc_normalization.c"
# from [fa4dcf6f68dfbab19a37ab68781ef3763b2e904d]
# to [41769e061872600b8d99328e343fe770b7b3aec4]
#
============================================================
--- bn_mp_montgomery_calc_normalization.c fa4dcf6f68dfbab19a37ab68781ef3763b2e904d
+++ bn_mp_montgomery_calc_normalization.c 41769e061872600b8d99328e343fe770b7b3aec4
@@ -28,7 +28,6 @@ int mp_montgomery_calc_normalization (mp
/* 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;