round 8
theta rho pi chi iota




round 8: before theta
A[0] = 0x465d3ba2da27c672
A[1] = 0xaf86bd38986ceb0e
A[2] = 0xb302820bf0d8d486
A[3] = 0x91916a5039f8cf6e
A[4] = 0xf9564b096a4ab096
A[5] = 0x3a590b6b22e0bd5b
A[6] = 0xdcc180f11caab62b
A[7] = 0xd05f0811f31ceef9
A[8] = 0x564e1ec4b0022c8b
A[9] = 0xb9bec7fa62958679
A[10] = 0x0d435080d0031c68
A[11] = 0x01d396abd0f22aaa
A[12] = 0x4d680cecc45ff8fd
A[13] = 0x79a6f0b569df50e7
A[14] = 0x2078efe07311e5ea
A[15] = 0x7180fcf16789107c
A[16] = 0xa3b45b841baaafac
A[17] = 0x4c9b33dbdcd46756
A[18] = 0x829a6c4b05c60345
A[19] = 0xf22c7a7f1f21c32f
A[20] = 0xc421c118373abe48
A[21] = 0xe8d2914944a9d628
A[22] = 0x64dd6be1e152e4e2
A[23] = 0x2840bf56ff371a60
A[24] = 0x3f0e030542f694e7



