Fabcoin Core
0.16.2
P2P Digital Currency
|
Go to the source code of this file.
Macros | |
#define | S0(x) (rotrFixed(x,2)^rotrFixed(x,13)^rotrFixed(x,22)) |
#define | S1(x) (rotrFixed(x,6)^rotrFixed(x,11)^rotrFixed(x,25)) |
#define | s0(x) (rotrFixed(x,7)^rotrFixed(x,18)^(x>>3)) |
#define | s1(x) (rotrFixed(x,17)^rotrFixed(x,19)^(x>>10)) |
#define | Ch(x, y, z) (z^(x&(y^z))) |
#define | Maj(x, y, z) ((x&y)|(z&(x|y))) |
#define | R(a, b, c, d, e, f, g, h, k) h+=S1(e)+Ch(e,f,g)+*k++;d+=h;h+=S0(a)+Maj(a,b,c); |
#define | P(a, b, c, d, e, f, g, h, k) h-=S0(a)+Maj(a,b,c);d-=h;h-=S1(e)+Ch(e,f,g)+*--k; |
Typedefs | |
typedef BlockGetAndPut< word32, BigEndian > | Block |
Definition at line 31 of file shacal2.cpp.
Definition at line 26 of file shacal2.cpp.
Definition at line 16 of file shacal2.cpp.
Definition at line 17 of file shacal2.cpp.
Definition at line 19 of file shacal2.cpp.
typedef BlockGetAndPut<word32, BigEndian> Block |
Definition at line 53 of file shacal2.cpp.