This commit is contained in:
Jay D Dee
2018-01-08 22:04:43 -05:00
parent 2d2e54f001
commit bee78eac76
58 changed files with 2817 additions and 499 deletions

18
algo/x14/veltor-gate.c Normal file
View File

@@ -0,0 +1,18 @@
#include "veltor-gate.h"
bool register_veltor_algo( algo_gate_t* gate )
{
#if defined (VELTOR_4WAY)
init_veltor_4way_ctx();
gate->scanhash = (void*)&scanhash_veltor_4way;
gate->hash = (void*)&veltor_4way_hash;
#else
init_veltor_ctx();
gate->scanhash = (void*)&scanhash_veltor;
gate->hash = (void*)&veltor_hash;
#endif
gate->optimizations = SSE2_OPT | AES_OPT | AVX_OPT | AVX2_OPT | FOUR_WAY_OPT;
gate->get_max64 = (void*)&get_max64_0x3ffff;
return true;
};