round 8: theta
C[0] = A[0] ^ A[5] ^ A[10] ^ A[15] ^ A[20]
= 0x465d3ba2da27c672 ^ 0x3a590b6b22e0bd5b ^ 0x0d435080d0031c68 ^ 0x7180fcf16789107c ^ 0xc421c118373abe48
= 0xc4e65da07877c975
C[1] = A[1] ^ A[6] ^ A[11] ^ A[16] ^ A[21]
= 0xaf86bd38986ceb0e ^ 0xdcc180f11caab62b ^ 0x01d396abd0f22aaa ^ 0xa3b45b841baaafac ^ 0xe8d2914944a9d628
= 0x39f261af0b370e0b
C[2] = A[2] ^ A[7] ^ A[12] ^ A[17] ^ A[22]
= 0xb302820bf0d8d486 ^ 0xd05f0811f31ceef9 ^ 0x4d680cecc45ff8fd ^ 0x4c9b33dbdcd46756 ^ 0x64dd6be1e152e4e2
= 0x0673deccfa1d4136
C[3] = A[3] ^ A[8] ^ A[13] ^ A[18] ^ A[23]
= 0x91916a5039f8cf6e ^ 0x564e1ec4b0022c8b ^ 0x79a6f0b569df50e7 ^ 0x829a6c4b05c60345 ^ 0x2840bf56ff371a60
= 0x14a3573c1ad4aa27
C[4] = A[4] ^ A[9] ^ A[14] ^ A[19] ^ A[24]
= 0xf9564b096a4ab096 ^ 0xb9bec7fa62958679 ^ 0x2078efe07311e5ea ^ 0xf22c7a7f1f21c32f ^ 0x3f0e030542f694e7
= 0xadb21a69261984cd
D[0] = LeftRotation(C[1], 1) ^ C[4]
= LeftRotation(0x39f261af0b370e0b, 1) ^ 0xadb21a69261984cd
= 0x73e4c35e166e1c16 ^ 0xadb21a69261984cd
= 0xde56d937307798db
D[1] = LeftRotation(C[2], 1) ^ C[0]
= LeftRotation(0x0673deccfa1d4136, 1) ^ 0xc4e65da07877c975
= 0x0ce7bd99f43a826c ^ 0xc4e65da07877c975
= 0xc801e0398c4d4b19
D[2] = LeftRotation(C[3], 1) ^ C[1]
= LeftRotation(0x14a3573c1ad4aa27, 1) ^ 0x39f261af0b370e0b
= 0x2946ae7835a9544e ^ 0x39f261af0b370e0b
= 0x10b4cfd73e9e5a45
D[3] = LeftRotation(C[4], 1) ^ C[2]
= LeftRotation(0xadb21a69261984cd, 1) ^ 0x0673deccfa1d4136
= 0x5b6434d24c33099b ^ 0x0673deccfa1d4136
= 0x5d17ea1eb62e48ad
D[4] = LeftRotation(C[0], 1) ^ C[3]
= LeftRotation(0xc4e65da07877c975, 1) ^ 0x14a3573c1ad4aa27
= 0x89ccbb40f0ef92eb ^ 0x14a3573c1ad4aa27
= 0x9d6fec7cea3b38cc
A[0] = A[0] ^ D[0]
= 0x465d3ba2da27c672 ^ 0xde56d937307798db
= 0x980be295ea505ea9
A[5] = A[5] ^ D[0]
= 0x3a590b6b22e0bd5b ^ 0xde56d937307798db
= 0xe40fd25c12972580
A[10] = A[10] ^ D[0]
= 0x0d435080d0031c68 ^ 0xde56d937307798db
= 0xd31589b7e07484b3
A[15] = A[15] ^ D[0]
= 0x7180fcf16789107c ^ 0xde56d937307798db
= 0xafd625c657fe88a7
A[20] = A[20] ^ D[0]
= 0xc421c118373abe48 ^ 0xde56d937307798db
= 0x1a77182f074d2693
A[1] = A[1] ^ D[1]
= 0xaf86bd38986ceb0e ^ 0xc801e0398c4d4b19
= 0x67875d011421a017
A[6] = A[6] ^ D[1]
= 0xdcc180f11caab62b ^ 0xc801e0398c4d4b19
= 0x14c060c890e7fd32
A[11] = A[11] ^ D[1]
= 0x01d396abd0f22aaa ^ 0xc801e0398c4d4b19
= 0xc9d276925cbf61b3
A[16] = A[16] ^ D[1]
= 0xa3b45b841baaafac ^ 0xc801e0398c4d4b19
= 0x6bb5bbbd97e7e4b5
A[21] = A[21] ^ D[1]
= 0xe8d2914944a9d628 ^ 0xc801e0398c4d4b19
= 0x20d37170c8e49d31
A[2] = A[2] ^ D[2]
= 0xb302820bf0d8d486 ^ 0x10b4cfd73e9e5a45
= 0xa3b64ddcce468ec3
A[7] = A[7] ^ D[2]
= 0xd05f0811f31ceef9 ^ 0x10b4cfd73e9e5a45
= 0xc0ebc7c6cd82b4bc
A[12] = A[12] ^ D[2]
= 0x4d680cecc45ff8fd ^ 0x10b4cfd73e9e5a45
= 0x5ddcc33bfac1a2b8
A[17] = A[17] ^ D[2]
= 0x4c9b33dbdcd46756 ^ 0x10b4cfd73e9e5a45
= 0x5c2ffc0ce24a3d13
A[22] = A[22] ^ D[2]
= 0x64dd6be1e152e4e2 ^ 0x10b4cfd73e9e5a45
= 0x7469a436dfccbea7
A[3] = A[3] ^ D[3]
= 0x91916a5039f8cf6e ^ 0x5d17ea1eb62e48ad
= 0xcc86804e8fd687c3
A[8] = A[8] ^ D[3]
= 0x564e1ec4b0022c8b ^ 0x5d17ea1eb62e48ad
= 0x0b59f4da062c6426
A[13] = A[13] ^ D[3]
= 0x79a6f0b569df50e7 ^ 0x5d17ea1eb62e48ad
= 0x24b11aabdff1184a
A[18] = A[18] ^ D[3]
= 0x829a6c4b05c60345 ^ 0x5d17ea1eb62e48ad
= 0xdf8d8655b3e84be8
A[23] = A[23] ^ D[3]
= 0x2840bf56ff371a60 ^ 0x5d17ea1eb62e48ad
= 0x75575548491952cd
A[4] = A[4] ^ D[4]
= 0xf9564b096a4ab096 ^ 0x9d6fec7cea3b38cc
= 0x6439a7758071885a
A[9] = A[9] ^ D[4]
= 0xb9bec7fa62958679 ^ 0x9d6fec7cea3b38cc
= 0x24d12b8688aebeb5
A[14] = A[14] ^ D[4]
= 0x2078efe07311e5ea ^ 0x9d6fec7cea3b38cc
= 0xbd17039c992add26
A[19] = A[19] ^ D[4]
= 0xf22c7a7f1f21c32f ^ 0x9d6fec7cea3b38cc
= 0x6f439603f51afbe3
A[24] = A[24] ^ D[4]
= 0x3f0e030542f694e7 ^ 0x9d6fec7cea3b38cc
= 0xa261ef79a8cdac2b



