mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
v3.6.1
This commit is contained in:
31
algo/sha/sha3_common.h
Normal file
31
algo/sha/sha3_common.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* file : sha3_common.h
|
||||
* version : 1.0.208
|
||||
* date : 14.12.2010
|
||||
*
|
||||
* Common declarations
|
||||
*
|
||||
* Cagdas Calik
|
||||
* ccalik@metu.edu.tr
|
||||
* Institute of Applied Mathematics, Middle East Technical University, Turkey.
|
||||
*
|
||||
*/
|
||||
#include "sha3-defs.h"
|
||||
#ifndef SHA3_COMMON_H
|
||||
#define SHA3_COMMON_H
|
||||
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define MYALIGN __attribute__((aligned(16)))
|
||||
#else
|
||||
#define MYALIGN __declspec(align(16))
|
||||
#endif
|
||||
|
||||
#define M128(x) *((__m128i*)x)
|
||||
|
||||
|
||||
//typedef unsigned char BitSequence;
|
||||
//typedef unsigned long long DataLength;
|
||||
//typedef enum {SUCCESS = 0, FAIL = 1, BAD_HASHBITLEN = 2} HashReturn;
|
||||
|
||||
#endif // SHA3_COMMON_H
|
||||
Reference in New Issue
Block a user