Fabcoin Core  0.16.2
P2P Digital Currency
Macros
ttmac.cpp File Reference
#include "pch.h"
#include "ttmac.h"
#include "misc.h"
Include dependency graph for ttmac.cpp:

Go to the source code of this file.

Macros

#define F(x, y, z)   (x ^ y ^ z)
 
#define G(x, y, z)   (z ^ (x & (y^z)))
 
#define H(x, y, z)   (z ^ (x | ~y))
 
#define I(x, y, z)   (y ^ (z & (x^y)))
 
#define J(x, y, z)   (x ^ (y | ~z))
 
#define k0   0
 
#define k1   0x5a827999UL
 
#define k2   0x6ed9eba1UL
 
#define k3   0x8f1bbcdcUL
 
#define k4   0xa953fd4eUL
 
#define k5   0x50a28be6UL
 
#define k6   0x5c4dd124UL
 
#define k7   0x6d703ef3UL
 
#define k8   0x7a6d76e9UL
 
#define k9   0
 
#define Subround(f, a, b, c, d, e, x, s, k)
 

Macro Definition Documentation

#define F (   x,
  y,
  z 
)    (x ^ y ^ z)

Definition at line 81 of file ttmac.cpp.

#define G (   x,
  y,
  z 
)    (z ^ (x & (y^z)))

Definition at line 82 of file ttmac.cpp.

#define H (   x,
  y,
  z 
)    (z ^ (x | ~y))

Definition at line 83 of file ttmac.cpp.

#define I (   x,
  y,
  z 
)    (y ^ (z & (x^y)))

Definition at line 84 of file ttmac.cpp.

#define J (   x,
  y,
  z 
)    (x ^ (y | ~z))

Definition at line 85 of file ttmac.cpp.

#define k0   0

Definition at line 87 of file ttmac.cpp.

#define k1   0x5a827999UL

Definition at line 88 of file ttmac.cpp.

#define k2   0x6ed9eba1UL

Definition at line 89 of file ttmac.cpp.

#define k3   0x8f1bbcdcUL

Definition at line 90 of file ttmac.cpp.

#define k4   0xa953fd4eUL

Definition at line 91 of file ttmac.cpp.

#define k5   0x50a28be6UL

Definition at line 92 of file ttmac.cpp.

#define k6   0x5c4dd124UL

Definition at line 93 of file ttmac.cpp.

#define k7   0x6d703ef3UL

Definition at line 94 of file ttmac.cpp.

#define k8   0x7a6d76e9UL

Definition at line 95 of file ttmac.cpp.

#define k9   0

Definition at line 96 of file ttmac.cpp.

#define Subround (   f,
  a,
  b,
  c,
  d,
  e,
  x,
  s,
 
)
Value:
a += f(b, c, d) + x + k;\
a = rotlFixed((word32)a, s) + e;\
c = rotlFixed((word32)c, 10U)
T rotlFixed(T x, unsigned int y)
Performs a left rotate.
Definition: misc.h:1263
#define c(i)
#define a(i)
#define x(i)
#define b(i, j)
#define f(x)
Definition: gost.cpp:57
#define e(i)
Definition: sha.cpp:733
#define d(i)
Definition: sha.cpp:732
unsigned int word32
Definition: config.h:231