round 8: after theta
A[0] = 0x980be295ea505ea9
A[1] = 0x67875d011421a017
A[2] = 0xa3b64ddcce468ec3
A[3] = 0xcc86804e8fd687c3
A[4] = 0x6439a7758071885a
A[5] = 0xe40fd25c12972580
A[6] = 0x14c060c890e7fd32
A[7] = 0xc0ebc7c6cd82b4bc
A[8] = 0x0b59f4da062c6426
A[9] = 0x24d12b8688aebeb5
A[10] = 0xd31589b7e07484b3
A[11] = 0xc9d276925cbf61b3
A[12] = 0x5ddcc33bfac1a2b8
A[13] = 0x24b11aabdff1184a
A[14] = 0xbd17039c992add26
A[15] = 0xafd625c657fe88a7
A[16] = 0x6bb5bbbd97e7e4b5
A[17] = 0x5c2ffc0ce24a3d13
A[18] = 0xdf8d8655b3e84be8
A[19] = 0x6f439603f51afbe3
A[20] = 0x1a77182f074d2693
A[21] = 0x20d37170c8e49d31
A[22] = 0x7469a436dfccbea7
A[23] = 0x75575548491952cd
A[24] = 0xa261ef79a8cdac2b



round 8: rho
A[0] = LeftRotation(A[0] , 0)
= LeftRotation(0x980be295ea505ea9, 0)
= 0x980be295ea505ea9
A[1] = LeftRotation(A[1] , 1)
= LeftRotation(0x67875d011421a017, 1)
= 0xcf0eba022843402e
A[2] = LeftRotation(A[2] , 62)
= LeftRotation(0xa3b64ddcce468ec3, 62)
= 0xe8ed93773391a3b0
A[3] = LeftRotation(A[3] , 28)
= LeftRotation(0xcc86804e8fd687c3, 28)
= 0xe8fd687c3cc86804
A[4] = LeftRotation(A[4] , 27)
= LeftRotation(0x6439a7758071885a, 27)
= 0xac038c42d321cd3b
A[5] = LeftRotation(A[5] , 36)
= LeftRotation(0xe40fd25c12972580, 36)
= 0x2972580e40fd25c1
A[6] = LeftRotation(A[6] , 44)
= LeftRotation(0x14c060c890e7fd32, 44)
= 0x7fd3214c060c890e
A[7] = LeftRotation(A[7] , 6)
= LeftRotation(0xc0ebc7c6cd82b4bc, 6)
= 0x3af1f1b360ad2f30
A[8] = LeftRotation(A[8] , 55)
= LeftRotation(0x0b59f4da062c6426, 55)
= 0x1305acfa6d031632
A[9] = LeftRotation(A[9] , 20)
= LeftRotation(0x24d12b8688aebeb5, 20)
= 0xb8688aebeb524d12
A[10] = LeftRotation(A[10] , 3)
= LeftRotation(0xd31589b7e07484b3, 3)
= 0x98ac4dbf03a4259e
A[11] = LeftRotation(A[11] , 10)
= LeftRotation(0xc9d276925cbf61b3, 10)
= 0x49da4972fd86cf27
A[12] = LeftRotation(A[12] , 43)
= LeftRotation(0x5ddcc33bfac1a2b8, 43)
= 0x0d15c2eee619dfd6
A[13] = LeftRotation(A[13] , 25)
= LeftRotation(0x24b11aabdff1184a, 25)
= 0x57bfe23094496235
A[14] = LeftRotation(A[14] , 39)
= LeftRotation(0xbd17039c992add26, 39)
= 0x956e935e8b81ce4c
A[15] = LeftRotation(A[15] , 41)
= LeftRotation(0xafd625c657fe88a7, 41)
= 0xfd114f5fac4b8caf
A[16] = LeftRotation(A[16] , 45)
= LeftRotation(0x6bb5bbbd97e7e4b5, 45)
= 0xfc96ad76b777b2fc
A[17] = LeftRotation(A[17] , 15)
= LeftRotation(0x5c2ffc0ce24a3d13, 15)
= 0xfe0671251e89ae17
A[18] = LeftRotation(A[18] , 21)
= LeftRotation(0xdf8d8655b3e84be8, 21)
= 0xcab67d097d1bf1b0
A[19] = LeftRotation(A[19] , 8)
= LeftRotation(0x6f439603f51afbe3, 8)
= 0x439603f51afbe36f
A[20] = LeftRotation(A[20] , 18)
= LeftRotation(0x1a77182f074d2693, 18)
= 0x60bc1d349a4c69dc
A[21] = LeftRotation(A[21] , 2)
= LeftRotation(0x20d37170c8e49d31, 2)
= 0x834dc5c3239274c4
A[22] = LeftRotation(A[22] , 61)
= LeftRotation(0x7469a436dfccbea7, 61)
= 0xee8d3486dbf997d4
A[23] = LeftRotation(A[23] , 56)
= LeftRotation(0x75575548491952cd, 56)
= 0xcd75575548491952



