round 12
theta rho pi chi iota




round 12: before theta
A[0] = 0xca4b1da70524e1b5
A[1] = 0x142a3fef048313d0
A[2] = 0xd484472dd3f73eb7
A[3] = 0x622c272e0685e1c8
A[4] = 0x7678335b8da6ed28
A[5] = 0x19f3e562f5649085
A[6] = 0x148643b2df2e6fca
A[7] = 0xb621b47fc93272a6
A[8] = 0x6d40a9e20c7c7e8f
A[9] = 0x0f55d6f40446d3a7
A[10] = 0x61176a621d841c0a
A[11] = 0xa0727b0c4fe60917
A[12] = 0xc49faf2f03d67a02
A[13] = 0x8614e5fd94a367c7
A[14] = 0x68cebd8dfb75aedc
A[15] = 0x36faa284e51e14e0
A[16] = 0xcbf0b03e9416d3c2
A[17] = 0xa6d156f40f0e8235
A[18] = 0x65abcce25e95069a
A[19] = 0x60aa33ec332bf908
A[20] = 0x02335df33f9272c0
A[21] = 0xeb3e5adb72ddaa5d
A[22] = 0x2dacd95c435983f3
A[23] = 0x8d6545580d4c4e43
A[24] = 0xe6133347e637f8e8



