Skip to content

Commit

Permalink
small change for cputest
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Jan 6, 2017
1 parent bda8844 commit e867845
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util.c
Original file line number Diff line number Diff line change
Expand Up @@ -2310,6 +2310,7 @@ void print_hash_tests(void)

printf(CL_WHT "CPU HASH ON EMPTY BUFFER RESULTS:" CL_N "\n\n");

memset(buf, sizeof(buf), 0);
//buf[0] = 1; buf[64] = 2; // for endian tests

axiomhash(&hash[0], &buf[0]);
Expand Down Expand Up @@ -2450,7 +2451,7 @@ void print_hash_tests(void)
printpfx("yescrypt", hash);

//zr5hash(&hash[0], &buf[0]);
zr5hash_pok(&hash[0], (uint32_t*) &buf[0]);
zr5hash(&hash[0], (uint32_t*) &buf[0]);
memset(buf, 0, sizeof(buf));
printpfx("zr5", hash);

Expand Down

0 comments on commit e867845

Please sign in to comment.