round 8: after rho
A[0] = 0x980be295ea505ea9
A[1] = 0xcf0eba022843402e
A[2] = 0xe8ed93773391a3b0
A[3] = 0xe8fd687c3cc86804
A[4] = 0xac038c42d321cd3b
A[5] = 0x2972580e40fd25c1
A[6] = 0x7fd3214c060c890e
A[7] = 0x3af1f1b360ad2f30
A[8] = 0x1305acfa6d031632
A[9] = 0xb8688aebeb524d12
A[10] = 0x98ac4dbf03a4259e
A[11] = 0x49da4972fd86cf27
A[12] = 0x0d15c2eee619dfd6
A[13] = 0x57bfe23094496235
A[14] = 0x956e935e8b81ce4c
A[15] = 0xfd114f5fac4b8caf
A[16] = 0xfc96ad76b777b2fc
A[17] = 0xfe0671251e89ae17
A[18] = 0xcab67d097d1bf1b0
A[19] = 0x439603f51afbe36f
A[20] = 0x60bc1d349a4c69dc
A[21] = 0x834dc5c3239274c4
A[22] = 0xee8d3486dbf997d4
A[23] = 0xcd75575548491952
A[24] = 0x7bde6a336b0ae898



round 8: pi
A1temp = A[1]
= 0xcf0eba022843402e
A[1] = A[6]
= 0x7fd3214c060c890e
A[6] = A[9]
= 0xb8688aebeb524d12
A[9] = A[22]
= 0xee8d3486dbf997d4
A[22] = A[14]
= 0x956e935e8b81ce4c
A[14] = A[20]
= 0x60bc1d349a4c69dc
A[20] = A[2]
= 0xe8ed93773391a3b0
A[2] = A[12]
= 0x0d15c2eee619dfd6
A[12] = A[13]
= 0x57bfe23094496235
A[13] = A[19]
= 0x439603f51afbe36f
A[19] = A[23]
= 0xcd75575548491952
A[23] = A[15]
= 0xfd114f5fac4b8caf
A[15] = A[4]
= 0xac038c42d321cd3b
A[4] = A[24]
= 0x7bde6a336b0ae898
A[24] = A[21]
= 0x834dc5c3239274c4
A[21] = A[8]
= 0x1305acfa6d031632
A[8] = A[16]
= 0xfc96ad76b777b2fc
A[16] = A[5]
= 0x2972580e40fd25c1
A[5] = A[3]
= 0xe8fd687c3cc86804
A[3] = A[18]
= 0xcab67d097d1bf1b0
A[18] = A[17]
= 0xfe0671251e89ae17
A[17] = A[11]
= 0x49da4972fd86cf27
A[11] = A[7]
= 0x3af1f1b360ad2f30
A[7] = A[10]
= 0x98ac4dbf03a4259e
A[10] = A1temp
= 0xcf0eba022843402e



