#include "pentablake-gate.h" bool register_pentablake_algo( algo_gate_t* gate ) { #if defined (PENTABLAKE_4WAY) gate->scanhash = (void*)&scanhash_pentablake_4way; gate->hash = (void*)&pentablakehash_4way; #else gate->scanhash = (void*)&scanhash_pentablake; gate->hash = (void*)&pentablakehash; #endif gate->optimizations = FOUR_WAY_OPT; gate->get_max64 = (void*)&get_max64_0x3ffff; return true; };