* - Matthias Wachs (08.10.2010)
*/
-#define LOG(kind,...) GNUNET_log_from (kind, "util", __VA_ARGS__)
+#define LOG(kind,...) GNUNET_log_from (kind, "util-crypto-hkdf", __VA_ARGS__)
/**
* Set this to 0 if you compile this code outside of GNUnet.
#if GNUNET_BUILD
#include "platform.h"
#include "gnunet_crypto_lib.h"
+#include "benchmark.h"
#else
#define GNUNET_NO 0
#define GNUNET_YES 1
size_t ctx_len;
va_list args;
+ BENCHMARK_START (hkdf);
+
if (0 == k)
return GNUNET_SYSERR;
if (GPG_ERR_NO_ERROR !=
hkdf_ok:
gcry_md_close (xtr);
gcry_md_close (prf);
+ BENCHMARK_END (hkdf);
return ret;
}