round 12: theta
C[0] = A[0] ^ A[5] ^ A[10] ^ A[15] ^ A[20]
= 0xca4b1da70524e1b5 ^ 0x19f3e562f5649085 ^ 0x61176a621d841c0a ^ 0x36faa284e51e14e0 ^ 0x02335df33f9272c0
= 0x86666dd037480b1a
C[1] = A[1] ^ A[6] ^ A[11] ^ A[16] ^ A[21]
= 0x142a3fef048313d0 ^ 0x148643b2df2e6fca ^ 0xa0727b0c4fe60917 ^ 0xcbf0b03e9416d3c2 ^ 0xeb3e5adb72ddaa5d
= 0x8010edb472800c92
C[2] = A[2] ^ A[7] ^ A[12] ^ A[17] ^ A[22]
= 0xd484472dd3f73eb7 ^ 0xb621b47fc93272a6 ^ 0xc49faf2f03d67a02 ^ 0xa6d156f40f0e8235 ^ 0x2dacd95c435983f3
= 0x2d47d3d5554437d5
C[3] = A[3] ^ A[8] ^ A[13] ^ A[18] ^ A[23]
= 0x622c272e0685e1c8 ^ 0x6d40a9e20c7c7e8f ^ 0x8614e5fd94a367c7 ^ 0x65abcce25e95069a ^ 0x8d6545580d4c4e43
= 0x61b6e28bcd83b059
C[4] = A[4] ^ A[9] ^ A[14] ^ A[19] ^ A[24]
= 0x7678335b8da6ed28 ^ 0x0f55d6f40446d3a7 ^ 0x68cebd8dfb75aedc ^ 0x60aa33ec332bf908 ^ 0xe6133347e637f8e8
= 0x975a5889a78991b3
D[0] = LeftRotation(C[1], 1) ^ C[4]
= LeftRotation(0x8010edb472800c92, 1) ^ 0x975a5889a78991b3
= 0x0021db68e5001925 ^ 0x975a5889a78991b3
= 0x977b83e142898896
D[1] = LeftRotation(C[2], 1) ^ C[0]
= LeftRotation(0x2d47d3d5554437d5, 1) ^ 0x86666dd037480b1a
= 0x5a8fa7aaaa886faa ^ 0x86666dd037480b1a
= 0xdce9ca7a9dc064b0
D[2] = LeftRotation(C[3], 1) ^ C[1]
= LeftRotation(0x61b6e28bcd83b059, 1) ^ 0x8010edb472800c92
= 0xc36dc5179b0760b2 ^ 0x8010edb472800c92
= 0x437d28a3e9876c20
D[3] = LeftRotation(C[4], 1) ^ C[2]
= LeftRotation(0x975a5889a78991b3, 1) ^ 0x2d47d3d5554437d5
= 0x2eb4b1134f132367 ^ 0x2d47d3d5554437d5
= 0x03f362c61a5714b2
D[4] = LeftRotation(C[0], 1) ^ C[3]
= LeftRotation(0x86666dd037480b1a, 1) ^ 0x61b6e28bcd83b059
= 0x0cccdba06e901635 ^ 0x61b6e28bcd83b059
= 0x6d7a392ba313a66c
A[0] = A[0] ^ D[0]
= 0xca4b1da70524e1b5 ^ 0x977b83e142898896
= 0x5d309e4647ad6923
A[5] = A[5] ^ D[0]
= 0x19f3e562f5649085 ^ 0x977b83e142898896
= 0x8e886683b7ed1813
A[10] = A[10] ^ D[0]
= 0x61176a621d841c0a ^ 0x977b83e142898896
= 0xf66ce9835f0d949c
A[15] = A[15] ^ D[0]
= 0x36faa284e51e14e0 ^ 0x977b83e142898896
= 0xa1812165a7979c76
A[20] = A[20] ^ D[0]
= 0x02335df33f9272c0 ^ 0x977b83e142898896
= 0x9548de127d1bfa56
A[1] = A[1] ^ D[1]
= 0x142a3fef048313d0 ^ 0xdce9ca7a9dc064b0
= 0xc8c3f59599437760
A[6] = A[6] ^ D[1]
= 0x148643b2df2e6fca ^ 0xdce9ca7a9dc064b0
= 0xc86f89c842ee0b7a
A[11] = A[11] ^ D[1]
= 0xa0727b0c4fe60917 ^ 0xdce9ca7a9dc064b0
= 0x7c9bb176d2266da7
A[16] = A[16] ^ D[1]
= 0xcbf0b03e9416d3c2 ^ 0xdce9ca7a9dc064b0
= 0x17197a4409d6b772
A[21] = A[21] ^ D[1]
= 0xeb3e5adb72ddaa5d ^ 0xdce9ca7a9dc064b0
= 0x37d790a1ef1dceed
A[2] = A[2] ^ D[2]
= 0xd484472dd3f73eb7 ^ 0x437d28a3e9876c20
= 0x97f96f8e3a705297
A[7] = A[7] ^ D[2]
= 0xb621b47fc93272a6 ^ 0x437d28a3e9876c20
= 0xf55c9cdc20b51e86
A[12] = A[12] ^ D[2]
= 0xc49faf2f03d67a02 ^ 0x437d28a3e9876c20
= 0x87e2878cea511622
A[17] = A[17] ^ D[2]
= 0xa6d156f40f0e8235 ^ 0x437d28a3e9876c20
= 0xe5ac7e57e689ee15
A[22] = A[22] ^ D[2]
= 0x2dacd95c435983f3 ^ 0x437d28a3e9876c20
= 0x6ed1f1ffaadeefd3
A[3] = A[3] ^ D[3]
= 0x622c272e0685e1c8 ^ 0x03f362c61a5714b2
= 0x61df45e81cd2f57a
A[8] = A[8] ^ D[3]
= 0x6d40a9e20c7c7e8f ^ 0x03f362c61a5714b2
= 0x6eb3cb24162b6a3d
A[13] = A[13] ^ D[3]
= 0x8614e5fd94a367c7 ^ 0x03f362c61a5714b2
= 0x85e7873b8ef47375
A[18] = A[18] ^ D[3]
= 0x65abcce25e95069a ^ 0x03f362c61a5714b2
= 0x6658ae2444c21228
A[23] = A[23] ^ D[3]
= 0x8d6545580d4c4e43 ^ 0x03f362c61a5714b2
= 0x8e96279e171b5af1
A[4] = A[4] ^ D[4]
= 0x7678335b8da6ed28 ^ 0x6d7a392ba313a66c
= 0x1b020a702eb54b44
A[9] = A[9] ^ D[4]
= 0x0f55d6f40446d3a7 ^ 0x6d7a392ba313a66c
= 0x622fefdfa75575cb
A[14] = A[14] ^ D[4]
= 0x68cebd8dfb75aedc ^ 0x6d7a392ba313a66c
= 0x05b484a6586608b0
A[19] = A[19] ^ D[4]
= 0x60aa33ec332bf908 ^ 0x6d7a392ba313a66c
= 0x0dd00ac790385f64
A[24] = A[24] ^ D[4]
= 0xe6133347e637f8e8 ^ 0x6d7a392ba313a66c
= 0x8b690a6c45245e84



