]> git.meshlink.io Git - meshlink/blobdiff - src/sptps_speed.c
Remove most of the configuration options.
[meshlink] / src / sptps_speed.c
index 206ee4face8cc873abcc3450d5d1174ae1e560a9..21850dd80733db5aa04666c930de73b4f852d0e2 100644 (file)
@@ -1,6 +1,6 @@
 /*
     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
@@ -82,6 +82,10 @@ int main(int argc, char *argv[]) {
 
        crypto_init();
 
+       randomize(buf1, sizeof buf1);
+       randomize(buf2, sizeof buf2);
+       randomize(buf3, sizeof buf3);
+
        // Key generation
 
        fprintf(stderr, "Generating keys for %lg seconds: ", duration);