Skip to content

Commit

Permalink
minor editorial change
Browse files Browse the repository at this point in the history
  • Loading branch information
hadielyakhni committed Feb 29, 2024
1 parent 815e1e8 commit 5dffc2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Standalone/KangarooTwelve/Python/K12-SIMD-simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def KeccakP1600timesN_SIMD(N, states, nrRounds):
For the first state, we take the 8*laneCount bytes at data[0 : 8*laneCount] and add them to it.
For the second state, we take 8*laneCount bytes 8*laneOffset bytes further, so at data[8*laneOffset : 8*laneOffset + 8*laneCount], and add them to it.
For the third state, we do the same, but again 8*laneOffset bytes further, etc.
For KT128 (and KT256), 8*laneOffset is 8192 so that the first state gets data from the first leaf, the second state from the second leaf, etc.
For KT128 and KT256, 8*laneOffset is 8192 so that the first state gets data from the first leaf, the second state from the second leaf, etc.
Parameters
----------
Expand Down

0 comments on commit 5dffc2e

Please sign in to comment.