diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-10-14 09:30:07 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-10-14 09:30:07 +0000 |
commit | 0b10a7373e61d25aec4156ebd81123a39c0abe46 (patch) | |
tree | 41976fec0a24ecc95421d42b29e0d9fbff50c4e5 /src/util/crypto_ksk.c | |
parent | 84d16f7cc432df64260e932cdc785c6631f0a736 (diff) | |
download | gnunet-0b10a7373e61d25aec4156ebd81123a39c0abe46.tar.gz gnunet-0b10a7373e61d25aec4156ebd81123a39c0abe46.zip |
stuff
Diffstat (limited to 'src/util/crypto_ksk.c')
-rw-r--r-- | src/util/crypto_ksk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/crypto_ksk.c b/src/util/crypto_ksk.c index 2a49966b4..07ac939b4 100644 --- a/src/util/crypto_ksk.c +++ b/src/util/crypto_ksk.c | |||
@@ -87,6 +87,8 @@ mpz_randomize (gcry_mpi_t n, unsigned int nbits, GNUNET_HashCode * rnd) | |||
87 | 87 | ||
88 | if (i > 0) | 88 | if (i > 0) |
89 | GNUNET_CRYPTO_hash (&hc, sizeof (GNUNET_HashCode), &tmp); | 89 | GNUNET_CRYPTO_hash (&hc, sizeof (GNUNET_HashCode), &tmp); |
90 | fprintf (stderr, "H: %s\n", GNUNET_h2s (&tmp)); | ||
91 | |||
90 | for (j=0;j<sizeof(GNUNET_HashCode) / sizeof(uint32_t); j++) | 92 | for (j=0;j<sizeof(GNUNET_HashCode) / sizeof(uint32_t); j++) |
91 | { | 93 | { |
92 | #if HAVE_GCRY_MPI_LSHIFT | 94 | #if HAVE_GCRY_MPI_LSHIFT |