Raven Core  3.0.0
P2P Digital Currency
Macros
chacha20.cpp File Reference
#include "crypto/common.h"
#include "crypto/chacha20.h"
#include <string.h>
Include dependency graph for chacha20.cpp:

Go to the source code of this file.

Macros

#define QUARTERROUND(a, b, c, d)
 

Macro Definition Documentation

◆ QUARTERROUND

#define QUARTERROUND (   a,
  b,
  c,
 
)
Value:
a += b; d = rotl32(d ^ a, 16); \
c += d; b = rotl32(b ^ c, 12); \
a += b; d = rotl32(d ^ a, 8); \
c += d; b = rotl32(b ^ c, 7);

Definition at line 16 of file chacha20.cpp.