diff libtommath/bn_mp_exptmod_fast.c @ 352:2481bc4370b8 debug-unrandom

add yet more
author Matt Johnston <matt@ucc.asn.au>
date Wed, 09 Aug 2006 16:22:20 +0000
parents e66eec4dcba7
children 59323ef2833b
line wrap: on
line diff
--- a/libtommath/bn_mp_exptmod_fast.c	Tue Aug 08 15:31:38 2006 +0000
+++ b/libtommath/bn_mp_exptmod_fast.c	Wed Aug 09 16:22:20 2006 +0000
@@ -46,6 +46,11 @@
   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) {