round 8: after pi
A[0] = 0x980be295ea505ea9
A[1] = 0x7fd3214c060c890e
A[2] = 0x0d15c2eee619dfd6
A[3] = 0xcab67d097d1bf1b0
A[4] = 0x7bde6a336b0ae898
A[5] = 0xe8fd687c3cc86804
A[6] = 0xb8688aebeb524d12
A[7] = 0x98ac4dbf03a4259e
A[8] = 0xfc96ad76b777b2fc
A[9] = 0xee8d3486dbf997d4
A[10] = 0xcf0eba022843402e
A[11] = 0x3af1f1b360ad2f30
A[12] = 0x57bfe23094496235
A[13] = 0x439603f51afbe36f
A[14] = 0x60bc1d349a4c69dc
A[15] = 0xac038c42d321cd3b
A[16] = 0x2972580e40fd25c1
A[17] = 0x49da4972fd86cf27
A[18] = 0xfe0671251e89ae17
A[19] = 0xcd75575548491952
A[20] = 0xe8ed93773391a3b0
A[21] = 0x1305acfa6d031632
A[22] = 0x956e935e8b81ce4c
A[23] = 0xfd114f5fac4b8caf
A[24] = 0x834dc5c3239274c4



round 8: chi
A0temp = A[0]
= 0x980be295ea505ea9
A1temp = A[1]
= 0x7fd3214c060c890e
A[0] = A[0] ^ (~A1temp & A[2])
= 0x980be295ea505ea9 ^ (~0x7fd3214c060c890e & 0x0d15c2eee619dfd6)
= 0x980be295ea505ea9 ^ (0x802cdeb3f9f376f1 & 0x0d15c2eee619dfd6)
= 0x980be295ea505ea9 ^ 0x0004c2a2e01156d0
= 0x980f20370a410879
A[1] = A[1] ^ (~A[2] & A[3])
= 0x7fd3214c060c890e ^ (~0x0d15c2eee619dfd6 & 0xcab67d097d1bf1b0)
= 0x7fd3214c060c890e ^ (0xf2ea3d1119e62029 & 0xcab67d097d1bf1b0)
= 0x7fd3214c060c890e ^ 0xc2a23d0119022020
= 0x7fd3214c060c890e
A[2] = A[2] ^ (~A[3] & A[4])
= 0x0d15c2eee619dfd6 ^ (~0xcab67d097d1bf1b0 & 0x7bde6a336b0ae898)
= 0x0d15c2eee619dfd6 ^ (0x354982f682e40e4f & 0x7bde6a336b0ae898)
= 0x0d15c2eee619dfd6 ^ 0x3148023202000808
= 0x081440086419d190
A[3] = A[3] ^ (~A[4] & A0temp)
= 0xcab67d097d1bf1b0 ^ (~0x7bde6a336b0ae898 & 0x980be295ea505ea9)
= 0xcab67d097d1bf1b0 ^ (0x842195cc94f51767 & 0x980be295ea505ea9)
= 0xcab67d097d1bf1b0 ^ 0x8001808480501621
= 0xceb7fdc5f90ae6f6
A[4] = A[4] ^ (~A0temp & A1temp)
= 0x7bde6a336b0ae898 ^ (~0x980be295ea505ea9 & 0x7fd3214c060c890e)
= 0x7bde6a336b0ae898 ^ (0x67f41d6a15afa156 & 0x7fd3214c060c890e)
= 0x7bde6a336b0ae898 ^ 0x67d00148040c8106
= 0x7eca6a596f0369ce
A5temp = A[5]
= 0xe8fd687c3cc86804
A6temp = A[6]
= 0xb8688aebeb524d12
A[5] = A[5] ^ (~A6temp & A[7])
= 0xe8fd687c3cc86804 ^ (~0xb8688aebeb524d12 & 0x98ac4dbf03a4259e)
= 0xe8fd687c3cc86804 ^ (0x4797751414adb2ed & 0x98ac4dbf03a4259e)
= 0xe8fd687c3cc86804 ^ 0x0084451400a4208c
= 0xe8792d683c6c4888
A[6] = A[6] ^ (~A[7] & A[8])
= 0xb8688aebeb524d12 ^ (~0x98ac4dbf03a4259e & 0xfc96ad76b777b2fc)
= 0xb8688aebeb524d12 ^ (0x6753b240fc5bda61 & 0xfc96ad76b777b2fc)
= 0xb8688aebeb524d12 ^ 0x6412a040b4539260
= 0xb8688aebeb524d12
A[7] = A[7] ^ (~A[8] & A[9])
= 0x98ac4dbf03a4259e ^ (~0xfc96ad76b777b2fc & 0xee8d3486dbf997d4)
= 0x98ac4dbf03a4259e ^ (0x0369528948884d03 & 0xee8d3486dbf997d4)
= 0x98ac4dbf03a4259e ^ 0x0209108048880500
= 0x98840d360324209c
A[8] = A[8] ^ (~A[9] & A5temp)
= 0xfc96ad76b777b2fc ^ (~0xee8d3486dbf997d4 & 0xe8fd687c3cc86804)
= 0xfc96ad76b777b2fc ^ (0x1172cb792406682b & 0xe8fd687c3cc86804)
= 0xfc96ad76b777b2fc ^ 0x0070487824006800
= 0xecb6e44fb77392f6
A[9] = A[9] ^ (~A5temp & A6temp)
= 0xee8d3486dbf997d4 ^ (~0xe8fd687c3cc86804 & 0xb8688aebeb524d12)
= 0xee8d3486dbf997d4 ^ (0x17029783c33797fb & 0xb8688aebeb524d12)
= 0xee8d3486dbf997d4 ^ 0x10008283c3120512
= 0xfe8d3105d8dd924e
A10temp = A[10]
= 0xcf0eba022843402e
A11temp = A[11]
= 0x3af1f1b360ad2f30
A[10] = A[10] ^ (~A11temp & A[12])
= 0xcf0eba022843402e ^ (~0x3af1f1b360ad2f30 & 0x57bfe23094496235)
= 0xcf0eba022843402e ^ (0xc50e0e4c9f52d0cf & 0x57bfe23094496235)
= 0xcf0eba022843402e ^ 0x450e020094404005
= 0x8a00b802bc03002b
A[11] = A[11] ^ (~A[12] & A[13])
= 0x3af1f1b360ad2f30 ^ (~0x57bfe23094496235 & 0x439603f51afbe36f)
= 0x3af1f1b360ad2f30 ^ (0xa8401dcf6bb69dca & 0x439603f51afbe36f)
= 0x3af1f1b360ad2f30 ^ 0x000001c50ab2814a
= 0x3af1f1b360ad2f30
A[12] = A[12] ^ (~A[13] & A[14])
= 0x57bfe23094496235 ^ (~0x439603f51afbe36f & 0x60bc1d349a4c69dc)
= 0x57bfe23094496235 ^ (0xbc69fc0ae5041c90 & 0x60bc1d349a4c69dc)
= 0x57bfe23094496235 ^ 0x20281c0080040890
= 0x4396023010496225
A[13] = A[13] ^ (~A[14] & A10temp)
= 0x439603f51afbe36f ^ (~0x60bc1d349a4c69dc & 0xcf0eba022843402e)
= 0x439603f51afbe36f ^ (0x9f43e2cb65b39623 & 0xcf0eba022843402e)
= 0x439603f51afbe36f ^ 0x8f02a20220030022
= 0x5495e1f51efae14e
A[14] = A[14] ^ (~A10temp & A11temp)
= 0x60bc1d349a4c69dc ^ (~0xcf0eba022843402e & 0x3af1f1b360ad2f30)
= 0x60bc1d349a4c69dc ^ (0x30f145fdd7bcbfd1 & 0x3af1f1b360ad2f30)
= 0x60bc1d349a4c69dc ^ 0x30f141b140ac2f10
= 0x700d5d040e444bcd
A15temp = A[15]
= 0xac038c42d321cd3b
A16temp = A[16]
= 0x2972580e40fd25c1
A[15] = A[15] ^ (~A16temp & A[17])
= 0xac038c42d321cd3b ^ (~0x2972580e40fd25c1 & 0x49da4972fd86cf27)
= 0xac038c42d321cd3b ^ (0xd68da7f1bf02da3e & 0x49da4972fd86cf27)
= 0xac038c42d321cd3b ^ 0x40880170bd02ca26
= 0xec8b8d326e23071d
A[16] = A[16] ^ (~A[17] & A[18])
= 0x2972580e40fd25c1 ^ (~0x49da4972fd86cf27 & 0xfe0671251e89ae17)
= 0x2972580e40fd25c1 ^ (0xb625b68d027930d8 & 0xfe0671251e89ae17)
= 0x2972580e40fd25c1 ^ 0xb604300502092010
= 0x2972580e40fd25c1
A[17] = A[17] ^ (~A[18] & A[19])
= 0x49da4972fd86cf27 ^ (~0xfe0671251e89ae17 & 0xcd75575548491952)
= 0x49da4972fd86cf27 ^ (0x01f98edae17651e8 & 0xcd75575548491952)
= 0x49da4972fd86cf27 ^ 0x0171065040401140
= 0x480241201c808e07
A[18] = A[18] ^ (~A[19] & A15temp)
= 0xfe0671251e89ae17 ^ (~0xcd75575548491952 & 0xac038c42d321cd3b)
= 0xfe0671251e89ae17 ^ (0x328aa8aab7b6e6ad & 0xac038c42d321cd3b)
= 0xfe0671251e89ae17 ^ 0x200288029320c429
= 0xfe8c7907ab0f6832
A[19] = A[19] ^ (~A15temp & A16temp)
= 0xcd75575548491952 ^ (~0xac038c42d321cd3b & 0x2972580e40fd25c1)
= 0xcd75575548491952 ^ (0x53fc73bd2cde32c4 & 0x2972580e40fd25c1)
= 0xcd75575548491952 ^ 0x0170500c00dc20c0
= 0x8cad166564cf1b56
A20temp = A[20]
= 0xe8ed93773391a3b0
A21temp = A[21]
= 0x1305acfa6d031632
A[20] = A[20] ^ (~A21temp & A[22])
= 0xe8ed93773391a3b0 ^ (~0x1305acfa6d031632 & 0x956e935e8b81ce4c)
= 0xe8ed93773391a3b0 ^ (0xecfa530592fce9cd & 0x956e935e8b81ce4c)
= 0xe8ed93773391a3b0 ^ 0x846a13048280c84c
= 0x6c878073b1116bfc
A[21] = A[21] ^ (~A[22] & A[23])
= 0x1305acfa6d031632 ^ (~0x956e935e8b81ce4c & 0xfd114f5fac4b8caf)
= 0x1305acfa6d031632 ^ (0x6a916ca1747e31b3 & 0xfd114f5fac4b8caf)
= 0x1305acfa6d031632 ^ 0x68114c01244a00a3
= 0x1305acfa6d031632
A[22] = A[22] ^ (~A[23] & A[24])
= 0x956e935e8b81ce4c ^ (~0xfd114f5fac4b8caf & 0x834dc5c3239274c4)
= 0x956e935e8b81ce4c ^ (0x02eeb0a053b47350 & 0x834dc5c3239274c4)
= 0x956e935e8b81ce4c ^ 0x024c808003907040
= 0x9500035e88018c0c
A[23] = A[23] ^ (~A[24] & A20temp)
= 0xfd114f5fac4b8caf ^ (~0x834dc5c3239274c4 & 0xe8ed93773391a3b0)
= 0xfd114f5fac4b8caf ^ (0x7cb23a3cdc6d8b3b & 0xe8ed93773391a3b0)
= 0xfd114f5fac4b8caf ^ 0x68a0123410018330
= 0xe9335d43244a06a7
A[24] = A[24] ^ (~A20temp & A21temp)
= 0x834dc5c3239274c4 ^ (~0xe8ed93773391a3b0 & 0x1305acfa6d031632)
= 0x834dc5c3239274c4 ^ (0x17126c88cc6e5c4f & 0x1305acfa6d031632)
= 0x834dc5c3239274c4 ^ 0x13002c884c021402
= 0x964fc5cbab923888



