php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
KeccakP-1600-SnP.h File Reference
#include "brg_endian.h"
#include "KeccakP-1600-opt64-config.h"
#include <stddef.h>

Go to the source code of this file.

Macros

#define KeccakP1600_implementation   "generic 64-bit optimized implementation (" KeccakP1600_implementation_config ")"
 
#define KeccakP1600_stateSizeInBytes   200
 
#define KeccakP1600_stateAlignment   8
 
#define KeccakF1600_FastLoop_supported
 
#define KeccakP1600_StaticInitialize()
 
#define KeccakP1600_AddByte(state, byte, offset)
 

Functions

void KeccakP1600_Initialize (void *state)
 
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)
 
size_t KeccakF1600_FastLoop_Absorb (void *state, unsigned int laneCount, const unsigned char *data, size_t dataByteLen)
 

Macro Definition Documentation

◆ KeccakF1600_FastLoop_supported

#define KeccakF1600_FastLoop_supported

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

◆ KeccakP1600_AddByte

#define KeccakP1600_AddByte ( state,
byte,
offset )
Value:
((unsigned char*)(state))[(offset)] ^= (byte)
zend_long offset

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

◆ KeccakP1600_implementation

#define KeccakP1600_implementation   "generic 64-bit optimized implementation (" KeccakP1600_implementation_config ")"

For the documentation, see SnP-documentation.h.

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

◆ KeccakP1600_stateAlignment

#define KeccakP1600_stateAlignment   8

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

◆ KeccakP1600_stateSizeInBytes

#define KeccakP1600_stateSizeInBytes   200

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

◆ KeccakP1600_StaticInitialize

#define KeccakP1600_StaticInitialize ( )

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

Function Documentation

◆ KeccakF1600_FastLoop_Absorb()

size_t KeccakF1600_FastLoop_Absorb ( void * state,
unsigned int laneCount,
const unsigned char * data,
size_t dataByteLen )

Definition at line 475 of file KeccakP-1600-opt64.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.