Skip to content

Commit

Permalink
Add 0x10
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolin1579 committed Mar 2, 2022
1 parent 756518b commit 9da6b97
Show file tree
Hide file tree
Showing 7 changed files with 727 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ cpuminer_SOURCES = \
algo/whirlpool/whirlpool-gate.c \
algo/whirlpool/whirlpool.c \
algo/whirlpool/whirlpoolx.c \
algo/x11/0x10-gate.c \
algo/x11/0x10.c \
algo/x11/0x10-4way.c \
algo/x11/x11-gate.c \
algo/x11/x11.c \
algo/x11/x11-4way.c \
Expand Down
4 changes: 3 additions & 1 deletion algo-gate-api.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ bool register_algo_gate( int algo, algo_gate_t *gate )

switch (algo)
{
case ALGO_0X10: register_0x10_algo ( gate ); break;
case ALGO_ALLIUM: register_allium_algo ( gate ); break;
case ALGO_ANIME: register_anime_algo ( gate ); break;
case ALGO_ARGON2: register_argon2_algo ( gate ); break;
Expand Down Expand Up @@ -422,9 +423,10 @@ void exec_hash_function( int algo, void *output, const void *pdata )
const char* const algo_alias_map[][2] =
{
// alias proper
{ "0x10", "0x10" },
{ "argon2d-dyn", "argon2d500" },
{ "argon2d-uis", "argon2d4096" },
{ "argon2d-crds", "argon2d250" },
{ "argon2d-crds", "argon2d250" },
{ "argon2d-bcrs", "argon2d16000" },
{ "bcd", "x13bcd" },
{ "bitcore", "timetravel10" },
Expand Down
Loading

0 comments on commit 9da6b97

Please sign in to comment.