round 8: after chi
A[0] = 0x980f20370a410879
A[1] = 0xbd711c4d1f0ea92e
A[2] = 0x3c5dc0dce419d7de
A[3] = 0x4ab7fd8dfd4be791
A[4] = 0x1c0e6b7b6f06699e
A[5] = 0xe8792d683c6c4888
A[6] = 0xdc7a2aab5f01df72
A[7] = 0x9aa55d3f4b2c209e
A[8] = 0xfce6e50e9377dafc
A[9] = 0xfe8db60518eb92c6
A[10] = 0x8a00b802bc03002b
A[11] = 0x3af1f0766a1fae7a
A[12] = 0x7797fe30144d6aa5
A[13] = 0xcc94a1f73af8e34d
A[14] = 0x504d5c85dae046cc
A[15] = 0xec8b8d326e23071d
A[16] = 0x9f76680b42f405d1
A[17] = 0x48ab4f22bdc6de67
A[18] = 0xde04f9278da96a3e
A[19] = 0xcc05075948953992
A[20] = 0x6c878073b1116bfc
A[21] = 0x7b14e0fb49491691
A[22] = 0x972213de8811be0c
A[23] = 0x95b15d6bbc4a0f9f
A[24] = 0x904de94b6f9060c6



round 8: iota
A[0] = A[0] ^ rc[8]
= 0x980f20370a410879 ^ 0x000000000000008a
= 0x980f20370a4108f3



round 8: after iota
A[0] = 0x980f20370a4108f3
A[1] = 0xbd711c4d1f0ea92e
A[2] = 0x3c5dc0dce419d7de
A[3] = 0x4ab7fd8dfd4be791
A[4] = 0x1c0e6b7b6f06699e
A[5] = 0xe8792d683c6c4888
A[6] = 0xdc7a2aab5f01df72
A[7] = 0x9aa55d3f4b2c209e
A[8] = 0xfce6e50e9377dafc
A[9] = 0xfe8db60518eb92c6
A[10] = 0x8a00b802bc03002b
A[11] = 0x3af1f0766a1fae7a
A[12] = 0x7797fe30144d6aa5
A[13] = 0xcc94a1f73af8e34d
A[14] = 0x504d5c85dae046cc
A[15] = 0xec8b8d326e23071d
A[16] = 0x9f76680b42f405d1
A[17] = 0x48ab4f22bdc6de67
A[18] = 0xde04f9278da96a3e
A[19] = 0xcc05075948953992
A[20] = 0x6c878073b1116bfc
A[21] = 0x7b14e0fb49491691
A[22] = 0x972213de8811be0c
A[23] = 0x95b15d6bbc4a0f9f
A[24] = 0x904de94b6f9060c6