X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Futil%2Fcrypto_kdf.c;h=0e7fbbbec17df7c8d82feefc19ecded6be3f09f8;hb=72c8645af31896829b674b575c5375706f362a30;hp=cd665ad23818caec0b8c5d5acbe9af7bb7f2cb96;hpb=5746309cb4be2073d550ad7a6885e918631dbc38;p=oweals%2Fgnunet.git diff --git a/src/util/crypto_kdf.c b/src/util/crypto_kdf.c index cd665ad23..0e7fbbbec 100644 --- a/src/util/crypto_kdf.c +++ b/src/util/crypto_kdf.c @@ -29,6 +29,8 @@ #include "platform.h" #include "gnunet_crypto_lib.h" +#define LOG(kind,...) GNUNET_log_from (kind, "util", __VA_ARGS__) + /** * @brief Derive key * @param result buffer for the derived key, allocated by caller @@ -53,7 +55,7 @@ GNUNET_CRYPTO_kdf_v (void *result, size_t out_len, const void *xts, * setting. Second, as shown in Section 6, using HMAC with a truncated output as an extractor * allows to prove the security of HKDF under considerably weaker assumptions on the underlying * hash function." - * + * * http://eprint.iacr.org/2010/264 */