Searched refs:lanePosition (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Modules/_sha3/kcp/ |
D | KeccakP-1600-opt64.c | 95 void KeccakP1600_AddBytesInLane(void *state, unsigned int lanePosition, const unsigned char *data, … in KeccakP1600_AddBytesInLane() argument 114 ((UINT64*)state)[lanePosition] ^= lane; in KeccakP1600_AddBytesInLane() 197 void KeccakP1600_OverwriteBytesInLane(void *state, unsigned int lanePosition, const unsigned char *… in KeccakP1600_OverwriteBytesInLane() argument 201 …if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || (… in KeccakP1600_OverwriteBytesInLane() 204 ((unsigned char*)state)[lanePosition*8+offset+i] = ~data[i]; in KeccakP1600_OverwriteBytesInLane() 209 memcpy((unsigned char*)state+lanePosition*8+offset, data, length); in KeccakP1600_OverwriteBytesInLane() 222 unsigned int lanePosition; in KeccakP1600_OverwriteLanes() local 224 for(lanePosition=0; lanePosition<laneCount; lanePosition++) in KeccakP1600_OverwriteLanes() 225 …if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || (… in KeccakP1600_OverwriteLanes() 226 ((UINT64*)state)[lanePosition] = ~((const UINT64*)data)[lanePosition]; in KeccakP1600_OverwriteLanes() [all …]
|
D | KeccakP-1600-inplace32BI.c | 86 void KeccakP1600_SetBytesInLaneToZero(void *state, unsigned int lanePosition, unsigned int offset, … in KeccakP1600_SetBytesInLaneToZero() argument 109 …toBitInterleavingAndAND(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_SetBytesInLaneToZero() 123 unsigned int lanePosition = offset/8; in KeccakP1600_AddByte() local 137 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddByte() 142 void KeccakP1600_AddBytesInLane(void *state, unsigned int lanePosition, const unsigned char *data, … in KeccakP1600_AddBytesInLane() argument 164 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddBytesInLane() 188 unsigned int lanePosition; in KeccakP1600_AddLanes() 189 for(lanePosition=0; lanePosition<laneCount; lanePosition++) { in KeccakP1600_AddLanes() 193 memcpy(laneAsBytes, data+lanePosition*8, 8); in KeccakP1600_AddLanes() 203 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddLanes() [all …]
|