Ring Daemon 16.0.0
Loading...
Searching...
No Matches
dev::keccak Namespace Reference

Functions

 decshake (128) decshake(256) decsha3(224) decsha3(256) decsha3(384) decsha3(512) static const uint8_t rho[24]
 
static void keccakf (void *state)
 
 mkapply_ds (xorin, dst[i] ^=src[i]) mkapply_sd(setout
 

Variables

static const uint8_t pi [24]
 
static const uint64_t RC [24]
 

Function Documentation

◆ decshake()

dev::keccak::decshake ( 128  ) const

◆ keccakf()

static void dev::keccak::keccakf ( void *  state)
inlinestatic

Definition at line 94 of file SHA3.cpp.

References FOR5, pi, RC, REPEAT24, and rol.

◆ mkapply_ds()

dev::keccak::mkapply_ds ( xorin  ,
dst ^  [i] = src[i] 
)

References foldP, P, and Plen.

Variable Documentation

◆ pi

const uint8_t dev::keccak::pi[24]
static
Initial value:
= {10, 7, 11, 17, 18, 3, 5, 16, 8, 21, 24, 4,
15, 23, 19, 13, 12, 2, 20, 14, 22, 9, 6, 1}

Definition at line 56 of file SHA3.cpp.

Referenced by keccakf().

◆ RC

const uint64_t dev::keccak::RC[24]
static
Initial value:
= {1ULL,
0x8082ULL,
0x800000000000808aULL,
0x8000000080008000ULL,
0x808bULL,
0x80000001ULL,
0x8000000080008081ULL,
0x8000000000008009ULL,
0x8aULL,
0x88ULL,
0x80008009ULL,
0x8000000aULL,
0x8000808bULL,
0x800000000000008bULL,
0x8000000000008089ULL,
0x8000000000008003ULL,
0x8000000000008002ULL,
0x8000000000000080ULL,
0x800aULL,
0x800000008000000aULL,
0x8000000080008081ULL,
0x8000000000008080ULL,
0x80000001ULL,
0x8000000080008008ULL}

Definition at line 58 of file SHA3.cpp.

Referenced by keccakf().