Lines Matching refs:lanePosition
90 void KeccakP1600_SetBytesInLaneToZero(void *state, unsigned int lanePosition, unsigned int offset, … in KeccakP1600_SetBytesInLaneToZero() argument
113 …toBitInterleavingAndAND(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_SetBytesInLaneToZero()
127 unsigned int lanePosition = offset/8; in KeccakP1600_AddByte() local
141 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddByte()
146 void KeccakP1600_AddBytesInLane(void *state, unsigned int lanePosition, const unsigned char *data, … in KeccakP1600_AddBytesInLane() argument
168 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddBytesInLane()
193 unsigned int lanePosition; in KeccakP1600_AddLanes()
194 for(lanePosition=0; lanePosition<laneCount; lanePosition++) { in KeccakP1600_AddLanes()
196 memcpy(laneAsBytes, data+lanePosition*8, 8); in KeccakP1600_AddLanes()
207 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddLanes()
221 void KeccakP1600_OverwriteBytesInLane(void *state, unsigned int lanePosition, const unsigned char *… in KeccakP1600_OverwriteBytesInLane() argument
223 KeccakP1600_SetBytesInLaneToZero(state, lanePosition, offset, length); in KeccakP1600_OverwriteBytesInLane()
224 KeccakP1600_AddBytesInLane(state, lanePosition, data, offset, length); in KeccakP1600_OverwriteBytesInLane()
249 unsigned int lanePosition; in KeccakP1600_OverwriteLanes()
250 for(lanePosition=0; lanePosition<laneCount; lanePosition++) { in KeccakP1600_OverwriteLanes()
252 memcpy(laneAsBytes, data+lanePosition*8, 8); in KeccakP1600_OverwriteLanes()
263 …toBitInterleavingAndSet(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_OverwriteLanes()
292 void KeccakP1600_ExtractBytesInLane(const void *state, unsigned int lanePosition, unsigned char *da… in KeccakP1600_ExtractBytesInLane() argument
298 …fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, hig… in KeccakP1600_ExtractBytesInLane()
337 unsigned int lanePosition; in KeccakP1600_ExtractLanes()
338 for(lanePosition=0; lanePosition<laneCount; lanePosition++) { in KeccakP1600_ExtractLanes()
341 …fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, hig… in KeccakP1600_ExtractLanes()
351 memcpy(data+lanePosition*8, laneAsBytes, 8); in KeccakP1600_ExtractLanes()
365 void KeccakP1600_ExtractAndAddBytesInLane(const void *state, unsigned int lanePosition, const unsig… in KeccakP1600_ExtractAndAddBytesInLane() argument
372 …fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, hig… in KeccakP1600_ExtractAndAddBytesInLane()
413 unsigned int lanePosition; in KeccakP1600_ExtractAndAddLanes()
414 for(lanePosition=0; lanePosition<laneCount; lanePosition++) { in KeccakP1600_ExtractAndAddLanes()
417 …fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, hig… in KeccakP1600_ExtractAndAddLanes()
427 …((UINT32*)(output+lanePosition*8))[0] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(l… in KeccakP1600_ExtractAndAddLanes()
428 …((UINT32*)(output+lanePosition*8))[1] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(l… in KeccakP1600_ExtractAndAddLanes()