This commit is contained in:
Warlock-Dalbaeb 2017-08-17 03:02:21 +07:00
parent 6639da029b
commit 6072fe8111
2 changed files with 14 additions and 3 deletions

View file

@ -9,7 +9,9 @@
#include <thread>
#include <unistd.h>
#include <vector>
#ifdef _WIN32
#include <windows.h>
#endif
// sha256
#define Ch(x, y, z) ((x & (y ^ z)) ^ z)
#define Maj(x, y, z) ((x & (y | z)) | (y & z))