Skip to content

Commit

Permalink
blackrock2
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdavidgraham committed Feb 9, 2014
1 parent 3c56523 commit d1fffe4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/crypto-blackrock2.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "rand-blackrock.h"
#include "pixie-timer.h"
#include "unusedparm.h"
#include "string_s.h"
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
Expand Down Expand Up @@ -489,10 +490,10 @@ blackrock2_benchmark(unsigned rounds)

printf("Benchmarking: blackrock-2\n");
blackrock2_init(&br, range, 1, rounds);
printf("range = 0x%10llx\n", range);
printf("rangex= 0x%10llx\n", br.a*br.b);
printf(" a = 0x%10llx\n", br.a);
printf(" b = 0x%10llx\n", br.b);
printf("range = 0x%10" PRIx64 "llx\n", range);
printf("rangex= 0x%10" PRIx64 "\n", br.a*br.b);
printf(" a = 0x%10" PRIx64 "\n", br.a);
printf(" b = 0x%10" PRIx64 "\n", br.b);

/*
* Time the the algorithm
Expand Down

0 comments on commit d1fffe4

Please sign in to comment.