aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_kdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/crypto_kdf.c')
-rw-r--r--src/util/crypto_kdf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto_kdf.c b/src/util/crypto_kdf.c
index 1b3bd686f..4f3830308 100644
--- a/src/util/crypto_kdf.c
+++ b/src/util/crypto_kdf.c
@@ -62,7 +62,8 @@ GNUNET_CRYPTO_kdf_v (void *result,
62 * hash function." 62 * hash function."
63 * 63 *
64 * http://eprint.iacr.org/2010/264 64 * http://eprint.iacr.org/2010/264
65 */return GNUNET_CRYPTO_hkdf_v (result, 65 *///
66 return GNUNET_CRYPTO_hkdf_v (result,
66 out_len, 67 out_len,
67 GCRY_MD_SHA512, 68 GCRY_MD_SHA512,
68 GCRY_MD_SHA256, 69 GCRY_MD_SHA256,
@@ -142,7 +143,6 @@ GNUNET_CRYPTO_kdf_mod_mpi (gcry_mpi_t *r,
142 { 143 {
143 /* Ain't clear if n is always divisible by 8 */ 144 /* Ain't clear if n is always divisible by 8 */
144 uint8_t buf[ (nbits - 1) / 8 + 1 ]; 145 uint8_t buf[ (nbits - 1) / 8 + 1 ];
145
146 uint16_t ctr_nbo = htons (ctr); 146 uint16_t ctr_nbo = htons (ctr);
147 147
148 rc = GNUNET_CRYPTO_kdf (buf, 148 rc = GNUNET_CRYPTO_kdf (buf,