Question: Our permutation needs to read 64-bytes (512 bits) from memory into variable, send the variables through the the mixing step multiple times, and then write


Our permutation needs to read 64-bytes (512 bits) from memory into variable, send the variables through the the mixing step multiple times, and then write the variables back out to memory. Here's the pseudocode. read 64 bytes into variables to, t1, ..., t15 doing little-endian reads. 10 times do: // Mix columns mixingto, t4, t8, t12) mixing(t1, t5, t9, +13) mixing(t2, t6, t10, t14) mixing(t3, t7, t11, t15) // Mix diagonals mixing(to, t5, t10, t15) mixing(t1, t6, t11, t12) mixing(t2, t7, t8, +13) mixing(t3, t4, 19, t14) write 64 bytes from variables to, t1, ..., t15 doing little-endian writes. The comments about mixing columns and diagonals refers to an explanation given in lecture regarding this permutation. See that video for more explanation. I Exit Full Screen code.c* + New i #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
