diff options
Diffstat (limited to 'src/util/crypto_hkdf.c')
-rw-r--r-- | src/util/crypto_hkdf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/crypto_hkdf.c b/src/util/crypto_hkdf.c index fea4f9861..99a50a449 100644 --- a/src/util/crypto_hkdf.c +++ b/src/util/crypto_hkdf.c | |||
@@ -49,7 +49,6 @@ | |||
49 | #define DEBUG_HKDF 0 | 49 | #define DEBUG_HKDF 0 |
50 | 50 | ||
51 | 51 | ||
52 | |||
53 | #if GNUNET_BUILD | 52 | #if GNUNET_BUILD |
54 | #include "platform.h" | 53 | #include "platform.h" |
55 | #include "gnunet_crypto_lib.h" | 54 | #include "gnunet_crypto_lib.h" |
@@ -84,6 +83,7 @@ doHMAC (gcry_md_hd_t mac, const void *key, size_t key_len, const void *buf, | |||
84 | return (const void *) gcry_md_read (mac, 0); | 83 | return (const void *) gcry_md_read (mac, 0); |
85 | } | 84 | } |
86 | 85 | ||
86 | |||
87 | /** | 87 | /** |
88 | * @brief Generate pseudo-random key | 88 | * @brief Generate pseudo-random key |
89 | * @param mac gcrypt HMAC handle | 89 | * @param mac gcrypt HMAC handle |
@@ -122,6 +122,8 @@ dump (const char *src, const void *p, unsigned int l) | |||
122 | } | 122 | } |
123 | printf ("\n"); | 123 | printf ("\n"); |
124 | } | 124 | } |
125 | |||
126 | |||
125 | #endif | 127 | #endif |
126 | 128 | ||
127 | 129 | ||
@@ -302,4 +304,5 @@ GNUNET_CRYPTO_hkdf (void *result, size_t out_len, int xtr_algo, int prf_algo, | |||
302 | return ret; | 304 | return ret; |
303 | } | 305 | } |
304 | 306 | ||
307 | |||
305 | /* end of crypto_hkdf.c */ | 308 | /* end of crypto_hkdf.c */ |