round 12: after theta
A[0] = 0x5d309e4647ad6923
A[1] = 0xc8c3f59599437760
A[2] = 0x97f96f8e3a705297
A[3] = 0x61df45e81cd2f57a
A[4] = 0x1b020a702eb54b44
A[5] = 0x8e886683b7ed1813
A[6] = 0xc86f89c842ee0b7a
A[7] = 0xf55c9cdc20b51e86
A[8] = 0x6eb3cb24162b6a3d
A[9] = 0x622fefdfa75575cb
A[10] = 0xf66ce9835f0d949c
A[11] = 0x7c9bb176d2266da7
A[12] = 0x87e2878cea511622
A[13] = 0x85e7873b8ef47375
A[14] = 0x05b484a6586608b0
A[15] = 0xa1812165a7979c76
A[16] = 0x17197a4409d6b772
A[17] = 0xe5ac7e57e689ee15
A[18] = 0x6658ae2444c21228
A[19] = 0x0dd00ac790385f64
A[20] = 0x9548de127d1bfa56
A[21] = 0x37d790a1ef1dceed
A[22] = 0x6ed1f1ffaadeefd3
A[23] = 0x8e96279e171b5af1
A[24] = 0x8b690a6c45245e84



round 12: rho
A[0] = LeftRotation(A[0] , 0)
= LeftRotation(0x5d309e4647ad6923, 0)
= 0x5d309e4647ad6923
A[1] = LeftRotation(A[1] , 1)
= LeftRotation(0xc8c3f59599437760, 1)
= 0x9187eb2b3286eec1
A[2] = LeftRotation(A[2] , 62)
= LeftRotation(0x97f96f8e3a705297, 62)
= 0xe5fe5be38e9c14a5
A[3] = LeftRotation(A[3] , 28)
= LeftRotation(0x61df45e81cd2f57a, 28)
= 0x81cd2f57a61df45e
A[4] = LeftRotation(A[4] , 27)
= LeftRotation(0x1b020a702eb54b44, 27)
= 0x8175aa5a20d81053
A[5] = LeftRotation(A[5] , 36)
= LeftRotation(0x8e886683b7ed1813, 36)
= 0x7ed18138e886683b
A[6] = LeftRotation(A[6] , 44)
= LeftRotation(0xc86f89c842ee0b7a, 44)
= 0xe0b7ac86f89c842e
A[7] = LeftRotation(A[7] , 6)
= LeftRotation(0xf55c9cdc20b51e86, 6)
= 0x572737082d47a1bd
A[8] = LeftRotation(A[8] , 55)
= LeftRotation(0x6eb3cb24162b6a3d, 55)
= 0x1eb759e5920b15b5
A[9] = LeftRotation(A[9] , 20)
= LeftRotation(0x622fefdfa75575cb, 20)
= 0xfdfa75575cb622fe
A[10] = LeftRotation(A[10] , 3)
= LeftRotation(0xf66ce9835f0d949c, 3)
= 0xb3674c1af86ca4e7
A[11] = LeftRotation(A[11] , 10)
= LeftRotation(0x7c9bb176d2266da7, 10)
= 0x6ec5db4899b69df2
A[12] = LeftRotation(A[12] , 43)
= LeftRotation(0x87e2878cea511622, 43)
= 0x88b1143f143c6752
A[13] = LeftRotation(A[13] , 25)
= LeftRotation(0x85e7873b8ef47375, 25)
= 0x771de8e6eb0bcf0e
A[14] = LeftRotation(A[14] , 39)
= LeftRotation(0x05b484a6586608b0, 39)
= 0x33045802da42532c
A[15] = LeftRotation(A[15] , 41)
= LeftRotation(0xa1812165a7979c76, 41)
= 0x2f38ed430242cb4f
A[16] = LeftRotation(A[16] , 45)
= LeftRotation(0x17197a4409d6b772, 45)
= 0xd6ee42e32f48813a
A[17] = LeftRotation(A[17] , 15)
= LeftRotation(0xe5ac7e57e689ee15, 15)
= 0x3f2bf344f70af2d6
A[18] = LeftRotation(A[18] , 21)
= LeftRotation(0x6658ae2444c21228, 21)
= 0xc4889842450ccb15
A[19] = LeftRotation(A[19] , 8)
= LeftRotation(0x0dd00ac790385f64, 8)
= 0xd00ac790385f640d
A[20] = LeftRotation(A[20] , 18)
= LeftRotation(0x9548de127d1bfa56, 18)
= 0x7849f46fe95a5523
A[21] = LeftRotation(A[21] , 2)
= LeftRotation(0x37d790a1ef1dceed, 2)
= 0xdf5e4287bc773bb4
A[22] = LeftRotation(A[22] , 61)
= LeftRotation(0x6ed1f1ffaadeefd3, 61)
= 0x6dda3e3ff55bddfa
A[23] = LeftRotation(A[23] , 56)
= LeftRotation(0x8e96279e171b5af1, 56)
= 0xf18e96279e171b5a



