Browse Source

sia: add missing cputest

pull/2/head
Tanguy Pruvot 8 years ago
parent
commit
037bbe3ad3
  1. 1
      miner.h
  2. 3
      util.cpp

1
miner.h

@ -872,6 +872,7 @@ void applog_compare_hash(void *hash, void *hash_ref); @@ -872,6 +872,7 @@ void applog_compare_hash(void *hash, void *hash_ref);
void print_hash_tests(void);
void bastionhash(void* output, const unsigned char* input);
void blake256hash(void *output, const void *input, int8_t rounds);
void blake2b_hash(void *output, const void *input);
void blake2s_hash(void *output, const void *input);
void bmw_hash(void *state, const void *input);
void c11hash(void *output, const void *input);

3
util.cpp

@ -2255,6 +2255,9 @@ void print_hash_tests(void) @@ -2255,6 +2255,9 @@ void print_hash_tests(void)
sha256t_hash(&hash[0], &buf[0]);
printpfx("sha256t", hash);
blake2b_hash(&hash[0], &buf[0]);
printpfx("sia", hash);
sibhash(&hash[0], &buf[0]);
printpfx("sib", hash);

Loading…
Cancel
Save