Lines Matching refs:state

82 void KeccakP1600_SetBytesInLaneToZero(void *state, unsigned int lanePosition, unsigned int offset, …  in KeccakP1600_SetBytesInLaneToZero()  argument
87 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_SetBytesInLaneToZero()
110 void KeccakP1600_Initialize(void *state) in KeccakP1600_Initialize() argument
112 memset(state, 0, 200); in KeccakP1600_Initialize()
117 void KeccakP1600_AddByte(void *state, unsigned char byte, unsigned int offset) in KeccakP1600_AddByte() argument
123 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddByte()
138 void KeccakP1600_AddBytesInLane(void *state, unsigned int lanePosition, const unsigned char *data, … in KeccakP1600_AddBytesInLane() argument
143 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddBytesInLane()
165 void KeccakP1600_AddLanes(void *state, const unsigned char *data, unsigned int laneCount) in KeccakP1600_AddLanes() argument
169 UINT32 * pS = (UINT32*)state; in KeccakP1600_AddLanes()
197 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddLanes()
205 void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int… in KeccakP1600_AddBytes() argument
207 SnP_AddBytes(state, data, offset, length, KeccakP1600_AddLanes, KeccakP1600_AddBytesInLane, 8); in KeccakP1600_AddBytes()
212 void KeccakP1600_OverwriteBytesInLane(void *state, unsigned int lanePosition, const unsigned char *… in KeccakP1600_OverwriteBytesInLane() argument
214 KeccakP1600_SetBytesInLaneToZero(state, lanePosition, offset, length); in KeccakP1600_OverwriteBytesInLane()
215 KeccakP1600_AddBytesInLane(state, lanePosition, data, offset, length); in KeccakP1600_OverwriteBytesInLane()
220 void KeccakP1600_OverwriteLanes(void *state, const unsigned char *data, unsigned int laneCount) in KeccakP1600_OverwriteLanes() argument
224 UINT32 * pS = (UINT32 *)state; in KeccakP1600_OverwriteLanes()
252 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_OverwriteLanes()
260 void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsign… in KeccakP1600_OverwriteBytes() argument
262 …SnP_OverwriteBytes(state, data, offset, length, KeccakP1600_OverwriteLanes, KeccakP1600_OverwriteB… in KeccakP1600_OverwriteBytes()
267 void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount) in KeccakP1600_OverwriteWithZeroes() argument
269 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_OverwriteWithZeroes()
277 KeccakP1600_SetBytesInLaneToZero(state, byteCount/8, 0, byteCount%8); in KeccakP1600_OverwriteWithZeroes()
282 void KeccakP1600_ExtractBytesInLane(const void *state, unsigned int lanePosition, unsigned char *da… in KeccakP1600_ExtractBytesInLane() argument
284 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractBytesInLane()
307 void KeccakP1600_ExtractLanes(const void *state, unsigned char *data, unsigned int laneCount) in KeccakP1600_ExtractLanes() argument
311 const UINT32 * pS = ( const UINT32 *)state; in KeccakP1600_ExtractLanes()
328 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractLanes()
347 void KeccakP1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned… in KeccakP1600_ExtractBytes() argument
349 …SnP_ExtractBytes(state, data, offset, length, KeccakP1600_ExtractLanes, KeccakP1600_ExtractBytesIn… in KeccakP1600_ExtractBytes()
354 void KeccakP1600_ExtractAndAddBytesInLane(const void *state, unsigned int lanePosition, const unsig… in KeccakP1600_ExtractAndAddBytesInLane() argument
356 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractAndAddBytesInLane()
381 void KeccakP1600_ExtractAndAddLanes(const void *state, const unsigned char *input, unsigned char *o… in KeccakP1600_ExtractAndAddLanes() argument
386 const UINT32 * pS = (const UINT32 *)state; in KeccakP1600_ExtractAndAddLanes()
403 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractAndAddLanes()
422 void KeccakP1600_ExtractAndAddBytes(const void *state, const unsigned char *input, unsigned char *o… in KeccakP1600_ExtractAndAddBytes() argument
424 …SnP_ExtractAndAddBytes(state, input, output, offset, length, KeccakP1600_ExtractAndAddLanes, Kecca… in KeccakP1600_ExtractAndAddBytes()
958 void KeccakP1600_Permute_Nrounds(void *state, unsigned int nRounds) in KeccakP1600_Permute_Nrounds() argument
965 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_Permute_Nrounds()
1148 void KeccakP1600_Permute_12rounds(void *state) in KeccakP1600_Permute_12rounds() argument
1150 KeccakP1600_Permute_Nrounds(state, 12); in KeccakP1600_Permute_12rounds()
1155 void KeccakP1600_Permute_24rounds(void *state) in KeccakP1600_Permute_24rounds() argument
1157 KeccakP1600_Permute_Nrounds(state, 24); in KeccakP1600_Permute_24rounds()