Skip to content

Commit

Permalink
v3.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JayDDee committed Mar 19, 2021
1 parent 4008942 commit d0b4941
Show file tree
Hide file tree
Showing 19 changed files with 1,290 additions and 18 deletions.
6 changes: 5 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ cpuminer_SOURCES = \
algo/lyra2/allium.c \
algo/lyra2/phi2-4way.c \
algo/lyra2/phi2.c \
algo//m7m/m7m.c \
algo/m7m/m7m.c \
algo/m7m/magimath.cpp \
algo/nist5/nist5-gate.c \
algo/nist5/nist5-4way.c \
Expand Down Expand Up @@ -192,6 +192,10 @@ cpuminer_SOURCES = \
algo/sm3/sm3-hash-4way.c \
algo/swifftx/swifftx.c \
algo/tiger/sph_tiger.c \
algo/verthash/verthash-gate.c \
algo/verthash/Verthash.c \
algo/verthash/fopen_utf8.c \
algo/verthash/tiny_sha3/sha3.c \
algo/whirlpool/sph_whirlpool.c \
algo/whirlpool/whirlpool-hash-4way.c \
algo/whirlpool/whirlpool-gate.c \
Expand Down
4 changes: 4 additions & 0 deletions RELEASE_NOTES
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ If not what makes it happen or not happen?
Change Log
----------

v3.16.0

Added verthash algo.

v3.15.7

Added accepted/stale/rejected percentage to summary log report.
Expand Down
1 change: 1 addition & 0 deletions algo-gate-api.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ bool register_algo_gate( int algo, algo_gate_t *gate )
case ALGO_TRIBUS: register_tribus_algo ( gate ); break;
case ALGO_VANILLA: register_vanilla_algo ( gate ); break;
case ALGO_VELTOR: register_veltor_algo ( gate ); break;
case ALGO_VERTHASH: register_verthash_algo ( gate ); break;
case ALGO_WHIRLPOOL: register_whirlpool_algo ( gate ); break;
case ALGO_WHIRLPOOLX: register_whirlpoolx_algo ( gate ); break;
case ALGO_X11: register_x11_algo ( gate ); break;
Expand Down
8 changes: 8 additions & 0 deletions algo/sha/sph_sha2.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,14 @@ sph_sha256_addbits_and_close(void *cc, unsigned ub, unsigned n, void *dst)
// sph_sha256_init(cc);
}

void sph_sha256_full( void *dst, const void *data, size_t len )
{
sph_sha256_context cc;
sph_sha256_init( &cc );
sph_sha256( &cc, data, len );
sph_sha256_close( &cc, dst );
}

/* see sph_sha2.h */
//void
//sph_sha224_comp(const sph_u32 msg[16], sph_u32 val[8])
Expand Down
4 changes: 4 additions & 0 deletions algo/sha/sph_sha2.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ void sph_sha256_comp(const sph_u32 msg[16], sph_u32 val[8]);
#define sph_sha256_comp sph_sha224_comp
#endif

void sph_sha256_full( void *dst, const void *data, size_t len );



#if SPH_64

/**
Expand Down
Binary file added algo/verthash/.verthash-gate.c.swp
Binary file not shown.
Loading

0 comments on commit d0b4941

Please sign in to comment.