BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
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 15 of file chacha20.cpp.