round 12: after rho
A[0] = 0x5d309e4647ad6923
A[1] = 0x9187eb2b3286eec1
A[2] = 0xe5fe5be38e9c14a5
A[3] = 0x81cd2f57a61df45e
A[4] = 0x8175aa5a20d81053
A[5] = 0x7ed18138e886683b
A[6] = 0xe0b7ac86f89c842e
A[7] = 0x572737082d47a1bd
A[8] = 0x1eb759e5920b15b5
A[9] = 0xfdfa75575cb622fe
A[10] = 0xb3674c1af86ca4e7
A[11] = 0x6ec5db4899b69df2
A[12] = 0x88b1143f143c6752
A[13] = 0x771de8e6eb0bcf0e
A[14] = 0x33045802da42532c
A[15] = 0x2f38ed430242cb4f
A[16] = 0xd6ee42e32f48813a
A[17] = 0x3f2bf344f70af2d6
A[18] = 0xc4889842450ccb15
A[19] = 0xd00ac790385f640d
A[20] = 0x7849f46fe95a5523
A[21] = 0xdf5e4287bc773bb4
A[22] = 0x6dda3e3ff55bddfa
A[23] = 0xf18e96279e171b5a
A[24] = 0x429b114917a122da



round 12: pi
A1temp = A[1]
= 0x9187eb2b3286eec1
A[1] = A[6]
= 0xe0b7ac86f89c842e
A[6] = A[9]
= 0xfdfa75575cb622fe
A[9] = A[22]
= 0x6dda3e3ff55bddfa
A[22] = A[14]
= 0x33045802da42532c
A[14] = A[20]
= 0x7849f46fe95a5523
A[20] = A[2]
= 0xe5fe5be38e9c14a5
A[2] = A[12]
= 0x88b1143f143c6752
A[12] = A[13]
= 0x771de8e6eb0bcf0e
A[13] = A[19]
= 0xd00ac790385f640d
A[19] = A[23]
= 0xf18e96279e171b5a
A[23] = A[15]
= 0x2f38ed430242cb4f
A[15] = A[4]
= 0x8175aa5a20d81053
A[4] = A[24]
= 0x429b114917a122da
A[24] = A[21]
= 0xdf5e4287bc773bb4
A[21] = A[8]
= 0x1eb759e5920b15b5
A[8] = A[16]
= 0xd6ee42e32f48813a
A[16] = A[5]
= 0x7ed18138e886683b
A[5] = A[3]
= 0x81cd2f57a61df45e
A[3] = A[18]
= 0xc4889842450ccb15
A[18] = A[17]
= 0x3f2bf344f70af2d6
A[17] = A[11]
= 0x6ec5db4899b69df2
A[11] = A[7]
= 0x572737082d47a1bd
A[7] = A[10]
= 0xb3674c1af86ca4e7
A[10] = A1temp
= 0x9187eb2b3286eec1



