diff options
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index 4e26429c9..1ab135d80 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -1058,21 +1058,6 @@ GNUNET_CRYPTO_hash_count_tailing_zeros (const struct GNUNET_HashCode *h); | |||
1058 | 1058 | ||
1059 | 1059 | ||
1060 | /** | 1060 | /** |
1061 | * Compute the distance between have and target as a 64-bit value. | ||
1062 | * Differences in the lower bits must count stronger than differences | ||
1063 | * in the higher bits. | ||
1064 | * | ||
1065 | * @param xor input hash | ||
1066 | * @param bucket up to which offset we are to ignore @a xor | ||
1067 | * @return the subsequent 64 bits after @a bucket from @a xor, in | ||
1068 | * host byte order. | ||
1069 | */ | ||
1070 | uint64_t | ||
1071 | GNUNET_CRYPTO_hash_bucket_distance (const struct GNUNET_HashCode *xor, | ||
1072 | unsigned int bucket); | ||
1073 | |||
1074 | |||
1075 | /** | ||
1076 | * @ingroup hash | 1061 | * @ingroup hash |
1077 | * Convert a hashcode into a key. | 1062 | * Convert a hashcode into a key. |
1078 | * | 1063 | * |