PandA-2024.02
Macros | Functions | Variables
iota.c File Reference
#include "Keccak.h"
Include dependency graph for iota.c:

Go to the source code of this file.

Macros

#define GET_KRC_VAL(index)   (KeccakRoundConstants[index])
 

Functions

void iota (UINT64 *A, unsigned int indexRound)
 

Variables

static UINT64 KeccakRoundConstants [nrRounds]
 

Macro Definition Documentation

◆ GET_KRC_VAL

#define GET_KRC_VAL (   index)    (KeccakRoundConstants[index])

Definition at line 3 of file iota.c.

Referenced by iota().

Function Documentation

◆ iota()

void iota ( UINT64 A,
unsigned int  indexRound 
)

Definition at line 32 of file iota.c.

References GET_KRC_VAL, and index.

Variable Documentation

◆ KeccakRoundConstants

UINT64 KeccakRoundConstants[nrRounds]
static
Initial value:
= {
0x0000000000000001ULL,
0x0000000000008082ULL,
0x800000000000808aULL,
0x8000000080008000ULL,
0x000000000000808bULL,
0x0000000080000001ULL,
0x8000000080008081ULL,
0x8000000000008009ULL,
0x000000000000008aULL,
0x0000000000000088ULL,
0x0000000080008009ULL,
0x000000008000000aULL,
0x000000008000808bULL,
0x800000000000008bULL,
0x8000000000008089ULL,
0x8000000000008003ULL,
0x8000000000008002ULL,
0x8000000000000080ULL,
0x000000000000800aULL,
0x800000008000000aULL,
0x8000000080008081ULL,
0x8000000000008080ULL,
0x0000000080000001ULL,
0x8000000080008008ULL
}

Definition at line 5 of file iota.c.


Generated on Mon Feb 12 2024 13:03:06 for PandA-2024.02 by doxygen 1.8.13