|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Go to the source code of this file.
Macros | |
| #define | ALLOW_MISALIGNED_ACCESS |
| #define | ROL32(a, offset) |
| #define | prepareToBitInterleaving(low, high, temp, temp0, temp1) |
| #define | toBitInterleavingAndXOR(low, high, even, odd, temp, temp0, temp1) |
| #define | toBitInterleavingAndAND(low, high, even, odd, temp, temp0, temp1) |
| #define | toBitInterleavingAndSet(low, high, even, odd, temp, temp0, temp1) |
| #define | prepareFromBitInterleaving(even, odd, temp, temp0, temp1) |
| #define | fromBitInterleaving(even, odd, low, high, temp, temp0, temp1) |
| #define | fromBitInterleavingAndXOR(even, odd, lowIn, highIn, lowOut, highOut, temp, temp0, temp1) |
| #define | KeccakRound0() |
| #define | KeccakRound1() |
| #define | KeccakRound2() |
| #define | KeccakRound3() |
| #define | Aba0 stateAsHalfLanes[ 0] |
| #define | Aba1 stateAsHalfLanes[ 1] |
| #define | Abe0 stateAsHalfLanes[ 2] |
| #define | Abe1 stateAsHalfLanes[ 3] |
| #define | Abi0 stateAsHalfLanes[ 4] |
| #define | Abi1 stateAsHalfLanes[ 5] |
| #define | Abo0 stateAsHalfLanes[ 6] |
| #define | Abo1 stateAsHalfLanes[ 7] |
| #define | Abu0 stateAsHalfLanes[ 8] |
| #define | Abu1 stateAsHalfLanes[ 9] |
| #define | Aga0 stateAsHalfLanes[10] |
| #define | Aga1 stateAsHalfLanes[11] |
| #define | Age0 stateAsHalfLanes[12] |
| #define | Age1 stateAsHalfLanes[13] |
| #define | Agi0 stateAsHalfLanes[14] |
| #define | Agi1 stateAsHalfLanes[15] |
| #define | Ago0 stateAsHalfLanes[16] |
| #define | Ago1 stateAsHalfLanes[17] |
| #define | Agu0 stateAsHalfLanes[18] |
| #define | Agu1 stateAsHalfLanes[19] |
| #define | Aka0 stateAsHalfLanes[20] |
| #define | Aka1 stateAsHalfLanes[21] |
| #define | Ake0 stateAsHalfLanes[22] |
| #define | Ake1 stateAsHalfLanes[23] |
| #define | Aki0 stateAsHalfLanes[24] |
| #define | Aki1 stateAsHalfLanes[25] |
| #define | Ako0 stateAsHalfLanes[26] |
| #define | Ako1 stateAsHalfLanes[27] |
| #define | Aku0 stateAsHalfLanes[28] |
| #define | Aku1 stateAsHalfLanes[29] |
| #define | Ama0 stateAsHalfLanes[30] |
| #define | Ama1 stateAsHalfLanes[31] |
| #define | Ame0 stateAsHalfLanes[32] |
| #define | Ame1 stateAsHalfLanes[33] |
| #define | Ami0 stateAsHalfLanes[34] |
| #define | Ami1 stateAsHalfLanes[35] |
| #define | Amo0 stateAsHalfLanes[36] |
| #define | Amo1 stateAsHalfLanes[37] |
| #define | Amu0 stateAsHalfLanes[38] |
| #define | Amu1 stateAsHalfLanes[39] |
| #define | Asa0 stateAsHalfLanes[40] |
| #define | Asa1 stateAsHalfLanes[41] |
| #define | Ase0 stateAsHalfLanes[42] |
| #define | Ase1 stateAsHalfLanes[43] |
| #define | Asi0 stateAsHalfLanes[44] |
| #define | Asi1 stateAsHalfLanes[45] |
| #define | Aso0 stateAsHalfLanes[46] |
| #define | Aso1 stateAsHalfLanes[47] |
| #define | Asu0 stateAsHalfLanes[48] |
| #define | Asu1 stateAsHalfLanes[49] |
| #define | I0 Ba |
| #define | I1 Be |
| #define | T0 Bi |
| #define | T1 Bo |
| #define | SwapPI13(in0, in1, in2, in3, eo0, eo1, eo2, eo3) |
| #define | SwapPI2(in0, in1, in2, in3) |
| #define | SwapEO(even, odd) |
Typedefs | |
| typedef unsigned char | UINT8 |
| typedef unsigned int | UINT32 |
Functions | |
| void | KeccakP1600_SetBytesInLaneToZero (void *state, unsigned int lanePosition, unsigned int offset, unsigned int length) |
| void | KeccakP1600_Initialize (void *state) |
| void | KeccakP1600_AddByte (void *state, unsigned char byte, unsigned int offset) |
| 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) |
| ALLOW_MISALIGNED_ACCESS 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_ExtractBytesInLane (const void *state, unsigned int lanePosition, unsigned char *data, unsigned int offset, unsigned int length) |
| ALLOW_MISALIGNED_ACCESS 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) |
| ALLOW_MISALIGNED_ACCESS 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) |
| void | KeccakP1600_Permute_Nrounds (void *state, unsigned int nRounds) |
| void | KeccakP1600_Permute_12rounds (void *state) |
| void | KeccakP1600_Permute_24rounds (void *state) |
| #define Aba0 stateAsHalfLanes[ 0] |
| #define Aba1 stateAsHalfLanes[ 1] |
| #define Abe0 stateAsHalfLanes[ 2] |
| #define Abe1 stateAsHalfLanes[ 3] |
| #define Abi0 stateAsHalfLanes[ 4] |
| #define Abi1 stateAsHalfLanes[ 5] |
| #define Abo0 stateAsHalfLanes[ 6] |
| #define Abo1 stateAsHalfLanes[ 7] |
| #define Abu0 stateAsHalfLanes[ 8] |
| #define Abu1 stateAsHalfLanes[ 9] |
| #define Aga0 stateAsHalfLanes[10] |
| #define Aga1 stateAsHalfLanes[11] |
| #define Age0 stateAsHalfLanes[12] |
| #define Age1 stateAsHalfLanes[13] |
| #define Agi0 stateAsHalfLanes[14] |
| #define Agi1 stateAsHalfLanes[15] |
| #define Ago0 stateAsHalfLanes[16] |
| #define Ago1 stateAsHalfLanes[17] |
| #define Agu0 stateAsHalfLanes[18] |
| #define Agu1 stateAsHalfLanes[19] |
| #define Aka0 stateAsHalfLanes[20] |
| #define Aka1 stateAsHalfLanes[21] |
| #define Ake0 stateAsHalfLanes[22] |
| #define Ake1 stateAsHalfLanes[23] |
| #define Aki0 stateAsHalfLanes[24] |
| #define Aki1 stateAsHalfLanes[25] |
| #define Ako0 stateAsHalfLanes[26] |
| #define Ako1 stateAsHalfLanes[27] |
| #define Aku0 stateAsHalfLanes[28] |
| #define Aku1 stateAsHalfLanes[29] |
| #define ALLOW_MISALIGNED_ACCESS |
Definition at line 26 of file KeccakP-1600-inplace32BI.c.
| #define Ama0 stateAsHalfLanes[30] |
| #define Ama1 stateAsHalfLanes[31] |
| #define Ame0 stateAsHalfLanes[32] |
| #define Ame1 stateAsHalfLanes[33] |
| #define Ami0 stateAsHalfLanes[34] |
| #define Ami1 stateAsHalfLanes[35] |
| #define Amo0 stateAsHalfLanes[36] |
| #define Amo1 stateAsHalfLanes[37] |
| #define Amu0 stateAsHalfLanes[38] |
| #define Amu1 stateAsHalfLanes[39] |
| #define Asa0 stateAsHalfLanes[40] |
| #define Asa1 stateAsHalfLanes[41] |
| #define Ase0 stateAsHalfLanes[42] |
| #define Ase1 stateAsHalfLanes[43] |
| #define Asi0 stateAsHalfLanes[44] |
| #define Asi1 stateAsHalfLanes[45] |
| #define Aso0 stateAsHalfLanes[46] |
| #define Aso1 stateAsHalfLanes[47] |
| #define Asu0 stateAsHalfLanes[48] |
| #define Asu1 stateAsHalfLanes[49] |
| #define fromBitInterleaving | ( | even, | |
| odd, | |||
| low, | |||
| high, | |||
| temp, | |||
| temp0, | |||
| temp1 ) |
Definition at line 80 of file KeccakP-1600-inplace32BI.c.
| #define fromBitInterleavingAndXOR | ( | even, | |
| odd, | |||
| lowIn, | |||
| highIn, | |||
| lowOut, | |||
| highOut, | |||
| temp, | |||
| temp0, | |||
| temp1 ) |
Definition at line 85 of file KeccakP-1600-inplace32BI.c.
| #define I0 Ba |
| #define I1 Be |
| #define KeccakRound0 | ( | ) |
Definition at line 470 of file KeccakP-1600-inplace32BI.c.
| #define KeccakRound1 | ( | ) |
Definition at line 595 of file KeccakP-1600-inplace32BI.c.
| #define KeccakRound2 | ( | ) |
Definition at line 720 of file KeccakP-1600-inplace32BI.c.
| #define KeccakRound3 | ( | ) |
Definition at line 845 of file KeccakP-1600-inplace32BI.c.
| #define prepareFromBitInterleaving | ( | even, | |
| odd, | |||
| temp, | |||
| temp0, | |||
| temp1 ) |
Definition at line 65 of file KeccakP-1600-inplace32BI.c.
| #define prepareToBitInterleaving | ( | low, | |
| high, | |||
| temp, | |||
| temp0, | |||
| temp1 ) |
Definition at line 37 of file KeccakP-1600-inplace32BI.c.
Definition at line 34 of file KeccakP-1600-inplace32BI.c.
| #define SwapPI13 | ( | in0, | |
| in1, | |||
| in2, | |||
| in3, | |||
| eo0, | |||
| eo1, | |||
| eo2, | |||
| eo3 ) |
| #define SwapPI2 | ( | in0, | |
| in1, | |||
| in2, | |||
| in3 ) |
| #define T0 Bi |
| #define T1 Bo |
| #define toBitInterleavingAndAND | ( | low, | |
| high, | |||
| even, | |||
| odd, | |||
| temp, | |||
| temp0, | |||
| temp1 ) |
Definition at line 54 of file KeccakP-1600-inplace32BI.c.
| #define toBitInterleavingAndSet | ( | low, | |
| high, | |||
| even, | |||
| odd, | |||
| temp, | |||
| temp0, | |||
| temp1 ) |
Definition at line 59 of file KeccakP-1600-inplace32BI.c.
| #define toBitInterleavingAndXOR | ( | low, | |
| high, | |||
| even, | |||
| odd, | |||
| temp, | |||
| temp0, | |||
| temp1 ) |
Definition at line 49 of file KeccakP-1600-inplace32BI.c.
| typedef unsigned int UINT32 |
Definition at line 30 of file KeccakP-1600-inplace32BI.c.
| typedef unsigned char UINT8 |
Definition at line 29 of file KeccakP-1600-inplace32BI.c.
Definition at line 125 of file KeccakP-1600-inplace32BI.c.
| 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.
| void KeccakP1600_AddBytesInLane | ( | void * | state, |
| unsigned int | lanePosition, | ||
| const unsigned char * | data, | ||
| unsigned int | offset, | ||
| unsigned int | length ) |
Definition at line 146 of file KeccakP-1600-inplace32BI.c.
| ALLOW_MISALIGNED_ACCESS void KeccakP1600_AddLanes | ( | void * | state, |
| const unsigned char * | data, | ||
| unsigned int | laneCount ) |
Definition at line 174 of file KeccakP-1600-inplace32BI.c.
| 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.
| 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 365 of file KeccakP-1600-inplace32BI.c.
| ALLOW_MISALIGNED_ACCESS void KeccakP1600_ExtractAndAddLanes | ( | const void * | state, |
| const unsigned char * | input, | ||
| unsigned char * | output, | ||
| unsigned int | laneCount ) |
Definition at line 393 of file KeccakP-1600-inplace32BI.c.
| 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.
| void KeccakP1600_ExtractBytesInLane | ( | const void * | state, |
| unsigned int | lanePosition, | ||
| unsigned char * | data, | ||
| unsigned int | offset, | ||
| unsigned int | length ) |
Definition at line 292 of file KeccakP-1600-inplace32BI.c.
| ALLOW_MISALIGNED_ACCESS void KeccakP1600_ExtractLanes | ( | const void * | state, |
| unsigned char * | data, | ||
| unsigned int | laneCount ) |
Definition at line 318 of file KeccakP-1600-inplace32BI.c.
Definition at line 118 of file KeccakP-1600-inplace32BI.c.
| 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.
| void KeccakP1600_OverwriteBytesInLane | ( | void * | state, |
| unsigned int | lanePosition, | ||
| const unsigned char * | data, | ||
| unsigned int | offset, | ||
| unsigned int | length ) |
Definition at line 221 of file KeccakP-1600-inplace32BI.c.
| ALLOW_MISALIGNED_ACCESS void KeccakP1600_OverwriteLanes | ( | void * | state, |
| const unsigned char * | data, | ||
| unsigned int | laneCount ) |
Definition at line 230 of file KeccakP-1600-inplace32BI.c.
Definition at line 277 of file KeccakP-1600-inplace32BI.c.
Definition at line 1160 of file KeccakP-1600-inplace32BI.c.
Definition at line 1167 of file KeccakP-1600-inplace32BI.c.
Definition at line 970 of file KeccakP-1600-inplace32BI.c.
| void KeccakP1600_SetBytesInLaneToZero | ( | void * | state, |
| unsigned int | lanePosition, | ||
| unsigned int | offset, | ||
| unsigned int | length ) |
Definition at line 90 of file KeccakP-1600-inplace32BI.c.