php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
#include <string.h>
#include <stdlib.h>
#include "brg_endian.h"
#include "KeccakP-1600-opt64-config.h"
#include "KeccakP-1600-64.macros"
#include "KeccakP-1600-unrolling.macros"
#include "SnP-Relaned.h"
Go to the source code of this file.
Macros | |
#define | ALLOW_MISALIGNED_ACCESS |
#define | UseBebigokimisa |
#define | ROL64(a, offset) |
#define | FullUnrolling |
Typedefs | |
typedef unsigned long long int | UINT64 |
Functions | |
void | KeccakP1600_Initialize (void *state) |
void | KeccakP1600_AddBytesInLane (void *state, unsigned int lanePosition, const unsigned char *data, unsigned int offset, unsigned int length) |
ALLOW_MISALIGNED_ACCESS void | KeccakP1600_AddLanes (void *state, const unsigned char *data, unsigned int laneCount) |
void | KeccakP1600_AddBytes (void *state, const unsigned char *data, unsigned int offset, unsigned int length) |
void | KeccakP1600_OverwriteBytesInLane (void *state, unsigned int lanePosition, const unsigned char *data, unsigned int offset, unsigned int length) |
void | KeccakP1600_OverwriteLanes (void *state, const unsigned char *data, unsigned int laneCount) |
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 nr) |
void | KeccakP1600_Permute_24rounds (void *state) |
void | KeccakP1600_Permute_12rounds (void *state) |
void | KeccakP1600_ExtractBytesInLane (const void *state, unsigned int lanePosition, unsigned char *data, unsigned int offset, unsigned int length) |
void | KeccakP1600_ExtractLanes (const void *state, unsigned char *data, unsigned int laneCount) |
void | KeccakP1600_ExtractBytes (const void *state, unsigned char *data, unsigned int offset, unsigned int length) |
void | KeccakP1600_ExtractAndAddBytesInLane (const void *state, unsigned int lanePosition, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length) |
void | KeccakP1600_ExtractAndAddLanes (const void *state, const unsigned char *input, unsigned char *output, unsigned int laneCount) |
void | KeccakP1600_ExtractAndAddBytes (const void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length) |
ALLOW_MISALIGNED_ACCESS size_t | KeccakF1600_FastLoop_Absorb (void *state, unsigned int laneCount, const unsigned char *data, size_t dataByteLen) |
#define ALLOW_MISALIGNED_ACCESS |
Definition at line 26 of file KeccakP-1600-opt64.c.
#define FullUnrolling |
Definition at line 51 of file KeccakP-1600-opt64.c.
Definition at line 46 of file KeccakP-1600-opt64.c.
#define UseBebigokimisa |
Definition at line 33 of file KeccakP-1600-opt64.c.
typedef unsigned long long int UINT64 |
Definition at line 30 of file KeccakP-1600-opt64.c.
ALLOW_MISALIGNED_ACCESS 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.
void KeccakP1600_AddBytes | ( | void * | state, |
const unsigned char * | data, | ||
unsigned int | offset, | ||
unsigned int | length ) |
Definition at line 195 of file KeccakP-1600-opt64.c.
void KeccakP1600_AddBytesInLane | ( | void * | state, |
unsigned int | lanePosition, | ||
const unsigned char * | data, | ||
unsigned int | offset, | ||
unsigned int | length ) |
Definition at line 101 of file KeccakP-1600-opt64.c.
ALLOW_MISALIGNED_ACCESS void KeccakP1600_AddLanes | ( | void * | state, |
const unsigned char * | data, | ||
unsigned int | laneCount ) |
Definition at line 126 of file KeccakP-1600-opt64.c.
void KeccakP1600_ExtractAndAddBytes | ( | const void * | state, |
const unsigned char * | input, | ||
unsigned char * | output, | ||
unsigned int | offset, | ||
unsigned int | length ) |
Definition at line 467 of file KeccakP-1600-opt64.c.
void KeccakP1600_ExtractAndAddBytesInLane | ( | const void * | state, |
unsigned int | lanePosition, | ||
const unsigned char * | input, | ||
unsigned char * | output, | ||
unsigned int | offset, | ||
unsigned int | length ) |
Definition at line 399 of file KeccakP-1600-opt64.c.
void KeccakP1600_ExtractAndAddLanes | ( | const void * | state, |
const unsigned char * | input, | ||
unsigned char * | output, | ||
unsigned int | laneCount ) |
Definition at line 426 of file KeccakP-1600-opt64.c.
void KeccakP1600_ExtractBytes | ( | const void * | state, |
unsigned char * | data, | ||
unsigned int | offset, | ||
unsigned int | length ) |
Definition at line 392 of file KeccakP-1600-opt64.c.
void KeccakP1600_ExtractBytesInLane | ( | const void * | state, |
unsigned int | lanePosition, | ||
unsigned char * | data, | ||
unsigned int | offset, | ||
unsigned int | length ) |
Definition at line 323 of file KeccakP-1600-opt64.c.
Definition at line 358 of file KeccakP-1600-opt64.c.
Definition at line 86 of file KeccakP-1600-opt64.c.
void KeccakP1600_OverwriteBytes | ( | void * | state, |
const unsigned char * | data, | ||
unsigned int | offset, | ||
unsigned int | length ) |
Definition at line 244 of file KeccakP-1600-opt64.c.
void KeccakP1600_OverwriteBytesInLane | ( | void * | state, |
unsigned int | lanePosition, | ||
const unsigned char * | data, | ||
unsigned int | offset, | ||
unsigned int | length ) |
Definition at line 202 of file KeccakP-1600-opt64.c.
void KeccakP1600_OverwriteLanes | ( | void * | state, |
const unsigned char * | data, | ||
unsigned int | laneCount ) |
Definition at line 223 of file KeccakP-1600-opt64.c.
Definition at line 251 of file KeccakP-1600-opt64.c.
Definition at line 308 of file KeccakP-1600-opt64.c.
Definition at line 293 of file KeccakP-1600-opt64.c.
Definition at line 279 of file KeccakP-1600-opt64.c.