php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
KeccakP-1600-SnP.h File Reference

Go to the source code of this file.

Macros

#define KeccakP1600_implementation   "in-place 32-bit optimized implementation"
 
#define KeccakP1600_stateSizeInBytes   200
 
#define KeccakP1600_stateAlignment   8
 
#define KeccakP1600_StaticInitialize()
 

Functions

void KeccakP1600_Initialize (void *state)
 
void KeccakP1600_AddByte (void *state, unsigned char data, unsigned int offset)
 
void KeccakP1600_AddBytes (void *state, const unsigned char *data, unsigned int offset, unsigned int length)
 
void KeccakP1600_OverwriteBytes (void *state, const unsigned char *data, unsigned int offset, unsigned int length)
 
void KeccakP1600_OverwriteWithZeroes (void *state, unsigned int byteCount)
 
void KeccakP1600_Permute_Nrounds (void *state, unsigned int nrounds)
 
void KeccakP1600_Permute_12rounds (void *state)
 
void KeccakP1600_Permute_24rounds (void *state)
 
void KeccakP1600_ExtractBytes (const void *state, unsigned char *data, unsigned int offset, unsigned int length)
 
void KeccakP1600_ExtractAndAddBytes (const void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
 

Macro Definition Documentation

◆ KeccakP1600_implementation

#define KeccakP1600_implementation   "in-place 32-bit optimized implementation"

For the documentation, see SnP-documentation.h.

Definition at line 22 of file KeccakP-1600-SnP.h.

◆ KeccakP1600_stateAlignment

#define KeccakP1600_stateAlignment   8

Definition at line 24 of file KeccakP-1600-SnP.h.

◆ KeccakP1600_stateSizeInBytes

KeccakP400_stateAlignment KeccakP800_stateAlignment KeccakP1600_stateAlignment KeccakP1600_stateSizeInBytes   200

Definition at line 23 of file KeccakP-1600-SnP.h.

◆ KeccakP1600_StaticInitialize

#define KeccakP1600_StaticInitialize ( )

Definition at line 26 of file KeccakP-1600-SnP.h.

Function Documentation

◆ KeccakP1600_AddByte()

void KeccakP1600_AddByte ( void * state,
unsigned char data,
unsigned int offset )

Definition at line 125 of file KeccakP-1600-inplace32BI.c.

◆ KeccakP1600_AddBytes()

void KeccakP1600_AddBytes ( void * state,
const unsigned char * data,
unsigned int offset,
unsigned int length )

Definition at line 214 of file KeccakP-1600-inplace32BI.c.

◆ KeccakP1600_ExtractAndAddBytes()

void KeccakP1600_ExtractAndAddBytes ( const void * state,
const unsigned char * input,
unsigned char * output,
unsigned int offset,
unsigned int length )

Definition at line 434 of file KeccakP-1600-inplace32BI.c.

◆ KeccakP1600_ExtractBytes()

void KeccakP1600_ExtractBytes ( const void * state,
unsigned char * data,
unsigned int offset,
unsigned int length )

Definition at line 358 of file KeccakP-1600-inplace32BI.c.

◆ KeccakP1600_Initialize()

void KeccakP1600_Initialize ( void * state)

Definition at line 118 of file KeccakP-1600-inplace32BI.c.

◆ KeccakP1600_OverwriteBytes()

void KeccakP1600_OverwriteBytes ( void * state,
const unsigned char * data,
unsigned int offset,
unsigned int length )

Definition at line 270 of file KeccakP-1600-inplace32BI.c.

◆ KeccakP1600_OverwriteWithZeroes()

void KeccakP1600_OverwriteWithZeroes ( void * state,
unsigned int byteCount )

Definition at line 277 of file KeccakP-1600-inplace32BI.c.

◆ KeccakP1600_Permute_12rounds()

void KeccakP1600_Permute_12rounds ( void * state)

Definition at line 1160 of file KeccakP-1600-inplace32BI.c.

◆ KeccakP1600_Permute_24rounds()

void KeccakP1600_Permute_24rounds ( void * state)

Definition at line 1167 of file KeccakP-1600-inplace32BI.c.

◆ KeccakP1600_Permute_Nrounds()

void KeccakP1600_Permute_Nrounds ( void * state,
unsigned int nrounds )

Definition at line 970 of file KeccakP-1600-inplace32BI.c.