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

Go to the source code of this file.

Macros

#define low16(x)   ((x)&0xffff)
 
#define high16(x)   ((x)>>16)
 
#define DirectMUL(a, b)
 
#define MUL(a, b)   DirectMUL(a,b)
 

Functions

 CRYPTOPP_COMPILE_ASSERT (sizeof(IDEA::Word) >=2)
 

Macro Definition Documentation

#define DirectMUL (   a,
  b 
)
Value:
{ \
if (p) \
{ \
p = low16(p) - high16(p); \
} \
a = 1-a-b; \
}
#define high16(x)
Definition: idea.cpp:13
if(a.IndicesBefore(b, len, lenIndices))
Definition: equihash.cpp:243
word Word
Definition: idea.h:30
#define a(i)
#define b(i, j)
#define low16(x)
Definition: idea.cpp:12
unsigned int word32
Definition: config.h:231

Definition at line 18 of file idea.cpp.

#define high16 (   x)    ((x)>>16)

Definition at line 13 of file idea.cpp.

#define low16 (   x)    ((x)&0xffff)

Definition at line 12 of file idea.cpp.

#define MUL (   a,
  b 
)    DirectMUL(a,b)

Definition at line 154 of file idea.cpp.

Function Documentation

CRYPTOPP_COMPILE_ASSERT ( sizeof(IDEA::Word) >=  2)