#ifndef __SKEIN2GATE_H__ #define __SKEIN2_GATE_H__ #include "algo-gate-api.h" #include #if defined(__AVX2__) #define SKEIN2_4WAY #endif #if defined(SKEIN2_4WAY) void skein2hash_4way( void *output, const void *input ); int scanhash_skein2_4way( struct work *work, uint32_t max_nonce, uint64_t* hashes_done, struct thr_info *mythr ); #endif void skein2hash( void *output, const void *input ); int scanhash_skein2( struct work *work, uint32_t max_nonce, uint64_t *hashes_done, struct thr_info *mythr ); #endif