Monero
Loading...
Searching...
No Matches
blamka-round-ref.h File Reference
#include "blake2.h"
#include "blake2-impl.h"
Include dependency graph for blamka-round-ref.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define G(a, b, c, d)
#define BLAKE2_ROUND_NOMSG(v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15)

Functions

static FORCE_INLINE uint64_t fBlaMka (uint64_t x, uint64_t y)

Macro Definition Documentation

◆ BLAKE2_ROUND_NOMSG

#define BLAKE2_ROUND_NOMSG ( v0,
v1,
v2,
v3,
v4,
v5,
v6,
v7,
v8,
v9,
v10,
v11,
v12,
v13,
v14,
v15 )
Value:
do { \
G(v0, v4, v8, v12); \
G(v1, v5, v9, v13); \
G(v2, v6, v10, v14); \
G(v3, v7, v11, v15); \
G(v0, v5, v10, v15); \
G(v1, v6, v11, v12); \
G(v2, v7, v8, v13); \
G(v3, v4, v9, v14); \
} while ((void)0, 0)
#define v0(p)
Definition aesb.c:116
#define v3(p)
Definition aesb.c:119
#define v1(p)
Definition aesb.c:117
#define v2(p)
Definition aesb.c:118

◆ G

#define G ( a,
b,
c,
d )
Value:
do { \
a = fBlaMka(a, b); \
d = rotr64(d ^ a, 32); \
c = fBlaMka(c, d); \
b = rotr64(b ^ c, 24); \
a = fBlaMka(a, b); \
d = rotr64(d ^ a, 16); \
c = fBlaMka(c, d); \
b = rotr64(b ^ c, 63); \
} while ((void)0, 0)
static FORCE_INLINE uint64_t rotr64(const uint64_t w, const unsigned c)
Definition blake2-impl.h:72
static FORCE_INLINE uint64_t fBlaMka(uint64_t x, uint64_t y)
Definition blamka-round-ref.h:42
cryptonote::block b
Definition block.cpp:40
Definition d.py:1
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition pointer.h:1124

Function Documentation

◆ fBlaMka()

FORCE_INLINE uint64_t fBlaMka ( uint64_t x,
uint64_t y )
static