The unified diff between revisions [630fe558..] and [c8601f31..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'libtommath/bn_mp_exptmod_fast.c'

#
#
# patch "libtommath/bn_mp_exptmod_fast.c"
#  from [db78a4980931f85a34647ce6a982c85d1926970d]
#    to [1107da6e60672dfdac79b44a9c3cd9908db32d5a]
#
============================================================
--- libtommath/bn_mp_exptmod_fast.c	db78a4980931f85a34647ce6a982c85d1926970d
+++ libtommath/bn_mp_exptmod_fast.c	1107da6e60672dfdac79b44a9c3cd9908db32d5a
@@ -46,6 +46,11 @@ int mp_exptmod_fast (mp_int * G, mp_int
   print_mp_int("mp_exptmod_fast X", X);
   print_mp_int("mp_exptmod_fast P", P);

+  printhex("mp_exptmod_fast G", (void*)G->dp, sizeof(mp_digit)*G->used);
+  printhex("mp_exptmod_fast X", (void*)X->dp, sizeof(mp_digit)*X->used);
+  printhex("mp_exptmod_fast P", (void*)P->dp, sizeof(mp_digit)*P->used);
+  dropbear_trace("mp_exptmod_fast X used %d", X->used);
+
   /* find window size */
   x = mp_count_bits (X);
   if (x <= 7) {