diff options
author | Omar Tarabai <tarabai@devegypt.com> | 2014-09-15 13:15:31 +0000 |
---|---|---|
committer | Omar Tarabai <tarabai@devegypt.com> | 2014-09-15 13:15:31 +0000 |
commit | be73250fb373dbdcd18180ee9eff8b1bc87374af (patch) | |
tree | d8f888c476c33ede18bcd4a306e7acc3228104f4 /src/sensor/sensor_util_lib_crypto.c | |
parent | d94c5185fcdf47c6a57d3233b946fa7e621f7ad9 (diff) | |
download | gnunet-be73250fb373dbdcd18180ee9eff8b1bc87374af.tar.gz gnunet-be73250fb373dbdcd18180ee9eff8b1bc87374af.zip |
sensor: update to gaussian model + optimized parameters
Diffstat (limited to 'src/sensor/sensor_util_lib_crypto.c')
-rw-r--r-- | src/sensor/sensor_util_lib_crypto.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sensor/sensor_util_lib_crypto.c b/src/sensor/sensor_util_lib_crypto.c index bf271e792..677750e47 100644 --- a/src/sensor/sensor_util_lib_crypto.c +++ b/src/sensor/sensor_util_lib_crypto.c | |||
@@ -128,7 +128,6 @@ check_pow (void *msg, size_t msg_size, uint64_t pow, int matching_bits) | |||
128 | char buf[msg_size + sizeof (pow)] GNUNET_ALIGN; | 128 | char buf[msg_size + sizeof (pow)] GNUNET_ALIGN; |
129 | struct GNUNET_HashCode result; | 129 | struct GNUNET_HashCode result; |
130 | 130 | ||
131 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Msg size: %" PRIu64 ".\n", msg_size); | ||
132 | memcpy (buf, &pow, sizeof (pow)); | 131 | memcpy (buf, &pow, sizeof (pow)); |
133 | memcpy (&buf[sizeof (pow)], msg, msg_size); | 132 | memcpy (&buf[sizeof (pow)], msg, msg_size); |
134 | pow_hash (buf, sizeof (buf), &result); | 133 | pow_hash (buf, sizeof (buf), &result); |