round 12: after pi
A[0] = 0x5d309e4647ad6923
A[1] = 0xe0b7ac86f89c842e
A[2] = 0x88b1143f143c6752
A[3] = 0xc4889842450ccb15
A[4] = 0x429b114917a122da
A[5] = 0x81cd2f57a61df45e
A[6] = 0xfdfa75575cb622fe
A[7] = 0xb3674c1af86ca4e7
A[8] = 0xd6ee42e32f48813a
A[9] = 0x6dda3e3ff55bddfa
A[10] = 0x9187eb2b3286eec1
A[11] = 0x572737082d47a1bd
A[12] = 0x771de8e6eb0bcf0e
A[13] = 0xd00ac790385f640d
A[14] = 0x7849f46fe95a5523
A[15] = 0x8175aa5a20d81053
A[16] = 0x7ed18138e886683b
A[17] = 0x6ec5db4899b69df2
A[18] = 0x3f2bf344f70af2d6
A[19] = 0xf18e96279e171b5a
A[20] = 0xe5fe5be38e9c14a5
A[21] = 0x1eb759e5920b15b5
A[22] = 0x33045802da42532c
A[23] = 0x2f38ed430242cb4f
A[24] = 0xdf5e4287bc773bb4



round 12: chi
A0temp = A[0]
= 0x5d309e4647ad6923
A1temp = A[1]
= 0xe0b7ac86f89c842e
A[0] = A[0] ^ (~A1temp & A[2])
= 0x5d309e4647ad6923 ^ (~0xe0b7ac86f89c842e & 0x88b1143f143c6752)
= 0x5d309e4647ad6923 ^ (0x1f48537907637bd1 & 0x88b1143f143c6752)
= 0x5d309e4647ad6923 ^ 0x0800103904206350
= 0x55308e7f438d0a73
A[1] = A[1] ^ (~A[2] & A[3])
= 0xe0b7ac86f89c842e ^ (~0x88b1143f143c6752 & 0xc4889842450ccb15)
= 0xe0b7ac86f89c842e ^ (0x774eebc0ebc398ad & 0xc4889842450ccb15)
= 0xe0b7ac86f89c842e ^ 0x4408884041008805
= 0xe0b7ac86f89c842e
A[2] = A[2] ^ (~A[3] & A[4])
= 0x88b1143f143c6752 ^ (~0xc4889842450ccb15 & 0x429b114917a122da)
= 0x88b1143f143c6752 ^ (0x3b7767bdbaf334ea & 0x429b114917a122da)
= 0x88b1143f143c6752 ^ 0x0213010912a120ca
= 0x80801002040c4310
A[3] = A[3] ^ (~A[4] & A0temp)
= 0xc4889842450ccb15 ^ (~0x429b114917a122da & 0x5d309e4647ad6923)
= 0xc4889842450ccb15 ^ (0xbd64eeb6e85edd25 & 0x5d309e4647ad6923)
= 0xc4889842450ccb15 ^ 0x1d208e06400c4921
= 0x4ca89c7445108e15
A[4] = A[4] ^ (~A0temp & A1temp)
= 0x429b114917a122da ^ (~0x5d309e4647ad6923 & 0xe0b7ac86f89c842e)
= 0x429b114917a122da ^ (0xa2cf61b9b85296dc & 0xe0b7ac86f89c842e)
= 0x429b114917a122da ^ 0xa0872080b810840c
= 0xc21a117007b1248a
A5temp = A[5]
= 0x81cd2f57a61df45e
A6temp = A[6]
= 0xfdfa75575cb622fe
A[5] = A[5] ^ (~A6temp & A[7])
= 0x81cd2f57a61df45e ^ (~0xfdfa75575cb622fe & 0xb3674c1af86ca4e7)
= 0x81cd2f57a61df45e ^ (0x02058aa8a349dd01 & 0xb3674c1af86ca4e7)
= 0x81cd2f57a61df45e ^ 0x02050808a0488401
= 0x83c8275f0655705f
A[6] = A[6] ^ (~A[7] & A[8])
= 0xfdfa75575cb622fe ^ (~0xb3674c1af86ca4e7 & 0xd6ee42e32f48813a)
= 0xfdfa75575cb622fe ^ (0x4c98b3e507935b18 & 0xd6ee42e32f48813a)
= 0xfdfa75575cb622fe ^ 0x448802e107000118
= 0xfdfa75575cb622fe
A[7] = A[7] ^ (~A[8] & A[9])
= 0xb3674c1af86ca4e7 ^ (~0xd6ee42e32f48813a & 0x6dda3e3ff55bddfa)
= 0xb3674c1af86ca4e7 ^ (0x2911bd1cd0b77ec5 & 0x6dda3e3ff55bddfa)
= 0xb3674c1af86ca4e7 ^ 0x29103c1cd0135cc0
= 0x9266400228488022
A[8] = A[8] ^ (~A[9] & A5temp)
= 0xd6ee42e32f48813a ^ (~0x6dda3e3ff55bddfa & 0x81cd2f57a61df45e)
= 0xd6ee42e32f48813a ^ (0x9225c1c00aa42205 & 0x81cd2f57a61df45e)
= 0xd6ee42e32f48813a ^ 0x8005014002042004
= 0x44cb02e3276ca13f
A[9] = A[9] ^ (~A5temp & A6temp)
= 0x6dda3e3ff55bddfa ^ (~0x81cd2f57a61df45e & 0xfdfa75575cb622fe)
= 0x6dda3e3ff55bddfa ^ (0x7e32d0a859e20ba1 & 0xfdfa75575cb622fe)
= 0x6dda3e3ff55bddfa ^ 0x7c32500058a202a0
= 0x5ff87e37ad3bdd5b
A10temp = A[10]
= 0x9187eb2b3286eec1
A11temp = A[11]
= 0x572737082d47a1bd
A[10] = A[10] ^ (~A11temp & A[12])
= 0x9187eb2b3286eec1 ^ (~0x572737082d47a1bd & 0x771de8e6eb0bcf0e)
= 0x9187eb2b3286eec1 ^ (0xa8d8c8f7d2b85e42 & 0x771de8e6eb0bcf0e)
= 0x9187eb2b3286eec1 ^ 0x2018c8e6c2084e02
= 0xb19f23cdf08ea0c3
A[11] = A[11] ^ (~A[12] & A[13])
= 0x572737082d47a1bd ^ (~0x771de8e6eb0bcf0e & 0xd00ac790385f640d)
= 0x572737082d47a1bd ^ (0x88e2171914f430f1 & 0xd00ac790385f640d)
= 0x572737082d47a1bd ^ 0x8002071010542001
= 0x572737082d47a1bd
A[12] = A[12] ^ (~A[13] & A[14])
= 0x771de8e6eb0bcf0e ^ (~0xd00ac790385f640d & 0x7849f46fe95a5523)
= 0x771de8e6eb0bcf0e ^ (0x2ff5386fc7a09bf2 & 0x7849f46fe95a5523)
= 0x771de8e6eb0bcf0e ^ 0x2841306fc1001122
= 0x5008c080280b440c
A[13] = A[13] ^ (~A[14] & A10temp)
= 0xd00ac790385f640d ^ (~0x7849f46fe95a5523 & 0x9187eb2b3286eec1)
= 0xd00ac790385f640d ^ (0x87b60b9016a5aadc & 0x9187eb2b3286eec1)
= 0xd00ac790385f640d ^ 0x81860b001284aac0
= 0xd71ecf103a5eee01
A[14] = A[14] ^ (~A10temp & A11temp)
= 0x7849f46fe95a5523 ^ (~0x9187eb2b3286eec1 & 0x572737082d47a1bd)
= 0x7849f46fe95a5523 ^ (0x6e7814d4cd79113e & 0x572737082d47a1bd)
= 0x7849f46fe95a5523 ^ 0x462014000d41013c
= 0x1e51f4ab2053542d
A15temp = A[15]
= 0x8175aa5a20d81053
A16temp = A[16]
= 0x7ed18138e886683b
A[15] = A[15] ^ (~A16temp & A[17])
= 0x8175aa5a20d81053 ^ (~0x7ed18138e886683b & 0x6ec5db4899b69df2)
= 0x8175aa5a20d81053 ^ (0x812e7ec7177997c4 & 0x6ec5db4899b69df2)
= 0x8175aa5a20d81053 ^ 0x00045a40113095c0
= 0x8171f01a31e88593
A[16] = A[16] ^ (~A[17] & A[18])
= 0x7ed18138e886683b ^ (~0x6ec5db4899b69df2 & 0x3f2bf344f70af2d6)
= 0x7ed18138e886683b ^ (0x913a24b76649620d & 0x3f2bf344f70af2d6)
= 0x7ed18138e886683b ^ 0x112a200466086204
= 0x7ed18138e886683b
A[17] = A[17] ^ (~A[18] & A[19])
= 0x6ec5db4899b69df2 ^ (~0x3f2bf344f70af2d6 & 0xf18e96279e171b5a)
= 0x6ec5db4899b69df2 ^ (0xc0d40cbb08f50d29 & 0xf18e96279e171b5a)
= 0x6ec5db4899b69df2 ^ 0xc084042308150908
= 0x2e01d340910290d2
A[18] = A[18] ^ (~A[19] & A15temp)
= 0x3f2bf344f70af2d6 ^ (~0xf18e96279e171b5a & 0x8175aa5a20d81053)
= 0x3f2bf344f70af2d6 ^ (0x0e7169d861e8e4a5 & 0x8175aa5a20d81053)
= 0x3f2bf344f70af2d6 ^ 0x0071285820c80001
= 0x316aba0cf6aa7676
A[19] = A[19] ^ (~A15temp & A16temp)
= 0xf18e96279e171b5a ^ (~0x8175aa5a20d81053 & 0x7ed18138e886683b)
= 0xf18e96279e171b5a ^ (0x7e8a55a5df27efac & 0x7ed18138e886683b)
= 0xf18e96279e171b5a ^ 0x7e800120c8066828
= 0x9f0ec727073196fa
A20temp = A[20]
= 0xe5fe5be38e9c14a5
A21temp = A[21]
= 0x1eb759e5920b15b5
A[20] = A[20] ^ (~A21temp & A[22])
= 0xe5fe5be38e9c14a5 ^ (~0x1eb759e5920b15b5 & 0x33045802da42532c)
= 0xe5fe5be38e9c14a5 ^ (0xe148a61a6df4ea4a & 0x33045802da42532c)
= 0xe5fe5be38e9c14a5 ^ 0x2100000248404208
= 0xc4fe5be1c6dc56ad
A[21] = A[21] ^ (~A[22] & A[23])
= 0x1eb759e5920b15b5 ^ (~0x33045802da42532c & 0x2f38ed430242cb4f)
= 0x1eb759e5920b15b5 ^ (0xccfba7fd25bdacd3 & 0x2f38ed430242cb4f)
= 0x1eb759e5920b15b5 ^ 0x0c38a54100008843
= 0x1eb759e5920b15b5
A[22] = A[22] ^ (~A[23] & A[24])
= 0x33045802da42532c ^ (~0x2f38ed430242cb4f & 0xdf5e4287bc773bb4)
= 0x33045802da42532c ^ (0xd0c712bcfdbd34b0 & 0xdf5e4287bc773bb4)
= 0x33045802da42532c ^ 0xd0460284bc3530b0
= 0x230048020242430c
A[23] = A[23] ^ (~A[24] & A20temp)
= 0x2f38ed430242cb4f ^ (~0xdf5e4287bc773bb4 & 0xe5fe5be38e9c14a5)
= 0x2f38ed430242cb4f ^ (0x20a1bd784388c44b & 0xe5fe5be38e9c14a5)
= 0x2f38ed430242cb4f ^ 0x20a0196002880401
= 0x0f38f54340428b47
A[24] = A[24] ^ (~A20temp & A21temp)
= 0xdf5e4287bc773bb4 ^ (~0xe5fe5be38e9c14a5 & 0x1eb759e5920b15b5)
= 0xdf5e4287bc773bb4 ^ (0x1a01a41c7163eb5a & 0x1eb759e5920b15b5)
= 0xdf5e4287bc773bb4 ^ 0x1a01000410030110
= 0xcd5e4287ec3578bc



