/*
sptps_speed.c -- SPTPS benchmark
- Copyright (C) 2013 Guus Sliepen <guus@meshlink.io>,
+ Copyright (C) 2014 Guus Sliepen <guus@meshlink.io>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
// Symbols necessary to link with logger.o
bool send_request(void *c, const char *msg, ...) { return false; }
-struct list_t *connection_list = NULL;
+void *mesh;
bool send_meta(void *c, const char *msg , int len) { return false; }
char *logfilename = NULL;
struct timeval now;
crypto_init();
+ randomize(buf1, sizeof buf1);
+ randomize(buf2, sizeof buf2);
+ randomize(buf3, sizeof buf3);
+
// Key generation
fprintf(stderr, "Generating keys for %lg seconds: ", duration);