Fabcoin Core  0.16.2
P2P Digital Currency
Macros
ripemd.cpp File Reference
#include "pch.h"
#include "ripemd.h"
#include "misc.h"
Include dependency graph for ripemd.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)
 
#define Subround(f, a, b, c, d, x, s, k)
 

Macro Definition Documentation

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

Definition at line 12 of file ripemd.cpp.

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

Definition at line 13 of file ripemd.cpp.

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

Definition at line 14 of file ripemd.cpp.

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

Definition at line 15 of file ripemd.cpp.

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

Definition at line 16 of file ripemd.cpp.

#define k0   0

Definition at line 18 of file ripemd.cpp.

#define k1   0x5a827999UL

Definition at line 19 of file ripemd.cpp.

#define k2   0x6ed9eba1UL

Definition at line 20 of file ripemd.cpp.

#define k3   0x8f1bbcdcUL

Definition at line 21 of file ripemd.cpp.

#define k4   0xa953fd4eUL

Definition at line 22 of file ripemd.cpp.

#define k5   0x50a28be6UL

Definition at line 23 of file ripemd.cpp.

#define k6   0x5c4dd124UL

Definition at line 24 of file ripemd.cpp.

#define k7   0x6d703ef3UL

Definition at line 25 of file ripemd.cpp.

#define k8   0x7a6d76e9UL

Definition at line 26 of file ripemd.cpp.

#define k9   0

Definition at line 27 of file ripemd.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

Definition at line 460 of file ripemd.cpp.

#define Subround (   f,
  a,
  b,
  c,
  d,
  x,
  s,
 
)
Value:
a += f(b, c, d) + x + k;\
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 d(i)
Definition: sha.cpp:732
unsigned int word32
Definition: config.h:231

Definition at line 460 of file ripemd.cpp.