• Home
  • Raw
  • Download

Lines Matching refs:lanePosition

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()
228 ((UINT64*)state)[lanePosition] = ((const UINT64*)data)[lanePosition]; in KeccakP1600_OverwriteLanes()
250 unsigned int lanePosition; in KeccakP1600_OverwriteWithZeroes() local
252 for(lanePosition=0; lanePosition<byteCount/8; lanePosition++) in KeccakP1600_OverwriteWithZeroes()
253 …if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || ( in KeccakP1600_OverwriteWithZeroes()
254 ((UINT64*)state)[lanePosition] = ~0; in KeccakP1600_OverwriteWithZeroes()
256 ((UINT64*)state)[lanePosition] = 0; in KeccakP1600_OverwriteWithZeroes()
258 lanePosition = byteCount/8; in KeccakP1600_OverwriteWithZeroes()
259 …if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || ( in KeccakP1600_OverwriteWithZeroes()
260 memset((unsigned char*)state+lanePosition*8, 0xFF, byteCount%8); in KeccakP1600_OverwriteWithZeroes()
262 memset((unsigned char*)state+lanePosition*8, 0, byteCount%8); in KeccakP1600_OverwriteWithZeroes()
304 void KeccakP1600_ExtractBytesInLane(const void *state, unsigned int lanePosition, unsigned char *da… in KeccakP1600_ExtractBytesInLane() argument
306 UINT64 lane = ((UINT64*)state)[lanePosition]; in KeccakP1600_ExtractBytesInLane()
308 …if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || ( in KeccakP1600_ExtractBytesInLane()
380 void KeccakP1600_ExtractAndAddBytesInLane(const void *state, unsigned int lanePosition, const unsig… in KeccakP1600_ExtractAndAddBytesInLane() argument
382 UINT64 lane = ((UINT64*)state)[lanePosition]; in KeccakP1600_ExtractAndAddBytesInLane()
384 …if ((lanePosition == 1) || (lanePosition == 2) || (lanePosition == 8) || (lanePosition == 12) || ( in KeccakP1600_ExtractAndAddBytesInLane()