round 12: after chi
A[0] = 0x55308e7f438d0a73
A[1] = 0xa4bf24c6b99c0c2b
A[2] = 0x8aa21536069d4798
A[3] = 0xd9a8164405008234
A[4] = 0xe21c31c9afb1a6d6
A[5] = 0x83c8275f0655705f
A[6] = 0xb97277b65bb623e6
A[7] = 0x9a777006287ff827
A[8] = 0x56eb43a32d4ca13e
A[9] = 0x11e86e3fadf9df5a
A[10] = 0xb19f23cdf08ea0c3
A[11] = 0xd72530183d1381bc
A[12] = 0x5f5cd8892a0bde2c
A[13] = 0x518ccc902adbcecd
A[14] = 0x3e69e06fe41b541f
A[15] = 0x8171f01a31e88593
A[16] = 0x6ffba13c8e8e0a3f
A[17] = 0xae41df6b91a394fa
A[18] = 0x3f5adb1cd7c2f2d7
A[19] = 0x8f0e970756117372
A[20] = 0xc4fe5be1c6dc56ad
A[21] = 0x128ffca4920b9df6
A[22] = 0xe3425a866677639c
A[23] = 0x0f98f42300cacf4e
A[24] = 0xc55f4283ac743aa4



round 12: iota
A[0] = A[0] ^ rc[12]
= 0x55308e7f438d0a73 ^ 0x000000008000808b
= 0x55308e7fc38d8af8



round 12: after iota
A[0] = 0x55308e7fc38d8af8
A[1] = 0xa4bf24c6b99c0c2b
A[2] = 0x8aa21536069d4798
A[3] = 0xd9a8164405008234
A[4] = 0xe21c31c9afb1a6d6
A[5] = 0x83c8275f0655705f
A[6] = 0xb97277b65bb623e6
A[7] = 0x9a777006287ff827
A[8] = 0x56eb43a32d4ca13e
A[9] = 0x11e86e3fadf9df5a
A[10] = 0xb19f23cdf08ea0c3
A[11] = 0xd72530183d1381bc
A[12] = 0x5f5cd8892a0bde2c
A[13] = 0x518ccc902adbcecd
A[14] = 0x3e69e06fe41b541f
A[15] = 0x8171f01a31e88593
A[16] = 0x6ffba13c8e8e0a3f
A[17] = 0xae41df6b91a394fa
A[18] = 0x3f5adb1cd7c2f2d7
A[19] = 0x8f0e970756117372
A[20] = 0xc4fe5be1c6dc56ad
A[21] = 0x128ffca4920b9df6
A[22] = 0xe3425a866677639c
A[23] = 0x0f98f42300cacf4e
A[24] = 0xc55f4283ac743aa4