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

Go to the source code of this file.

Macros

#define QUARTER_ROUND(a, b, c, d)
 
#define SALSA_OUTPUT(x)
 

Macro Definition Documentation

#define QUARTER_ROUND (   a,
  b,
  c,
  d 
)
Value:
b = b ^ rotlFixed(a + d, 7); \
c = c ^ rotlFixed(b + a, 9); \
d = d ^ rotlFixed(c + b, 13); \
a = a ^ rotlFixed(d + c, 18);
T rotlFixed(T x, unsigned int y)
Performs a left rotate.
Definition: misc.h:1263
#define c(i)
#define a(i)
#define b(i, j)
#define d(i)
Definition: sha.cpp:732
#define SALSA_OUTPUT (   x)