Table of Contents |
Key Schedule |
Unexpanded key, M, Me, Mo, M64, S vectors |
K0, K1 | K2, K3 | K4, K5 | K6, K7 | K8, K9 | K10, K11 | K12, K13 | K14, K15 | K16, K17 | K18, K19 |
K20, K21 | K22, K23 | K24, K25 | K26, K27 | K28, K29 | K30, K31 | K32, K33 | K34, K35 | K36, K37 | K38, K39 |
Summary listing of the 40 expanded key words |
Encryption of plaintext block 1 |
Encryption start | Encryption CBC xor | Encryption input whiten |
r=0 | r=1 | r=2 | r=3 | r=4 | r=5 | r=6 | r=7 | r=8 | r=9 | r=10 | r=11 | r=12 | r=13 | r=14 | r=15 |
Encryption output whiten | Ciphertext result |
Encryption of plaintext block 2 |
Encryption start | Encryption CBC xor | Encryption input whiten |
r=0 | r=1 | r=2 | r=3 | r=4 | r=5 | r=6 | r=7 | r=8 | r=9 | r=10 | r=11 | r=12 | r=13 | r=14 | r=15 |
Encryption output whiten | Ciphertext result |
Encryption of plaintext block 3 |
Encryption start | Encryption CBC xor | Encryption input whiten |
r=0 | r=1 | r=2 | r=3 | r=4 | r=5 | r=6 | r=7 | r=8 | r=9 | r=10 | r=11 | r=12 | r=13 | r=14 | r=15 |
Encryption output whiten | Ciphertext result |
Encryption of plaintext block 4 |
Encryption start | Encryption CBC xor | Encryption input whiten |
r=0 | r=1 | r=2 | r=3 | r=4 | r=5 | r=6 | r=7 | r=8 | r=9 | r=10 | r=11 | r=12 | r=13 | r=14 | r=15 |
Encryption output whiten | Ciphertext result |
Decryption of ciphertext block 1 |
Decryption start | Decryption input unwhiten |
r=15 | r=14 | r=13 | r=12 | r=11 | r=10 | r=9 | r=8 | r=7 | r=6 | r=5 | r=4 | r=3 | r=2 | r=1 | r=0 |
Decryption output unwhiten | Decryption CBC xor | Plaintext result |
Decryption of ciphertext block 2 |
Decryption start | Decryption input unwhiten |
r=15 | r=14 | r=13 | r=12 | r=11 | r=10 | r=9 | r=8 | r=7 | r=6 | r=5 | r=4 | r=3 | r=2 | r=1 | r=0 |
Decryption output unwhiten | Decryption CBC xor | Plaintext result |
Decryption of ciphertext block 3 |
Decryption start | Decryption input unwhiten |
r=15 | r=14 | r=13 | r=12 | r=11 | r=10 | r=9 | r=8 | r=7 | r=6 | r=5 | r=4 | r=3 | r=2 | r=1 | r=0 |
Decryption output unwhiten | Decryption CBC xor | Plaintext result |
Decryption of ciphertext block 4 |
Decryption start | Decryption input unwhiten |
r=15 | r=14 | r=13 | r=12 | r=11 | r=10 | r=9 | r=8 | r=7 | r=6 | r=5 | r=4 | r=3 | r=2 | r=1 | r=0 |
Decryption output unwhiten | Decryption CBC xor | Plaintext result |
Unexpanded Key, M, Me, Mo, M64, S word vectors |
key = m0m1m2m3m4m5m6m7m8m9m10m11m12m13m14m15 = 9f589f5cf6122c32b6bfec2f2ae8c35a |
m0=9f | m1=58 | m2=9f | m3=5c | m4=f6 | m5=12 | m6=2c | m7=32 | m8=b6 | m9=bf | m10=ec | m11=2f | m12=2a | m13=e8 | m14=c3 | m15=5a |
Me0 = M0 = m0m1m2m3 = 9f589f5c | Me1 = M2 = m8m9m10m11 = b6bfec2f |
Mo0 = M1 = m4m5m6m7 = f6122c32 | Mo1 = M3 = m12m13m14m15 = 2ae8c35a |
le0,0 = m0 = 9f | le0,1 = m1 = 58 | le0,2 = m2 = 9f | le0,3 = m3 = 5c | le1,0 = m8 = b6 | le1,1 = m9 = bf | le1,2 = m10 = ec | le1,3 = m11 = 2f |
lo0,0 = m4 = f6 | lo0,1 = m5 = 12 | lo0,2 = m6 = 2c | lo0,3 = m7 = 32 | lo1,0 = m12 = 2a | lo1,1 = m13 = e8 | lo1,2 = m14 = c3 | lo1,3 = m15 = 5a |
M640 = M0M1 = m0m1m2m3m4m5m6m7 = 9f589f5cf6122c32 | M641 = M2M3 = m8m9m10m11m12m13m14m15 = b6bfec2f2ae8c35a |
Pre S list reversal: | s0,0 = 18 | s0,1 = 8a | s0,2 = 9c | s0,3 = 14 | s1,0 = 81 | s1,1 = 8b | s1,2 = 53 | s1,3 = dc |
S0 = s0,0s0,1s0,2s0,3 = 188a9c14 | S1 = s1,0s1,1s1,2s1,3 = 818b53dc |
Post S list reversal: | s0,0 = 81 | s0,1 = 8b | s0,2 = 53 | s0,3 = dc | s1,0 = 18 | s1,1 = 8a | s1,2 = 9c | s1,3 = 14 |
S0 = s0,0s0,1s0,2s0,3 = 818b53dc | S1 = s1,0s1,1s1,2s1,3 = 188a9c14 |
Key Schedule: K0 and K1 |
i = 0 | i = 0 |
h input = X = x0x1x2x3 = 2ip = 00000000 | h input = X = x0x1x2x3 = (2i+1)p = 01010101 |
x0 = 00 | x1 = 00 | x2 = 00 | x3 = 00 | x0 = 01 | x1 = 01 | x2 = 01 | x3 = 01 |
y2,0 = 00 | y2,1 = 00 | y2,2 = 00 | y2,3 = 00 | y2,0 = 01 | y2,1 = 01 | y2,2 = 01 | y2,3 = 01 |
|
|
|
|
|
|
|
|
y0 = 9e | y1 = c8 | y2 = 91 | y3 = 15 | y0 = c4 | y1 = d9 | y2 = 94 | y3 = c6 |
MDS input = Y = y0y1y2y3 = 9ec89115 | MDS input = Y = y0y1y2y3 = c4d994c6 |
MDS output = Z = z0z1z2z3 = a595ddd3 | MDS output = Z = z0z1z2z3 = 5ba596f6 |
z0 = a5 | z1 = 95 | z2 = dd | z3 = d3 | z0 = 5b | z1 = a5 | z2 = 96 | z3 = f6 |
A0 = h(2pi, Me) = a595ddd3 |
|
|
|
Key Schedule: K2 and K3 |
i = 1 | i = 1 |
h input = X = x0x1x2x3 = 2ip = 02020202 | h input = X = x0x1x2x3 = (2i+1)p = 03030303 |
x0 = 02 | x1 = 02 | x2 = 02 | x3 = 02 | x0 = 03 | x1 = 03 | x2 = 03 | x3 = 03 |
y2,0 = 02 | y2,1 = 02 | y2,2 = 02 | y2,3 = 02 | y2,0 = 03 | y2,1 = 03 | y2,2 = 03 | y2,3 = 03 |
|
|
|
|
|
|
|
|
y0 = 20 | y1 = 93 | y2 = 9d | y3 = c1 | y0 = e9 | y1 = c8 | y2 = ae | y3 = 17 |
MDS input = Y = y0y1y2y3 = 20939dc1 | MDS input = Y = y0y1y2y3 = e9c8ae17 |
MDS output = Z = z0z1z2z3 = cf57831a | MDS output = Z = z0z1z2z3 = ba665e1b |
z0 = cf | z1 = 57 | z2 = 83 | z3 = 1a | z0 = ba | z1 = 66 | z2 = 5e | z3 = 1b |
A1 = h(2pi, Me) = cf57831a |
|
|
|
Key Schedule: K4 and K5 |
i = 2 | i = 2 |
h input = X = x0x1x2x3 = 2ip = 04040404 | h input = X = x0x1x2x3 = (2i+1)p = 05050505 |
x0 = 04 | x1 = 04 | x2 = 04 | x3 = 04 | x0 = 05 | x1 = 05 | x2 = 05 | x3 = 05 |
y2,0 = 04 | y2,1 = 04 | y2,2 = 04 | y2,3 = 04 | y2,0 = 05 | y2,1 = 05 | y2,2 = 05 | y2,3 = 05 |
|
|
|
|
|
|
|
|
y0 = 24 | y1 = ce | y2 = d1 | y3 = e4 | y0 = 3d | y1 = fe | y2 = f8 | y3 = 41 |
MDS input = Y = y0y1y2y3 = 24ced1e4 | MDS input = Y = y0y1y2y3 = 3dfef841 |
MDS output = Z = z0z1z2z3 = 6884084f | MDS output = Z = z0z1z2z3 = fa99d08d |
z0 = 68 | z1 = 84 | z2 = 08 | z3 = 4f | z0 = fa | z1 = 99 | z2 = d0 | z3 = 8d |
A2 = h(2pi, Me) = 6884084f |
|
|
|
Key Schedule: K6 and K7 |
i = 3 | i = 3 |
h input = X = x0x1x2x3 = 2ip = 06060606 | h input = X = x0x1x2x3 = (2i+1)p = 07070707 |
x0 = 06 | x1 = 06 | x2 = 06 | x3 = 06 | x0 = 07 | x1 = 07 | x2 = 07 | x3 = 07 |
y2,0 = 06 | y2,1 = 06 | y2,2 = 06 | y2,3 = 06 | y2,0 = 07 | y2,1 = 07 | y2,2 = 07 | y2,3 = 07 |
|
|
|
|
|
|
|
|
y0 = 03 | y1 = 59 | y2 = fd | y3 = fd | y0 = ae | y1 = 6e | y2 = 79 | y3 = 18 |
MDS input = Y = y0y1y2y3 = 0359fdfd | MDS input = Y = y0y1y2y3 = ae6e7918 |
MDS output = Z = z0z1z2z3 = 8ecfe2cb | MDS output = Z = z0z1z2z3 = 7b6acca3 |
z0 = 8e | z1 = cf | z2 = e2 | z3 = cb | z0 = 7b | z1 = 6a | z2 = cc | z3 = a3 |
A3 = h(2pi, Me) = 8ecfe2cb |
|
|
|
Key Schedule: K8 and K9 |
i = 4 | i = 4 |
h input = X = x0x1x2x3 = 2ip = 08080808 | h input = X = x0x1x2x3 = (2i+1)p = 09090909 |
x0 = 08 | x1 = 08 | x2 = 08 | x3 = 08 | x0 = 09 | x1 = 09 | x2 = 09 | x3 = 09 |
y2,0 = 08 | y2,1 = 08 | y2,2 = 08 | y2,3 = 08 | y2,0 = 09 | y2,1 = 09 | y2,2 = 09 | y2,3 = 09 |
|
|
|
|
|
|
|
|
y0 = 40 | y1 = fd | y2 = 3a | y3 = 59 | y0 = 85 | y1 = d6 | y2 = e5 | y3 = c0 |
MDS input = Y = y0y1y2y3 = 40fd3a59 | MDS input = Y = y0y1y2y3 = 85d6e5c0 |
MDS output = Z = z0z1z2z3 = 87c65f05 | MDS output = Z = z0z1z2z3 = cf422a6e |
z0 = 87 | z1 = c6 | z2 = 5f | z3 = 05 | z0 = cf | z1 = 42 | z2 = 2a | z3 = 6e |
A4 = h(2pi, Me) = 87c65f05 |
|
|
|
Key Schedule: K10 and K11 |
i = 5 | i = 5 |
h input = X = x0x1x2x3 = 2ip = 0a0a0a0a | h input = X = x0x1x2x3 = (2i+1)p = 0b0b0b0b |
x0 = 0a | x1 = 0a | x2 = 0a | x3 = 0a | x0 = 0b | x1 = 0b | x2 = 0b | x3 = 0b |
y2,0 = 0a | y2,1 = 0a | y2,2 = 0a | y2,3 = 0a | y2,0 = 0b | y2,1 = 0b | y2,2 = 0b | y2,3 = 0b |
|
|
|
|
|
|
|
|
y0 = db | y1 = 1f | y2 = dc | y3 = 97 | y0 = 10 | y1 = e0 | y2 = 97 | y3 = 05 |
MDS input = Y = y0y1y2y3 = db1fdc97 | MDS input = Y = y0y1y2y3 = 10e09705 |
MDS output = Z = z0z1z2z3 = 215c531c | MDS output = Z = z0z1z2z3 = ba1abb01 |
z0 = 21 | z1 = 5c | z2 = 53 | z3 = 1c | z0 = ba | z1 = 1a | z2 = bb | z3 = 01 |
A5 = h(2pi, Me) = 215c531c |
|
|
|
Key Schedule: K12 and K13 |
i = 6 | i = 6 |
h input = X = x0x1x2x3 = 2ip = 0c0c0c0c | h input = X = x0x1x2x3 = (2i+1)p = 0d0d0d0d |
x0 = 0c | x1 = 0c | x2 = 0c | x3 = 0c | x0 = 0d | x1 = 0d | x2 = 0d | x3 = 0d |
y2,0 = 0c | y2,1 = 0c | y2,2 = 0c | y2,3 = 0c | y2,0 = 0d | y2,1 = 0d | y2,2 = 0d | y2,3 = 0d |
|
|
|
|
|
|
|
|
y0 = ae | y1 = 62 | y2 = a8 | y3 = e2 | y0 = f6 | y1 = b4 | y2 = b1 | y3 = 64 |
MDS input = Y = y0y1y2y3 = ae62a8e2 | MDS input = Y = y0y1y2y3 = f6b4b164 |
MDS output = Z = z0z1z2z3 = bdfa1fbc | MDS output = Z = z0z1z2z3 = 8ff363e6 |
z0 = bd | z1 = fa | z2 = 1f | z3 = bc | z0 = 8f | z1 = f3 | z2 = 63 | z3 = e6 |
A6 = h(2pi, Me) = bdfa1fbc |
|
|
|
Key Schedule: K14 and K15 |
i = 7 | i = 7 |
h input = X = x0x1x2x3 = 2ip = 0e0e0e0e | h input = X = x0x1x2x3 = (2i+1)p = 0f0f0f0f |
x0 = 0e | x1 = 0e | x2 = 0e | x3 = 0e | x0 = 0f | x1 = 0f | x2 = 0f | x3 = 0f |
y2,0 = 0e | y2,1 = 0e | y2,2 = 0e | y2,3 = 0e | y2,0 = 0f | y2,1 = 0f | y2,2 = 0f | y2,3 = 0f |
|
|
|
|
|
|
|
|
y0 = 00 | y1 = e3 | y2 = 52 | y3 = 9d | y0 = fe | y1 = 4a | y2 = a4 | y3 = a9 |
MDS input = Y = y0y1y2y3 = 00e3529d | MDS input = Y = y0y1y2y3 = fe4aa4a9 |
MDS output = Z = z0z1z2z3 = e2b67dd8 | MDS output = Z = z0z1z2z3 = 63ca7b46 |
z0 = e2 | z1 = b6 | z2 = 7d | z3 = d8 | z0 = 63 | z1 = ca | z2 = 7b | z3 = 46 |
A7 = h(2pi, Me) = e2b67dd8 |
|
|
|
Key Schedule: K16 and K17 |
i = 8 | i = 8 |
h input = X = x0x1x2x3 = 2ip = 10101010 | h input = X = x0x1x2x3 = (2i+1)p = 11111111 |
x0 = 10 | x1 = 10 | x2 = 10 | x3 = 10 | x0 = 11 | x1 = 11 | x2 = 11 | x3 = 11 |
y2,0 = 10 | y2,1 = 10 | y2,2 = 10 | y2,3 = 10 | y2,0 = 11 | y2,1 = 11 | y2,2 = 11 | y2,3 = 11 |
|
|
|
|
|
|
|
|
y0 = f0 | y1 = 82 | y2 = 3b | y3 = c5 | y0 = b1 | y1 = 63 | y2 = 70 | y3 = 01 |
MDS input = Y = y0y1y2y3 = f0823bc5 | MDS input = Y = y0y1y2y3 = b1637001 |
MDS output = Z = z0z1z2z3 = d22ce1ea | MDS output = Z = z0z1z2z3 = 96822147 |
z0 = d2 | z1 = 2c | z2 = e1 | z3 = ea | z0 = 96 | z1 = 82 | z2 = 21 | z3 = 47 |
A8 = h(2pi, Me) = d22ce1ea |
|
|
|
Key Schedule: K18 and K19 |
i = 9 | i = 9 |
h input = X = x0x1x2x3 = 2ip = 12121212 | h input = X = x0x1x2x3 = (2i+1)p = 13131313 |
x0 = 12 | x1 = 12 | x2 = 12 | x3 = 12 | x0 = 13 | x1 = 13 | x2 = 13 | x3 = 13 |
y2,0 = 12 | y2,1 = 12 | y2,2 = 12 | y2,3 = 12 | y2,0 = 13 | y2,1 = 13 | y2,2 = 13 | y2,3 = 13 |
|
|
|
|
|
|
|
|
y0 = aa | y1 = de | y2 = 6e | y3 = 0a | y0 = 74 | y1 = bc | y2 = ab | y3 = 2e |
MDS input = Y = y0y1y2y3 = aade6e0a | MDS input = Y = y0y1y2y3 = 74bcab2e |
MDS output = Z = z0z1z2z3 = e5faebf5 | MDS output = Z = z0z1z2z3 = 4704edf0 |
z0 = e5 | z1 = fa | z2 = eb | z3 = f5 | z0 = 47 | z1 = 04 | z2 = ed | z3 = f0 |
A9 = h(2pi, Me) = e5faebf5 |
|
|
|
Key Schedule: K20 and K21 |
i = a | i = a |
h input = X = x0x1x2x3 = 2ip = 14141414 | h input = X = x0x1x2x3 = (2i+1)p = 15151515 |
x0 = 14 | x1 = 14 | x2 = 14 | x3 = 14 | x0 = 15 | x1 = 15 | x2 = 15 | x3 = 15 |
y2,0 = 14 | y2,1 = 14 | y2,2 = 14 | y2,3 = 14 | y2,0 = 15 | y2,1 = 15 | y2,2 = 15 | y2,3 = 15 |
|
|
|
|
|
|
|
|
y0 = f6 | y1 = 75 | y2 = 69 | y3 = 33 | y0 = 61 | y1 = 27 | y2 = 88 | y3 = 16 |
MDS input = Y = y0y1y2y3 = f6756933 | MDS input = Y = y0y1y2y3 = 61278816 |
MDS output = Z = z0z1z2z3 = b2592309 | MDS output = Z = z0z1z2z3 = 0bbc43c9 |
z0 = b2 | z1 = 59 | z2 = 23 | z3 = 09 | z0 = 0b | z1 = bc | z2 = 43 | z3 = c9 |
A10 = h(2pi, Me) = b2592309 |
|
|
|
Key Schedule: K22 and K23 |
i = b | i = b |
h input = X = x0x1x2x3 = 2ip = 16161616 | h input = X = x0x1x2x3 = (2i+1)p = 17171717 |
x0 = 16 | x1 = 16 | x2 = 16 | x3 = 16 | x0 = 17 | x1 = 17 | x2 = 17 | x3 = 17 |
y2,0 = 16 | y2,1 = 16 | y2,2 = 16 | y2,3 = 16 | y2,0 = 17 | y2,1 = 17 | y2,2 = 17 | y2,3 = 17 |
|
|
|
|
|
|
|
|
y0 = c4 | y1 = dc | y2 = 0d | y3 = ff | y0 = 15 | y1 = a1 | y2 = 9f | y3 = cf |
MDS input = Y = y0y1y2y3 = c4dc0dff | MDS input = Y = y0y1y2y3 = 15a19fcf |
MDS output = Z = z0z1z2z3 = 3b699483 | MDS output = Z = z0z1z2z3 = 661f79ea |
z0 = 3b | z1 = 69 | z2 = 94 | z3 = 83 | z0 = 66 | z1 = 1f | z2 = 79 | z3 = ea |
A11 = h(2pi, Me) = 3b699483 |
|
|
|
Key Schedule: K24 and K25 |
i = c | i = c |
h input = X = x0x1x2x3 = 2ip = 18181818 | h input = X = x0x1x2x3 = (2i+1)p = 19191919 |
x0 = 18 | x1 = 18 | x2 = 18 | x3 = 18 | x0 = 19 | x1 = 19 | x2 = 19 | x3 = 19 |
y2,0 = 18 | y2,1 = 18 | y2,2 = 18 | y2,3 = 18 | y2,0 = 19 | y2,1 = 19 | y2,2 = 19 | y2,3 = 19 |
|
|
|
|
|
|
|
|
y0 = b6 | y1 = b8 | y2 = 9e | y3 = b5 | y0 = ba | y1 = 2b | y2 = 41 | y3 = 24 |
MDS input = Y = y0y1y2y3 = b6b89eb5 | MDS input = Y = y0y1y2y3 = ba2b4124 |
MDS output = Z = z0z1z2z3 = b312504c | MDS output = Z = z0z1z2z3 = f2f5cce4 |
z0 = b3 | z1 = 12 | z2 = 50 | z3 = 4c | z0 = f2 | z1 = f5 | z2 = cc | z3 = e4 |
A12 = h(2pi, Me) = b312504c |
|
|
|
Key Schedule: K26 and K27 |
i = d | i = d |
h input = X = x0x1x2x3 = 2ip = 1a1a1a1a | h input = X = x0x1x2x3 = (2i+1)p = 1b1b1b1b |
x0 = 1a | x1 = 1a | x2 = 1a | x3 = 1a | x0 = 1b | x1 = 1b | x2 = 1b | x3 = 1b |
y2,0 = 1a | y2,1 = 1a | y2,2 = 1a | y2,3 = 1a | y2,0 = 1b | y2,1 = 1b | y2,2 = 1b | y2,3 = 1b |
|
|
|
|
|
|
|
|
y0 = a1 | y1 = 45 | y2 = 1f | y3 = 3f | y0 = d8 | y1 = de | y2 = 16 | y3 = aa |
MDS input = Y = y0y1y2y3 = a1451f3f | MDS input = Y = y0y1y2y3 = d8de16aa |
MDS output = Z = z0z1z2z3 = 113953e1 | MDS output = Z = z0z1z2z3 = 79daa8c4 |
z0 = 11 | z1 = 39 | z2 = 53 | z3 = e1 | z0 = 79 | z1 = da | z2 = a8 | z3 = c4 |
A13 = h(2pi, Me) = 113953e1 |
|
|
|
Key Schedule: K28 and K29 |
i = e | i = e |
h input = X = x0x1x2x3 = 2ip = 1c1c1c1c | h input = X = x0x1x2x3 = (2i+1)p = 1d1d1d1d |
x0 = 1c | x1 = 1c | x2 = 1c | x3 = 1c | x0 = 1d | x1 = 1d | x2 = 1d | x3 = 1d |
y2,0 = 1c | y2,1 = 1c | y2,2 = 1c | y2,3 = 1c | y2,0 = 1d | y2,1 = 1d | y2,2 = 1d | y2,3 = 1d |
|
|
|
|
|
|
|
|
y0 = e0 | y1 = c1 | y2 = 2b | y3 = 73 | y0 = fa | y1 = 23 | y2 = 7b | y3 = 00 |
MDS input = Y = y0y1y2y3 = e0c12b73 | MDS input = Y = y0y1y2y3 = fa237b00 |
MDS output = Z = z0z1z2z3 = d1ba2486 | MDS output = Z = z0z1z2z3 = 1112b32c |
z0 = d1 | z1 = ba | z2 = 24 | z3 = 86 | z0 = 11 | z1 = 12 | z2 = b3 | z3 = 2c |
A14 = h(2pi, Me) = d1ba2486 |
|
|
|
Key Schedule: K30 and K31 |
i = f | i = f |
h input = X = x0x1x2x3 = 2ip = 1e1e1e1e | h input = X = x0x1x2x3 = (2i+1)p = 1f1f1f1f |
x0 = 1e | x1 = 1e | x2 = 1e | x3 = 1e | x0 = 1f | x1 = 1f | x2 = 1f | x3 = 1f |
y2,0 = 1e | y2,1 = 1e | y2,2 = 1e | y2,3 = 1e | y2,0 = 1f | y2,1 = 1f | y2,2 = 1f | y2,3 = 1f |
|
|
|
|
|
|
|
|
y0 = 37 | y1 = 23 | y2 = 97 | y3 = 93 | y0 = e4 | y1 = fb | y2 = a0 | y3 = 2c |
MDS input = Y = y0y1y2y3 = 37239793 | MDS input = Y = y0y1y2y3 = e4fba02c |
MDS output = Z = z0z1z2z3 = 52848da2 | MDS output = Z = z0z1z2z3 = a9cb15ab |
z0 = 52 | z1 = 84 | z2 = 8d | z3 = a2 | z0 = a9 | z1 = cb | z2 = 15 | z3 = ab |
A15 = h(2pi, Me) = 52848da2 |
|
|
|
Key Schedule: K32 and K33 |
i = 10 | i = 10 |
h input = X = x0x1x2x3 = 2ip = 20202020 | h input = X = x0x1x2x3 = (2i+1)p = 21212121 |
x0 = 20 | x1 = 20 | x2 = 20 | x3 = 20 | x0 = 21 | x1 = 21 | x2 = 21 | x3 = 21 |
y2,0 = 20 | y2,1 = 20 | y2,2 = 20 | y2,3 = 20 | y2,0 = 21 | y2,1 = 21 | y2,2 = 21 | y2,3 = 21 |
|
|
|
|
|
|
|
|
y0 = bb | y1 = 9a | y2 = 88 | y3 = e1 | y0 = af | y1 = 64 | y2 = 2e | y3 = 0d |
MDS input = Y = y0y1y2y3 = bb9a88e1 | MDS input = Y = y0y1y2y3 = af642e0d |
MDS output = Z = z0z1z2z3 = d7315565 | MDS output = Z = z0z1z2z3 = 25ae3c3f |
z0 = d7 | z1 = 31 | z2 = 55 | z3 = 65 | z0 = 25 | z1 = ae | z2 = 3c | z3 = 3f |
A16 = h(2pi, Me) = d7315565 |
|
|
|
Key Schedule: K34 and K35 |
i = 11 | i = 11 |
h input = X = x0x1x2x3 = 2ip = 22222222 | h input = X = x0x1x2x3 = (2i+1)p = 23232323 |
x0 = 22 | x1 = 22 | x2 = 22 | x3 = 22 | x0 = 23 | x1 = 23 | x2 = 23 | x3 = 23 |
y2,0 = 22 | y2,1 = 22 | y2,2 = 22 | y2,3 = 22 | y2,0 = 23 | y2,1 = 23 | y2,2 = 23 | y2,3 = 23 |
|
|
|
|
|
|
|
|
y0 = 5f | y1 = 0a | y2 = c7 | y3 = b8 | y0 = 63 | y1 = 0c | y2 = 81 | y3 = 14 |
MDS input = Y = y0y1y2y3 = 5f0ac7b8 | MDS input = Y = y0y1y2y3 = 630c8114 |
MDS output = Z = z0z1z2z3 = 68688c6e | MDS output = Z = z0z1z2z3 = 80878502 |
z0 = 68 | z1 = 68 | z2 = 8c | z3 = 6e | z0 = 80 | z1 = 87 | z2 = 85 | z3 = 02 |
A17 = h(2pi, Me) = 68688c6e |
|
|
|
Key Schedule: K36 and K37 |
i = 12 | i = 12 |
h input = X = x0x1x2x3 = 2ip = 24242424 | h input = X = x0x1x2x3 = (2i+1)p = 25252525 |
x0 = 24 | x1 = 24 | x2 = 24 | x3 = 24 | x0 = 25 | x1 = 25 | x2 = 25 | x3 = 25 |
y2,0 = 24 | y2,1 = 24 | y2,2 = 24 | y2,3 = 24 | y2,0 = 25 | y2,1 = 25 | y2,2 = 25 | y2,3 = 25 |
|
|
|
|
|
|
|
|
y0 = 87 | y1 = 92 | y2 = c4 | y3 = c9 | y0 = 79 | y1 = 22 | y2 = 77 | y3 = 7a |
MDS input = Y = y0y1y2y3 = 8792c4c9 | MDS input = Y = y0y1y2y3 = 7922777a |
MDS output = Z = z0z1z2z3 = 985d081b | MDS output = Z = z0z1z2z3 = a2c3b14c |
z0 = 98 | z1 = 5d | z2 = 08 | z3 = 1b | z0 = a2 | z1 = c3 | z2 = b1 | z3 = 4c |
A18 = h(2pi, Me) = 985d081b |
|
|
|
Key Schedule: K38 and K39 |
i = 13 | i = 13 |
h input = X = x0x1x2x3 = 2ip = 26262626 | h input = X = x0x1x2x3 = (2i+1)p = 27272727 |
x0 = 26 | x1 = 26 | x2 = 26 | x3 = 26 | x0 = 27 | x1 = 27 | x2 = 27 | x3 = 27 |
y2,0 = 26 | y2,1 = 26 | y2,2 = 26 | y2,3 = 26 | y2,0 = 27 | y2,1 = 27 | y2,2 = 27 | y2,3 = 27 |
|
|
|
|
|
|
|
|
y0 = 12 | y1 = 2a | y2 = 1c | y3 = e8 | y0 = 9f | y1 = 34 | y2 = e8 | y3 = ab |
MDS input = Y = y0y1y2y3 = 122a1ce8 | MDS input = Y = y0y1y2y3 = 9f34e8ab |
MDS output = Z = z0z1z2z3 = 5ade8546 | MDS output = Z = z0z1z2z3 = 0178f250 |
z0 = 5a | z1 = de | z2 = 85 | z3 = 46 | z0 = 01 | z1 = 78 | z2 = f2 | z3 = 50 |
A19 = h(2pi, Me) = 5ade8546 |
|
|
|
Summary listing of the 40 expanded key words |
K0 = 9bf1826a | K1 = 02229b50 | K2 = ea11ea78 | K3 = ae0b98a1 |
K4 = f57ea21f | K5 = e005f378 | K6 = 314b4d98 | K7 = c9a88d6f |
K8 = f595a22f | K9 = b3c6caca | K10 = 22166ed7 | K11 = 2547a011 |
K12 = a38a1320 | K13 = 0813350e | K14 = 281a4854 | K15 = a0ddfa24 |
K16 = 19c3630c | K17 = 5bc0b2cc | K18 = d542f0e2 | K19 = 9f8b15e9 |
K20 = 7b65df4c | K21 = 2189e236 | K22 = 25d0b3fc | K23 = eb1e6ea6 |
K24 = 97054619 | K25 = ccf7f077 | K26 = d5b22d8a | K27 = 66325910 |
K28 = fdcb3639 | K29 = d853ba91 | K30 = fd2d59b8 | K31 = 9c51af49 |
K32 = 165703a2 | K33 = bdabf862 | K34 = 6ae813f4 | K35 = f3d8d036 |
K36 = e4ffcbcc | K37 = fd60441f | K38 = aadffd38 | K39 = 56f4c1eb |
Encryption start: block 1 |
128-bit plaintext block = p0p1p2p3p4p5p6p7p8p9p10p11p12p13p14p15 = d4919116e7b1b19e86cbcb6b789f9f19 |
P0 = p0p1p2p3 = d491db16 | P1 = p4p5p6p7 = e7b1c39e |
P2 = p8p9p10p11 = 86cb086b | P3 = p12p13p14p15 = 789f5419 |
Encryption of block 1 : Encryption CBC step: Xor of plaintext block with ciphertext result of previous block |
P '0 = P0 |
P '1 = P1 |
P '2 = P2 |
P '3 = P3 |
Encryption Input Whiten : Block 1 |
R0,0 = P '0 |
R0,1 = P '1 |
R0,2 = P '2 |
R0,3 = P '3 |
Encryption of block 1, round r=0 |
g input = X = x0x1x2x3 = R0,0 = 4f60597c |
|
x0 = 4f | x1 = 60 | x2 = 59 | x3 = 7c | x0 = ce | x1 = e5 | x2 = 93 | x3 = 58 |
y2,0 = 4f | y2,1 = 60 | y2,2 = 59 | y2,3 = 7c | y2,0 = ce | y2,1 = e5 | y2,2 = 93 | y2,3 = 58 |
|
|
|
|
|
|
|
|
y0 = c1 | y1 = e5 | y2 = 66 | y3 = b7 | y0 = c9 | y1 = 5c | y2 = 4e | y3 = 98 |
MDS input = Y = y0y1y2y3 = c1e566b7 | MDS input = Y = y0y1y2y3 = c95c4e98 |
MDS output = Z = z0z1z2z3 = 3ea40416 | MDS output = Z = z0z1z2z3 = fb92865d |
z0 = 3e | z1 = a4 | z2 = 04 | z3 = 16 | z0 = fb | z1 = 92 | z2 = 86 | z3 = 5d |
T0 = g(R0) = 3ea40416 | T1 = g(ROL(R1, 8)) = fb92865d |
|
|
|
|
R1,2 = R0,0 = 4f60597c | R1,3 = R0,1 = e59358ce |
Encryption of block 1, round r=1 |
g input = X = x0x1x2x3 = R1,0 = a18b6758 |
|
x0 = a1 | x1 = 8b | x2 = 67 | x3 = 58 | x0 = ea | x1 = 4a | x2 = b9 | x3 = 45 |
y2,0 = a1 | y2,1 = 8b | y2,2 = 67 | y2,3 = 58 | y2,0 = ea | y2,1 = 4a | y2,2 = b9 | y2,3 = 45 |
|
|
|
|
|
|
|
|
y0 = d8 | y1 = a5 | y2 = a9 | y3 = 98 | y0 = 48 | y1 = ed | y2 = ce | y3 = 93 |
MDS input = Y = y0y1y2y3 = d8a5a998 | MDS input = Y = y0y1y2y3 = 48edce93 |
MDS output = Z = z0z1z2z3 = 8f7f0fa0 | MDS output = Z = z0z1z2z3 = 16a998e4 |
z0 = 8f | z1 = 7f | z2 = 0f | z3 = a0 | z0 = 16 | z1 = a9 | z2 = 98 | z3 = e4 |
T0 = g(R0) = 8f7f0fa0 | T1 = g(ROL(R1, 8)) = 16a998e4 |
|
|
|
|
R2,2 = R1,0 = a18b6758 | R2,3 = R1,1 = 4ab945ea |
Encryption of block 1, round r=2 |
g input = X = x0x1x2x3 = R2,0 = 44af2710 |
|
x0 = 44 | x1 = af | x2 = 27 | x3 = 10 | x0 = e6 | x1 = 2b | x2 = 3f | x3 = 50 |
y2,0 = 44 | y2,1 = af | y2,2 = 27 | y2,3 = 10 | y2,0 = e6 | y2,1 = 2b | y2,2 = 3f | y2,3 = 50 |
|
|
|
|
|
|
|
|
y0 = d2 | y1 = fc | y2 = a3 | y3 = 39 | y0 = 18 | y1 = c2 | y2 = 85 | y3 = 18 |
MDS input = Y = y0y1y2y3 = d2fca339 | MDS input = Y = y0y1y2y3 = 18c28518 |
MDS output = Z = z0z1z2z3 = 67569e2a | MDS output = Z = z0z1z2z3 = df29c3c6 |
z0 = 67 | z1 = 56 | z2 = 9e | z3 = 2a | z0 = df | z1 = 29 | z2 = c3 | z3 = c6 |
T0 = g(R0) = 67569e2a | T1 = g(ROL(R1, 8)) = df29c3c6 |
|
|
|
|
R3,2 = R2,0 = 44af2710 | R3,3 = R2,1 = 2b3f50e6 |
Encryption of block 1, round r=3 |
g input = X = x0x1x2x3 = R3,0 = a4408924 |
|
x0 = a4 | x1 = 40 | x2 = 89 | x3 = 24 | x0 = 12 | x1 = b8 | x2 = cf | x3 = d2 |
y2,0 = a4 | y2,1 = 40 | y2,2 = 89 | y2,3 = 24 | y2,0 = 12 | y2,1 = b8 | y2,2 = cf | y2,3 = d2 |
|
|
|
|
|
|
|
|
y0 = 29 | y1 = c0 | y2 = 16 | y3 = 7c | y0 = d5 | y1 = 5e | y2 = ee | y3 = e6 |
MDS input = Y = y0y1y2y3 = 29c0167c | MDS input = Y = y0y1y2y3 = d55eeee6 |
MDS output = Z = z0z1z2z3 = 7d3962d6 | MDS output = Z = z0z1z2z3 = 0d986f47 |
z0 = 7d | z1 = 39 | z2 = 62 | z3 = d6 | z0 = 0d | z1 = 98 | z2 = 6f | z3 = 47 |
T0 = g(R0) = 7d3962d6 | T1 = g(ROL(R1, 8)) = 0d986f47 |
|
|
|
|
R4,2 = R3,0 = a4408924 | R4,3 = R3,1 = b8cfd212 |
Encryption of block 1, round r=4 |
g input = X = x0x1x2x3 = R4,0 = 7b221f31 |
|
x0 = 7b | x1 = 22 | x2 = 1f | x3 = 31 | x0 = 46 | x1 = 60 | x2 = 39 | x3 = 9c |
y2,0 = 7b | y2,1 = 22 | y2,2 = 1f | y2,3 = 31 | y2,0 = 46 | y2,1 = 60 | y2,2 = 39 | y2,3 = 9c |
|
|
|
|
|
|
|
|
y0 = 3a | y1 = 38 | y2 = e6 | y3 = 45 | y0 = d1 | y1 = e5 | y2 = 0d | y3 = 5d |
MDS input = Y = y0y1y2y3 = 3a38e645 | MDS input = Y = y0y1y2y3 = d1e50d5d |
MDS output = Z = z0z1z2z3 = 75f7d5b3 | MDS output = Z = z0z1z2z3 = d5446270 |
z0 = 75 | z1 = f7 | z2 = d5 | z3 = b3 | z0 = d5 | z1 = 44 | z2 = 62 | z3 = 70 |
T0 = g(R0) = 75f7d5b3 | T1 = g(ROL(R1, 8)) = d5446270 |
|
|
|
|
R5,2 = R4,0 = 7b221f31 | R5,3 = R4,1 = 60399c46 |
Encryption of block 1, round r=5 |
g input = X = x0x1x2x3 = R5,0 = e35f098a |
|
x0 = e3 | x1 = 5f | x2 = 09 | x3 = 8a | x0 = 44 | x1 = 0a | x2 = de | x3 = e8 |
y2,0 = e3 | y2,1 = 5f | y2,2 = 09 | y2,3 = 8a | y2,0 = 44 | y2,1 = 0a | y2,2 = de | y2,3 = e8 |
|
|
|
|
|
|
|
|
y0 = 75 | y1 = 9a | y2 = 57 | y3 = bd | y0 = d2 | y1 = ac | y2 = 6d | y3 = 23 |
MDS input = Y = y0y1y2y3 = 759a57bd | MDS input = Y = y0y1y2y3 = d2ac6d23 |
MDS output = Z = z0z1z2z3 = 54f9c1dd | MDS output = Z = z0z1z2z3 = ea0eb1fc |
z0 = 54 | z1 = f9 | z2 = c1 | z3 = dd | z0 = ea | z1 = 0e | z2 = b1 | z3 = fc |
T0 = g(R0) = 54f9c1dd | T1 = g(ROL(R1, 8)) = ea0eb1fc |
|
|
|
|
R6,2 = R5,0 = e35f098a | R6,3 = R5,1 = 0adee844 |
Encryption of block 1, round r=6 |
g input = X = x0x1x2x3 = R6,0 = b4343e46 |
|
x0 = b4 | x1 = 34 | x2 = 3e | x3 = 46 | x0 = 4d | x1 = 07 | x2 = d0 | x3 = 01 |
y2,0 = b4 | y2,1 = 34 | y2,2 = 3e | y2,3 = 46 | y2,0 = 4d | y2,1 = 07 | y2,2 = d0 | y2,3 = 01 |
|
|
|
|
|
|
|
|
y0 = 89 | y1 = 2b | y2 = fc | y3 = 9b | y0 = 0b | y1 = ce | y2 = e1 | y3 = d8 |
MDS input = Y = y0y1y2y3 = 892bfc9b | MDS input = Y = y0y1y2y3 = 0bcee1d8 |
MDS output = Z = z0z1z2z3 = 77b998c4 | MDS output = Z = z0z1z2z3 = 48567c31 |
z0 = 77 | z1 = b9 | z2 = 98 | z3 = c4 | z0 = 48 | z1 = 56 | z2 = 7c | z3 = 31 |
T0 = g(R0) = 77b998c4 | T1 = g(ROL(R1, 8)) = 48567c31 |
|
|
|
|
R7,2 = R6,0 = b4343e46 | R7,3 = R6,1 = 07d0014d |
Encryption of block 1, round r=7 |
g input = X = x0x1x2x3 = R7,0 = 6c957ee4 |
|
x0 = 6c | x1 = 95 | x2 = 7e | x3 = e4 | x0 = d7 | x1 = 3c | x2 = 53 | x3 = a2 |
y2,0 = 6c | y2,1 = 95 | y2,2 = 7e | y2,3 = e4 | y2,0 = d7 | y2,1 = 3c | y2,2 = 53 | y2,3 = a2 |
|
|
|
|
|
|
|
|
y0 = 6e | y1 = 14 | y2 = 1f | y3 = 4c | y0 = 8d | y1 = b8 | y2 = 37 | y3 = dd |
MDS input = Y = y0y1y2y3 = 6e141f4c | MDS input = Y = y0y1y2y3 = 8db837dd |
MDS output = Z = z0z1z2z3 = dcdb81f0 | MDS output = Z = z0z1z2z3 = 2398cd75 |
z0 = dc | z1 = db | z2 = 81 | z3 = f0 | z0 = 23 | z1 = 98 | z2 = cd | z3 = 75 |
T0 = g(R0) = dcdb81f0 | T1 = g(ROL(R1, 8)) = 2398cd75 |
|
|
|
|
R8,2 = R7,0 = 6c957ee4 | R8,3 = R7,1 = 3c53a2d7 |
Encryption of block 1, round r=8 |
g input = X = x0x1x2x3 = R8,0 = 48b89e12 |
|
x0 = 48 | x1 = b8 | x2 = 9e | x3 = 12 | x0 = 18 | x1 = 03 | x2 = 8b | x3 = 88 |
y2,0 = 48 | y2,1 = b8 | y2,2 = 9e | y2,3 = 12 | y2,0 = 18 | y2,1 = 03 | y2,2 = 8b | y2,3 = 88 |
|
|
|
|
|
|
|
|
y0 = e2 | y1 = 5e | y2 = 9a | y3 = 16 | y0 = 9e | y1 = dd | y2 = a1 | y3 = 68 |
MDS input = Y = y0y1y2y3 = e25e9a16 | MDS input = Y = y0y1y2y3 = 9edda168 |
MDS output = Z = z0z1z2z3 = 9fefd4a3 | MDS output = Z = z0z1z2z3 = 553815da |
z0 = 9f | z1 = ef | z2 = d4 | z3 = a3 | z0 = 55 | z1 = 38 | z2 = 15 | z3 = da |
T0 = g(R0) = 9fefd4a3 | T1 = g(ROL(R1, 8)) = 553815da |
|
|
|
|
R9,2 = R8,0 = 48b89e12 | R9,3 = R8,1 = 038b8818 |
Encryption of block 1, round r=9 |
g input = X = x0x1x2x3 = R9,0 = 735ca7b9 |
|
x0 = 73 | x1 = 5c | x2 = a7 | x3 = b9 | x0 = 60 | x1 = 6c | x2 = fe | x3 = b4 |
y2,0 = 73 | y2,1 = 5c | y2,2 = a7 | y2,3 = b9 | y2,0 = 60 | y2,1 = 6c | y2,2 = fe | y2,3 = b4 |
|
|
|
|
|
|
|
|
y0 = f1 | y1 = 20 | y2 = 9c | y3 = 0e | y0 = a2 | y1 = be | y2 = 1d | y3 = 5f |
MDS input = Y = y0y1y2y3 = f1209c0e | MDS input = Y = y0y1y2y3 = a2be1d5f |
MDS output = Z = z0z1z2z3 = cb545137 | MDS output = Z = z0z1z2z3 = 3ee16a8d |
z0 = cb | z1 = 54 | z2 = 51 | z3 = 37 | z0 = 3e | z1 = e1 | z2 = 6a | z3 = 8d |
T0 = g(R0) = cb545137 | T1 = g(ROL(R1, 8)) = 3ee16a8d |
|
|
|
|
R10,2 = R9,0 = 735ca7b9 | R10,3 = R9,1 = 6cfeb460 |
Encryption of block 1, round r=10 |
g input = X = x0x1x2x3 = R10,0 = 4ba83b2e |
|
x0 = 4b | x1 = a8 | x2 = 3b | x3 = 2e | x0 = 53 | x1 = ab | x2 = 5f | x3 = 91 |
y2,0 = 4b | y2,1 = a8 | y2,2 = 3b | y2,3 = 2e | y2,0 = 53 | y2,1 = ab | y2,2 = 5f | y2,3 = 91 |
|
|
|
|
|
|
|
|
y0 = 80 | y1 = 40 | y2 = 09 | y3 = 6e | y0 = 1a | y1 = 72 | y2 = 5a | y3 = 8c |
MDS input = Y = y0y1y2y3 = 8040096e | MDS input = Y = y0y1y2y3 = 1a725a8c |
MDS output = Z = z0z1z2z3 = 605f4f80 | MDS output = Z = z0z1z2z3 = ae12ccad |
z0 = 60 | z1 = 5f | z2 = 4f | z3 = 80 | z0 = ae | z1 = 12 | z2 = cc | z3 = ad |
T0 = g(R0) = 605f4f80 | T1 = g(ROL(R1, 8)) = ae12ccad |
|
|
|
|
R11,2 = R10,0 = 4ba83b2e | R11,3 = R10,1 = ab5f9153 |
Encryption of block 1, round r=11 |
g input = X = x0x1x2x3 = R11,0 = 3cb17a6f |
|
x0 = 3c | x1 = b1 | x2 = 7a | x3 = 6f | x0 = ac | x1 = 4c | x2 = 24 | x3 = c8 |
y2,0 = 3c | y2,1 = b1 | y2,2 = 7a | y2,3 = 6f | y2,0 = ac | y2,1 = 4c | y2,2 = 24 | y2,3 = c8 |
|
|
|
|
|
|
|
|
y0 = 13 | y1 = 62 | y2 = c7 | y3 = 3d | y0 = 6b | y1 = 06 | y2 = ff | y3 = e8 |
MDS input = Y = y0y1y2y3 = 1362c73d | MDS input = Y = y0y1y2y3 = 6b06ffe8 |
MDS output = Z = z0z1z2z3 = 9cf48f81 | MDS output = Z = z0z1z2z3 = 2722f42f |
z0 = 9c | z1 = f4 | z2 = 8f | z3 = 81 | z0 = 27 | z1 = 22 | z2 = f4 | z3 = 2f |
T0 = g(R0) = 9cf48f81 | T1 = g(ROL(R1, 8)) = 2722f42f |
|
|
|
|
R12,2 = R11,0 = 3cb17a6f | R12,3 = R11,1 = 4c24c8ac |
Encryption of block 1, round r=12 |
g input = X = x0x1x2x3 = R12,0 = 4576f3a3 |
|
x0 = 45 | x1 = 76 | x2 = f3 | x3 = a3 | x0 = 8c | x1 = d0 | x2 = 35 | x3 = 05 |
y2,0 = 45 | y2,1 = 76 | y2,2 = f3 | y2,3 = a3 | y2,0 = 8c | y2,1 = d0 | y2,2 = 35 | y2,3 = 05 |
|
|
|
|
|
|
|
|
y0 = ca | y1 = 81 | y2 = fd | y3 = 1b | y0 = df | y1 = cf | y2 = 06 | y3 = e3 |
MDS input = Y = y0y1y2y3 = ca81fd1b | MDS input = Y = y0y1y2y3 = dfcf06e3 |
MDS output = Z = z0z1z2z3 = ae0a6509 | MDS output = Z = z0z1z2z3 = 98943997 |
z0 = ae | z1 = 0a | z2 = 65 | z3 = 09 | z0 = 98 | z1 = 94 | z2 = 39 | z3 = 97 |
T0 = g(R0) = ae0a6509 | T1 = g(ROL(R1, 8)) = 98943997 |
|
|
|
|
R13,2 = R12,0 = 4576f3a3 | R13,3 = R12,1 = d035058c |
Encryption of block 1, round r=13 |
g input = X = x0x1x2x3 = R13,0 = b0a3ed16 |
|
x0 = b0 | x1 = a3 | x2 = ed | x3 = 16 | x0 = c3 | x1 = 02 | x2 = 97 | x3 = 40 |
y2,0 = b0 | y2,1 = a3 | y2,2 = ed | y2,3 = 16 | y2,0 = c3 | y2,1 = 02 | y2,2 = 97 | y2,3 = 40 |
|
|
|
|
|
|
|
|
y0 = c6 | y1 = a1 | y2 = 82 | y3 = 9a | y0 = 66 | y1 = 7e | y2 = d7 | y3 = d4 |
MDS input = Y = y0y1y2y3 = c6a1829a | MDS input = Y = y0y1y2y3 = 667ed7d4 |
MDS output = Z = z0z1z2z3 = efb934de | MDS output = Z = z0z1z2z3 = 612671b4 |
z0 = ef | z1 = b9 | z2 = 34 | z3 = de | z0 = 61 | z1 = 26 | z2 = 71 | z3 = b4 |
T0 = g(R0) = efb934de | T1 = g(ROL(R1, 8)) = 612671b4 |
|
|
|
|
R14,2 = R13,0 = b0a3ed16 | R14,3 = R13,1 = 029740c3 |
Encryption of block 1, round r=14 |
g input = X = x0x1x2x3 = R14,0 = 7f5fa592 |
|
x0 = 7f | x1 = 5f | x2 = a5 | x3 = 92 | x0 = 65 | x1 = 05 | x2 = b4 | x3 = ed |
y2,0 = 7f | y2,1 = 5f | y2,2 = a5 | y2,3 = 92 | y2,0 = 65 | y2,1 = 05 | y2,2 = b4 | y2,3 = ed |
|
|
|
|
|
|
|
|
y0 = 83 | y1 = 9a | y2 = 62 | y3 = 12 | y0 = b4 | y1 = 1b | y2 = 04 | y3 = ae |
MDS input = Y = y0y1y2y3 = 839a6212 | MDS input = Y = y0y1y2y3 = b41b04ae |
MDS output = Z = z0z1z2z3 = aae5797f | MDS output = Z = z0z1z2z3 = ca7a52ee |
z0 = aa | z1 = e5 | z2 = 79 | z3 = 7f | z0 = ca | z1 = 7a | z2 = 52 | z3 = ee |
T0 = g(R0) = aae5797f | T1 = g(ROL(R1, 8)) = ca7a52ee |
|
|
|
|
R15,2 = R14,0 = 7f5fa592 | R15,3 = R14,1 = 05b4ed65 |
Encryption of block 1, round r=15 |
g input = X = x0x1x2x3 = R15,0 = f4e13a16 |
|
x0 = f4 | x1 = e1 | x2 = 3a | x3 = 16 | x0 = fd | x1 = 3e | x2 = 12 | x3 = e2 |
y2,0 = f4 | y2,1 = e1 | y2,2 = 3a | y2,3 = 16 | y2,0 = fd | y2,1 = 3e | y2,2 = 12 | y2,3 = e2 |
|
|
|
|
|
|
|
|
y0 = 2a | y1 = 86 | y2 = 5e | y3 = 9a | y0 = ad | y1 = 28 | y2 = 79 | y3 = 70 |
MDS input = Y = y0y1y2y3 = 2a865e9a | MDS input = Y = y0y1y2y3 = ad287970 |
MDS output = Z = z0z1z2z3 = 8f8c89dd | MDS output = Z = z0z1z2z3 = ca2f31cf |
z0 = 8f | z1 = 8c | z2 = 89 | z3 = dd | z0 = ca | z1 = 2f | z2 = 31 | z3 = cf |
T0 = g(R0) = 8f8c89dd | T1 = g(ROL(R1, 8)) = ca2f31cf |
|
|
|
|
R16,2 = R15,0 = f4e13a16 | R16,3 = R15,1 = 3e12e2fd |
Encryption of block 1 : Output Whiten |
C0 = R16,2 mod 4 |
C1 = R16,3 mod 4 |
C2 = R16,4 mod 4 |
C3 = R16,5 mod 4 |
Encryption of block 1: Ciphertext result |
c0 = [C0 |
c1 = [C0 |
c2 = [C0 |
c3 = [C0 |
c4 = [C1 |
c5 = [C1 |
c6 = [C1 |
c7 = [C1 |
c8 = [C2 |
c9 = [C2 |
c10 = [C2 |
c11 = [C2 |
c12 = [C3 |
c13 = [C3 |
c14 = [C3 |
c15 = [C3 |
Ciphertext block output = c0c1c2c3c4c5c6c7c8c9c10c11c12c13c14c15 = 019f9809de1711858faac3a3ba20fbc3 |
Encryption start: block 2 |
128-bit plaintext block = p0p1p2p3p4p5p6p7p8p9p10p11p12p13p14p15 = 182b2bd814979745f9dadadc29191965 |
P0 = p0p1p2p3 = 182b02d8 | P1 = p4p5p6p7 = 1497ea45 |
P2 = p8p9p10p11 = f9daacdc | P3 = p12p13p14p15 = 29193a65 |
Encryption of block 2 : Encryption CBC step: Xor of plaintext block with ciphertext result of previous block |
P '0 = P0 |
P '1 = P1 |
P '2 = P2 |
P '3 = P3 |
Encryption Input Whiten : Block 2 |
R0,0 = P '0 |
R0,1 = P '1 |
R0,2 = P '2 |
R0,3 = P '3 |
Encryption of block 2, round r=0 |
g input = X = x0x1x2x3 = R0,0 = 824518bb |
|
x0 = 82 | x1 = 45 | x2 = 18 | x3 = bb | x0 = 90 | x1 = c8 | x2 = a2 | x3 = 60 |
y2,0 = 82 | y2,1 = 45 | y2,2 = 18 | y2,3 = bb | y2,0 = 90 | y2,1 = c8 | y2,2 = a2 | y2,3 = 60 |
|
|
|
|
|
|
|
|
y0 = f7 | y1 = 91 | y2 = 3e | y3 = b2 | y0 = 9d | y1 = 6f | y2 = 56 | y3 = 7f |
MDS input = Y = y0y1y2y3 = f7913eb2 | MDS input = Y = y0y1y2y3 = 9d6f567f |
MDS output = Z = z0z1z2z3 = 4b1f49ca | MDS output = Z = z0z1z2z3 = fd5ad327 |
z0 = 4b | z1 = 1f | z2 = 49 | z3 = ca | z0 = fd | z1 = 5a | z2 = d3 | z3 = 27 |
T0 = g(R0) = 4b1f49ca | T1 = g(ROL(R1, 8)) = fd5ad327 |
|
|
|
|
R1,2 = R0,0 = 824518bb | R1,3 = R0,1 = c8a26090 |
Encryption of block 2, round r=1 |
g input = X = x0x1x2x3 = R1,0 = d0381d93 |
|
x0 = d0 | x1 = 38 | x2 = 1d | x3 = 93 | x0 = ea | x1 = 82 | x2 = ff | x3 = 08 |
y2,0 = d0 | y2,1 = 38 | y2,2 = 1d | y2,3 = 93 | y2,0 = ea | y2,1 = 82 | y2,2 = ff | y2,3 = 08 |
|
|
|
|
|
|
|
|
y0 = 79 | y1 = ae | y2 = e7 | y3 = 55 | y0 = 48 | y1 = 8d | y2 = 5d | y3 = f1 |
MDS input = Y = y0y1y2y3 = 79aee755 | MDS input = Y = y0y1y2y3 = 488d5df1 |
MDS output = Z = z0z1z2z3 = 35f9e7f6 | MDS output = Z = z0z1z2z3 = c9278cee |
z0 = 35 | z1 = f9 | z2 = e7 | z3 = f6 | z0 = c9 | z1 = 27 | z2 = 8c | z3 = ee |
T0 = g(R0) = 35f9e7f6 | T1 = g(ROL(R1, 8)) = c9278cee |
|
|
|
|
R2,2 = R1,0 = d0381d93 | R2,3 = R1,1 = 82ff08ea |
Encryption of block 2, round r=2 |
g input = X = x0x1x2x3 = R2,0 = 5139fd03 |
|
x0 = 51 | x1 = 39 | x2 = fd | x3 = 03 | x0 = c5 | x1 = 7d | x2 = ca | x3 = 61 |
y2,0 = 51 | y2,1 = 39 | y2,2 = fd | y2,3 = 03 | y2,0 = c5 | y2,1 = 7d | y2,2 = ca | y2,3 = 61 |
|
|
|
|
|
|
|
|
y0 = 38 | y1 = ec | y2 = d4 | y3 = c1 | y0 = 7b | y1 = 39 | y2 = 15 | y3 = 5c |
MDS input = Y = y0y1y2y3 = 38ecd4c1 | MDS input = Y = y0y1y2y3 = 7b39155c |
MDS output = Z = z0z1z2z3 = d3dd56e6 | MDS output = Z = z0z1z2z3 = bfe61f84 |
z0 = d3 | z1 = dd | z2 = 56 | z3 = e6 | z0 = bf | z1 = e6 | z2 = 1f | z3 = 84 |
T0 = g(R0) = d3dd56e6 | T1 = g(ROL(R1, 8)) = bfe61f84 |
|
|
|
|
R3,2 = R2,0 = 5139fd03 | R3,3 = R2,1 = 7dca61c5 |
Encryption of block 2, round r=3 |
g input = X = x0x1x2x3 = R3,0 = f2bbcb8c |
|
x0 = f2 | x1 = bb | x2 = cb | x3 = 8c | x0 = 28 | x1 = 5c | x2 = 41 | x3 = da |
y2,0 = f2 | y2,1 = bb | y2,2 = cb | y2,3 = 8c | y2,0 = 28 | y2,1 = 5c | y2,2 = 41 | y2,3 = da |
|
|
|
|
|
|
|
|
y0 = 08 | y1 = 31 | y2 = 8c | y3 = a0 | y0 = ed | y1 = 20 | y2 = f0 | y3 = 9e |
MDS input = Y = y0y1y2y3 = 08318ca0 | MDS input = Y = y0y1y2y3 = ed20f09e |
MDS output = Z = z0z1z2z3 = e4883d5e | MDS output = Z = z0z1z2z3 = 149ed4d7 |
z0 = e4 | z1 = 88 | z2 = 3d | z3 = 5e | z0 = 14 | z1 = 9e | z2 = d4 | z3 = d7 |
T0 = g(R0) = e4883d5e | T1 = g(ROL(R1, 8)) = 149ed4d7 |
|
|
|
|
R4,2 = R3,0 = f2bbcb8c | R4,3 = R3,1 = 5c41da28 |
Encryption of block 2, round r=4 |
g input = X = x0x1x2x3 = R4,0 = 38bcd3c4 |
|
x0 = 38 | x1 = bc | x2 = d3 | x3 = c4 | x0 = b8 | x1 = 57 | x2 = 36 | x3 = 22 |
y2,0 = 38 | y2,1 = bc | y2,2 = d3 | y2,3 = c4 | y2,0 = b8 | y2,1 = 57 | y2,2 = 36 | y2,3 = 22 |
|
|
|
|
|
|
|
|
y0 = bc | y1 = cd | y2 = b0 | y3 = f7 | y0 = da | y1 = 0e | y2 = 21 | y3 = 73 |
MDS input = Y = y0y1y2y3 = bccdb0f7 | MDS input = Y = y0y1y2y3 = da0e2173 |
MDS output = Z = z0z1z2z3 = 72d632e0 | MDS output = Z = z0z1z2z3 = 9642a16d |
z0 = 72 | z1 = d6 | z2 = 32 | z3 = e0 | z0 = 96 | z1 = 42 | z2 = a1 | z3 = 6d |
T0 = g(R0) = 72d632e0 | T1 = g(ROL(R1, 8)) = 9642a16d |
|
|
|
|
R5,2 = R4,0 = 38bcd3c4 | R5,3 = R4,1 = 573622b8 |
Encryption of block 2, round r=5 |
g input = X = x0x1x2x3 = R5,0 = e9337eeb |
|
x0 = e9 | x1 = 33 | x2 = 7e | x3 = eb | x0 = d9 | x1 = 41 | x2 = 99 | x3 = 9c |
y2,0 = e9 | y2,1 = 33 | y2,2 = 7e | y2,3 = eb | y2,0 = d9 | y2,1 = 41 | y2,2 = 99 | y2,3 = 9c |
|
|
|
|
|
|
|
|
y0 = 1f | y1 = 1d | y2 = 1f | y3 = a7 | y0 = 11 | y1 = a2 | y2 = bc | y3 = 5d |
MDS input = Y = y0y1y2y3 = 1f1d1fa7 | MDS input = Y = y0y1y2y3 = 11a2bc5d |
MDS output = Z = z0z1z2z3 = 73e6957d | MDS output = Z = z0z1z2z3 = fdb0fb8c |
z0 = 73 | z1 = e6 | z2 = 95 | z3 = 7d | z0 = fd | z1 = b0 | z2 = fb | z3 = 8c |
T0 = g(R0) = 73e6957d | T1 = g(ROL(R1, 8)) = fdb0fb8c |
|
|
|
|
R6,2 = R5,0 = e9337eeb | R6,3 = R5,1 = 41999cd9 |
Encryption of block 2, round r=6 |
g input = X = x0x1x2x3 = R6,0 = 3e33a994 |
|
x0 = 3e | x1 = 33 | x2 = a9 | x3 = 94 | x0 = f0 | x1 = a3 | x2 = b8 | x3 = e6 |
y2,0 = 3e | y2,1 = 33 | y2,2 = a9 | y2,3 = 94 | y2,0 = f0 | y2,1 = a3 | y2,2 = b8 | y2,3 = e6 |
|
|
|
|
|
|
|
|
y0 = fe | y1 = 1d | y2 = 6c | y3 = b0 | y0 = 45 | y1 = a1 | y2 = b4 | y3 = 9d |
MDS input = Y = y0y1y2y3 = fe1d6cb0 | MDS input = Y = y0y1y2y3 = 45a1b49d |
MDS output = Z = z0z1z2z3 = ef7ee2ca | MDS output = Z = z0z1z2z3 = 0b67e51a |
z0 = ef | z1 = 7e | z2 = e2 | z3 = ca | z0 = 0b | z1 = 67 | z2 = e5 | z3 = 1a |
T0 = g(R0) = ef7ee2ca | T1 = g(ROL(R1, 8)) = 0b67e51a |
|
|
|
|
R7,2 = R6,0 = 3e33a994 | R7,3 = R6,1 = a3b8e6f0 |
Encryption of block 2, round r=7 |
g input = X = x0x1x2x3 = R7,0 = 4ebcec6c |
|
x0 = 4e | x1 = bc | x2 = ec | x3 = 6c | x0 = 84 | x1 = a5 | x2 = e4 | x3 = b6 |
y2,0 = 4e | y2,1 = bc | y2,2 = ec | y2,3 = 6c | y2,0 = 84 | y2,1 = a5 | y2,2 = e4 | y2,3 = b6 |
|
|
|
|
|
|
|
|
y0 = 70 | y1 = cd | y2 = bf | y3 = 6f | y0 = 71 | y1 = f6 | y2 = ea | y3 = 91 |
MDS input = Y = y0y1y2y3 = 70cdbf6f | MDS input = Y = y0y1y2y3 = 71f6ea91 |
MDS output = Z = z0z1z2z3 = e2e05696 | MDS output = Z = z0z1z2z3 = feb33db3 |
z0 = e2 | z1 = e0 | z2 = 56 | z3 = 96 | z0 = fe | z1 = b3 | z2 = 3d | z3 = b3 |
T0 = g(R0) = e2e05696 | T1 = g(ROL(R1, 8)) = feb33db3 |
|
|
|
|
R8,2 = R7,0 = 4ebcec6c | R8,3 = R7,1 = a5e4b684 |
Encryption of block 2, round r=8 |
g input = X = x0x1x2x3 = R8,0 = 1dab70e9 |
|
x0 = 1d | x1 = ab | x2 = 70 | x3 = e9 | x0 = 42 | x1 = 8e | x2 = 16 | x3 = 8d |
y2,0 = 1d | y2,1 = ab | y2,2 = 70 | y2,3 = e9 | y2,0 = 42 | y2,1 = 8e | y2,2 = 16 | y2,3 = 8d |
|
|
|
|
|
|
|
|
y0 = 25 | y1 = 72 | y2 = 23 | y3 = 06 | y0 = e6 | y1 = 0a | y2 = b1 | y3 = af |
MDS input = Y = y0y1y2y3 = 25722306 | MDS input = Y = y0y1y2y3 = e60ab1af |
MDS output = Z = z0z1z2z3 = b0f39971 | MDS output = Z = z0z1z2z3 = f2569c53 |
z0 = b0 | z1 = f3 | z2 = 99 | z3 = 71 | z0 = f2 | z1 = 56 | z2 = 9c | z3 = 53 |
T0 = g(R0) = b0f39971 | T1 = g(ROL(R1, 8)) = f2569c53 |
|
|
|
|
R9,2 = R8,0 = 1dab70e9 | R9,3 = R8,1 = 8e168d42 |
Encryption of block 2, round r=9 |
g input = X = x0x1x2x3 = R9,0 = 3b7648d9 |
|
x0 = 3b | x1 = 76 | x2 = 48 | x3 = d9 | x0 = 99 | x1 = 2b | x2 = 50 | x3 = ae |
y2,0 = 3b | y2,1 = 76 | y2,2 = 48 | y2,3 = d9 | y2,0 = 99 | y2,1 = 2b | y2,2 = 50 | y2,3 = ae |
|
|
|
|
|
|
|
|
y0 = e8 | y1 = 81 | y2 = 43 | y3 = 26 | y0 = b3 | y1 = c2 | y2 = 72 | y3 = 99 |
MDS input = Y = y0y1y2y3 = e8814326 | MDS input = Y = y0y1y2y3 = b3c27299 |
MDS output = Z = z0z1z2z3 = c1d39694 | MDS output = Z = z0z1z2z3 = ab2cb558 |
z0 = c1 | z1 = d3 | z2 = 96 | z3 = 94 | z0 = ab | z1 = 2c | z2 = b5 | z3 = 58 |
T0 = g(R0) = c1d39694 | T1 = g(ROL(R1, 8)) = ab2cb558 |
|
|
|
|
R10,2 = R9,0 = 3b7648d9 | R10,3 = R9,1 = 2b50ae99 |
Encryption of block 2, round r=10 |
g input = X = x0x1x2x3 = R10,0 = 2e8c044f |
|
x0 = 2e | x1 = 8c | x2 = 04 | x3 = 4f | x0 = d3 | x1 = 61 | x2 = 72 | x3 = 40 |
y2,0 = 2e | y2,1 = 8c | y2,2 = 04 | y2,3 = 4f | y2,0 = d3 | y2,1 = 61 | y2,2 = 72 | y2,3 = 40 |
|
|
|
|
|
|
|
|
y0 = 24 | y1 = 73 | y2 = ac | y3 = 1c | y0 = 65 | y1 = 75 | y2 = 00 | y3 = d4 |
MDS input = Y = y0y1y2y3 = 2473ac1c | MDS input = Y = y0y1y2y3 = 657500d4 |
MDS output = Z = z0z1z2z3 = b4ec0786 | MDS output = Z = z0z1z2z3 = 384e1934 |
z0 = b4 | z1 = ec | z2 = 07 | z3 = 86 | z0 = 38 | z1 = 4e | z2 = 19 | z3 = 34 |
T0 = g(R0) = b4ec0786 | T1 = g(ROL(R1, 8)) = 384e1934 |
|
|
|
|
R11,2 = R10,0 = 2e8c044f | R11,3 = R10,1 = 617240d3 |
Encryption of block 2, round r=11 |
g input = X = x0x1x2x3 = R11,0 = 69380815 |
|
x0 = 69 | x1 = 38 | x2 = 08 | x3 = 15 | x0 = 4c | x1 = ab | x2 = 7c | x3 = a8 |
y2,0 = 69 | y2,1 = 38 | y2,2 = 08 | y2,3 = 15 | y2,0 = 4c | y2,1 = ab | y2,2 = 7c | y2,3 = a8 |
|
|
|
|
|
|
|
|
y0 = d7 | y1 = ae | y2 = 18 | y3 = 46 | y0 = 0d | y1 = 72 | y2 = 74 | y3 = 9c |
MDS input = Y = y0y1y2y3 = d7ae1846 | MDS input = Y = y0y1y2y3 = 0d72749c |
MDS output = Z = z0z1z2z3 = 4c3e3a8c | MDS output = Z = z0z1z2z3 = 3c78bd7c |
z0 = 4c | z1 = 3e | z2 = 3a | z3 = 8c | z0 = 3c | z1 = 78 | z2 = bd | z3 = 7c |
T0 = g(R0) = 4c3e3a8c | T1 = g(ROL(R1, 8)) = 3c78bd7c |
|
|
|
|
R12,2 = R11,0 = 69380815 | R12,3 = R11,1 = ab7ca84c |
Encryption of block 2, round r=12 |
g input = X = x0x1x2x3 = R12,0 = 55342ac7 |
|
x0 = 55 | x1 = 34 | x2 = 2a | x3 = c7 | x0 = 69 | x1 = a3 | x2 = 64 | x3 = e4 |
y2,0 = 55 | y2,1 = 34 | y2,2 = 2a | y2,3 = c7 | y2,0 = 69 | y2,1 = a3 | y2,2 = 64 | y2,3 = e4 |
|
|
|
|
|
|
|
|
y0 = d0 | y1 = 2b | y2 = 08 | y3 = a2 | y0 = d7 | y1 = a1 | y2 = 6f | y3 = 4c |
MDS input = Y = y0y1y2y3 = d02b08a2 | MDS input = Y = y0y1y2y3 = d7a16f4c |
MDS output = Z = z0z1z2z3 = 8a262497 | MDS output = Z = z0z1z2z3 = 256e1634 |
z0 = 8a | z1 = 26 | z2 = 24 | z3 = 97 | z0 = 25 | z1 = 6e | z2 = 16 | z3 = 34 |
T0 = g(R0) = 8a262497 | T1 = g(ROL(R1, 8)) = 256e1634 |
|
|
|
|
R13,2 = R12,0 = 55342ac7 | R13,3 = R12,1 = a364e469 |
Encryption of block 2, round r=13 |
g input = X = x0x1x2x3 = R13,0 = d6e91a3c |
|
x0 = d6 | x1 = e9 | x2 = 1a | x3 = 3c | x0 = fb | x1 = c7 | x2 = 57 | x3 = 19 |
y2,0 = d6 | y2,1 = e9 | y2,2 = 1a | y2,3 = 3c | y2,0 = fb | y2,1 = c7 | y2,2 = 57 | y2,3 = 19 |
|
|
|
|
|
|
|
|
y0 = c7 | y1 = 60 | y2 = 7c | y3 = b3 | y0 = a1 | y1 = 92 | y2 = a8 | y3 = 02 |
MDS input = Y = y0y1y2y3 = c7607cb3 | MDS input = Y = y0y1y2y3 = a192a802 |
MDS output = Z = z0z1z2z3 = 9dbe5783 | MDS output = Z = z0z1z2z3 = de4c2ac5 |
z0 = 9d | z1 = be | z2 = 57 | z3 = 83 | z0 = de | z1 = 4c | z2 = 2a | z3 = c5 |
T0 = g(R0) = 9dbe5783 | T1 = g(ROL(R1, 8)) = de4c2ac5 |
|
|
|
|
R14,2 = R13,0 = d6e91a3c | R14,3 = R13,1 = c75719fb |
Encryption of block 2, round r=14 |
g input = X = x0x1x2x3 = R14,0 = d8e3df7d |
|
x0 = d8 | x1 = e3 | x2 = df | x3 = 7d | x0 = 97 | x1 = 0a | x2 = f8 | x3 = b5 |
y2,0 = d8 | y2,1 = e3 | y2,2 = df | y2,3 = 7d | y2,0 = 97 | y2,1 = 0a | y2,2 = f8 | y2,3 = b5 |
|
|
|
|
|
|
|
|
y0 = 36 | y1 = 6a | y2 = 10 | y3 = ef | y0 = f9 | y1 = ac | y2 = ab | y3 = 2a |
MDS input = Y = y0y1y2y3 = 366a10ef | MDS input = Y = y0y1y2y3 = f9acab2a |
MDS output = Z = z0z1z2z3 = e98db9d8 | MDS output = Z = z0z1z2z3 = d3e8f8e3 |
z0 = e9 | z1 = 8d | z2 = b9 | z3 = d8 | z0 = d3 | z1 = e8 | z2 = f8 | z3 = e3 |
T0 = g(R0) = e98db9d8 | T1 = g(ROL(R1, 8)) = d3e8f8e3 |
|
|
|
|
R15,2 = R14,0 = d8e3df7d | R15,3 = R14,1 = 0af8b597 |
Encryption of block 2, round r=15 |
g input = X = x0x1x2x3 = R15,0 = bb4fb25a |
|
x0 = bb | x1 = 4f | x2 = b2 | x3 = 5a | x0 = 49 | x1 = 03 | x2 = 6f | x3 = dd |
y2,0 = bb | y2,1 = 4f | y2,2 = b2 | y2,3 = 5a | y2,0 = 49 | y2,1 = 03 | y2,2 = 6f | y2,3 = dd |
|
|
|
|
|
|
|
|
y0 = 07 | y1 = 19 | y2 = 5b | y3 = a4 | y0 = a3 | y1 = dd | y2 = 95 | y3 = 8f |
MDS input = Y = y0y1y2y3 = 07195ba4 | MDS input = Y = y0y1y2y3 = a3dd958f |
MDS output = Z = z0z1z2z3 = d48b9ef1 | MDS output = Z = z0z1z2z3 = 6194140b |
z0 = d4 | z1 = 8b | z2 = 9e | z3 = f1 | z0 = 61 | z1 = 94 | z2 = 14 | z3 = 0b |
T0 = g(R0) = d48b9ef1 | T1 = g(ROL(R1, 8)) = 6194140b |
|
|
|
|
R16,2 = R15,0 = bb4fb25a | R16,3 = R15,1 = 036fdd49 |
Encryption of block 2 : Output Whiten |
C0 = R16,2 mod 4 |
C1 = R16,3 mod 4 |
C2 = R16,4 mod 4 |
C3 = R16,5 mod 4 |
Encryption of block 2: Ciphertext result |
c0 = [C0 |
c1 = [C0 |
c2 = [C0 |
c3 = [C0 |
c4 = [C1 |
c5 = [C1 |
c6 = [C1 |
c7 = [C1 |
c8 = [C2 |
c9 = [C2 |
c10 = [C2 |
c11 = [C2 |
c12 = [C3 |
c13 = [C3 |
c14 = [C3 |
c15 = [C3 |
Ciphertext block output = c0c1c2c3c4c5c6c7c8c9c10c11c12c13c14c15 = 4e311045e36a2e3132c57a3c30f06fb3 |
Encryption start: block 3 |
128-bit plaintext block = p0p1p2p3p4p5p6p7p8p9p10p11p12p13p14p15 = 248a8a3528b1b1acfdd1d16e3f51510c |
P0 = p0p1p2p3 = 248a7f35 | P1 = p4p5p6p7 = 28b168ac |
P2 = p8p9p10p11 = fdd1386e | P3 = p12p13p14p15 = 3f51e30c |
Encryption of block 3 : Encryption CBC step: Xor of plaintext block with ciphertext result of previous block |
P '0 = P0 |
P '1 = P1 |
P '2 = P2 |
P '3 = P3 |
Encryption Input Whiten : Block 3 |
R0,0 = P '0 |
R0,1 = P '1 |
R0,2 = P '2 |
R0,3 = P '3 |
Encryption of block 3, round r=0 |
g input = X = x0x1x2x3 = R0,0 = f14aed1a |
|
x0 = f1 | x1 = 4a | x2 = ed | x3 = 1a | x0 = cd | x1 = c9 | x2 = f9 | x3 = dd |
y2,0 = f1 | y2,1 = 4a | y2,2 = ed | y2,3 = 1a | y2,0 = cd | y2,1 = c9 | y2,2 = f9 | y2,3 = dd |
|
|
|
|
|
|
|
|
y0 = 1b | y1 = ed | y2 = 82 | y3 = ba | y0 = c2 | y1 = e3 | y2 = c5 | y3 = 8f |
MDS input = Y = y0y1y2y3 = 1bed82ba | MDS input = Y = y0y1y2y3 = c2e3c58f |
MDS output = Z = z0z1z2z3 = 635039d0 | MDS output = Z = z0z1z2z3 = de4166fe |
z0 = 63 | z1 = 50 | z2 = 39 | z3 = d0 | z0 = de | z1 = 41 | z2 = 66 | z3 = fe |
T0 = g(R0) = 635039d0 | T1 = g(ROL(R1, 8)) = de4166fe |
|
|
|
|
R1,2 = R0,0 = f14aed1a | R1,3 = R0,1 = c9f9ddcd |
Encryption of block 3, round r=1 |
g input = X = x0x1x2x3 = R1,0 = 891675ea |
|
x0 = 89 | x1 = 16 | x2 = 75 | x3 = ea | x0 = ab | x1 = 90 | x2 = cf | x3 = f9 |
y2,0 = 89 | y2,1 = 16 | y2,2 = 75 | y2,3 = ea | y2,0 = ab | y2,1 = 90 | y2,2 = cf | y2,3 = f9 |
|
|
|
|
|
|
|
|
y0 = b5 | y1 = 4c | y2 = 3c | y3 = 74 | y0 = d9 | y1 = f9 | y2 = ee | y3 = cc |
MDS input = Y = y0y1y2y3 = b54c3c74 | MDS input = Y = y0y1y2y3 = d9f9eecc |
MDS output = Z = z0z1z2z3 = 96e21c24 | MDS output = Z = z0z1z2z3 = 123a877d |
z0 = 96 | z1 = e2 | z2 = 1c | z3 = 24 | z0 = 12 | z1 = 3a | z2 = 87 | z3 = 7d |
T0 = g(R0) = 96e21c24 | T1 = g(ROL(R1, 8)) = 123a877d |
|
|
|
|
R2,2 = R1,0 = 891675ea | R2,3 = R1,1 = 90cff9ab |
Encryption of block 3, round r=2 |
g input = X = x0x1x2x3 = R2,0 = 1dbcffb1 |
|
x0 = 1d | x1 = bc | x2 = ff | x3 = b1 | x0 = ab | x1 = 4c | x2 = 6e | x3 = 70 |
y2,0 = 1d | y2,1 = bc | y2,2 = ff | y2,3 = b1 | y2,0 = ab | y2,1 = 4c | y2,2 = 6e | y2,3 = 70 |
|
|
|
|
|
|
|
|
y0 = 25 | y1 = cd | y2 = 5d | y3 = 01 | y0 = d9 | y1 = 06 | y2 = 02 | y3 = be |
MDS input = Y = y0y1y2y3 = 25cd5d01 | MDS input = Y = y0y1y2y3 = d90602be |
MDS output = Z = z0z1z2z3 = 188bc6cc | MDS output = Z = z0z1z2z3 = fa0ca6f9 |
z0 = 18 | z1 = 8b | z2 = c6 | z3 = cc | z0 = fa | z1 = 0c | z2 = a6 | z3 = f9 |
T0 = g(R0) = 188bc6cc | T1 = g(ROL(R1, 8)) = fa0ca6f9 |
|
|
|
|
R3,2 = R2,0 = 1dbcffb1 | R3,3 = R2,1 = 4c6e70ab |
Encryption of block 3, round r=3 |
g input = X = x0x1x2x3 = R3,0 = 1e9a7a06 |
|
x0 = 1e | x1 = 9a | x2 = 7a | x3 = 06 | x0 = 99 | x1 = 35 | x2 = 27 | x3 = b4 |
y2,0 = 1e | y2,1 = 9a | y2,2 = 7a | y2,3 = 06 | y2,0 = 99 | y2,1 = 35 | y2,2 = 27 | y2,3 = b4 |
|
|
|
|
|
|
|
|
y0 = 4f | y1 = 8e | y2 = c7 | y3 = cd | y0 = b3 | y1 = 4b | y2 = a3 | y3 = 5f |
MDS input = Y = y0y1y2y3 = 4f8ec7cd | MDS input = Y = y0y1y2y3 = b34ba35f |
MDS output = Z = z0z1z2z3 = adee89c4 | MDS output = Z = z0z1z2z3 = 5688b5f1 |
z0 = ad | z1 = ee | z2 = 89 | z3 = c4 | z0 = 56 | z1 = 88 | z2 = b5 | z3 = f1 |
T0 = g(R0) = adee89c4 | T1 = g(ROL(R1, 8)) = 5688b5f1 |
|
|
|
|
R4,2 = R3,0 = 1e9a7a06 | R4,3 = R3,1 = 3527b499 |
Encryption of block 3, round r=4 |
g input = X = x0x1x2x3 = R4,0 = 9b16bc5d |
|
x0 = 9b | x1 = 16 | x2 = bc | x3 = 5d | x0 = 9a | x1 = 60 | x2 = 00 | x3 = 0f |
y2,0 = 9b | y2,1 = 16 | y2,2 = bc | y2,3 = 5d | y2,0 = 9a | y2,1 = 60 | y2,2 = 00 | y2,3 = 0f |
|
|
|
|
|
|
|
|
y0 = 6f | y1 = 4c | y2 = 4d | y3 = 5b | y0 = 4a | y1 = e5 | y2 = fe | y3 = e9 |
MDS input = Y = y0y1y2y3 = 6f4c4d5b | MDS input = Y = y0y1y2y3 = 4ae5fee9 |
MDS output = Z = z0z1z2z3 = b12e3160 | MDS output = Z = z0z1z2z3 = f64ff8af |
z0 = b1 | z1 = 2e | z2 = 31 | z3 = 60 | z0 = f6 | z1 = 4f | z2 = f8 | z3 = af |
T0 = g(R0) = b12e3160 | T1 = g(ROL(R1, 8)) = f64ff8af |
|
|
|
|
R5,2 = R4,0 = 9b16bc5d | R5,3 = R4,1 = 60000f9a |
Encryption of block 3, round r=5 |
g input = X = x0x1x2x3 = R5,0 = efed7b0d |
|
x0 = ef | x1 = ed | x2 = 7b | x3 = 0d | x0 = bf | x1 = 93 | x2 = c0 | x3 = bc |
y2,0 = ef | y2,1 = ed | y2,2 = 7b | y2,3 = 0d | y2,0 = bf | y2,1 = 93 | y2,2 = c0 | y2,3 = bc |
|
|
|
|
|
|
|
|
y0 = 68 | y1 = b0 | y2 = da | y3 = 2f | y0 = 57 | y1 = f1 | y2 = 0e | y3 = 1e |
MDS input = Y = y0y1y2y3 = 68b0da2f | MDS input = Y = y0y1y2y3 = 57f10e1e |
MDS output = Z = z0z1z2z3 = 3eac6909 | MDS output = Z = z0z1z2z3 = 185708d1 |
z0 = 3e | z1 = ac | z2 = 69 | z3 = 09 | z0 = 18 | z1 = 57 | z2 = 08 | z3 = d1 |
T0 = g(R0) = 3eac6909 | T1 = g(ROL(R1, 8)) = 185708d1 |
|
|
|
|
R6,2 = R5,0 = efed7b0d | R6,3 = R5,1 = 93c0bcbf |
Encryption of block 3, round r=6 |
g input = X = x0x1x2x3 = R6,0 = 58286f70 |
|
x0 = 58 | x1 = 28 | x2 = 6f | x3 = 70 | x0 = a0 | x1 = cc | x2 = e6 | x3 = 91 |
y2,0 = 58 | y2,1 = 28 | y2,2 = 6f | y2,3 = 70 | y2,0 = a0 | y2,1 = cc | y2,2 = e6 | y2,3 = 91 |
|
|
|
|
|
|
|
|
y0 = 2c | y1 = ad | y2 = 95 | y3 = be | y0 = 86 | y1 = cb | y2 = b7 | y3 = 8c |
MDS input = Y = y0y1y2y3 = 2cad95be | MDS input = Y = y0y1y2y3 = 86cbb78c |
MDS output = Z = z0z1z2z3 = ddb302ad | MDS output = Z = z0z1z2z3 = 9bc219af |
z0 = dd | z1 = b3 | z2 = 02 | z3 = ad | z0 = 9b | z1 = c2 | z2 = 19 | z3 = af |
T0 = g(R0) = ddb302ad | T1 = g(ROL(R1, 8)) = 9bc219af |
|
|
|
|
R7,2 = R6,0 = 58286f70 | R7,3 = R6,1 = cce691a0 |
Encryption of block 3, round r=7 |
g input = X = x0x1x2x3 = R7,0 = 0e1bc052 |
|
x0 = 0e | x1 = 1b | x2 = c0 | x3 = 52 | x0 = 3d | x1 = 13 | x2 = 43 | x3 = 61 |
y2,0 = 0e | y2,1 = 1b | y2,2 = c0 | y2,3 = 52 | y2,0 = 3d | y2,1 = 13 | y2,2 = 43 | y2,3 = 61 |
|
|
|
|
|
|
|
|
y0 = cb | y1 = 08 | y2 = 0e | y3 = 72 | y0 = 88 | y1 = 45 | y2 = 92 | y3 = 5c |
MDS input = Y = y0y1y2y3 = cb080e72 | MDS input = Y = y0y1y2y3 = 8845925c |
MDS output = Z = z0z1z2z3 = a6d521aa | MDS output = Z = z0z1z2z3 = 592517ab |
z0 = a6 | z1 = d5 | z2 = 21 | z3 = aa | z0 = 59 | z1 = 25 | z2 = 17 | z3 = ab |
T0 = g(R0) = a6d521aa | T1 = g(ROL(R1, 8)) = 592517ab |
|
|
|
|
R8,2 = R7,0 = 0e1bc052 | R8,3 = R7,1 = 1343613d |
Encryption of block 3, round r=8 |
g input = X = x0x1x2x3 = R8,0 = bef1c110 |
|
x0 = be | x1 = f1 | x2 = c1 | x3 = 10 | x0 = e7 | x1 = da | x2 = f2 | x3 = 9d |
y2,0 = be | y2,1 = f1 | y2,2 = c1 | y2,3 = 10 | y2,0 = e7 | y2,1 = da | y2,2 = f2 | y2,3 = 9d |
|
|
|
|
|
|
|
|
y0 = 34 | y1 = 17 | y2 = ca | y3 = 39 | y0 = a9 | y1 = e7 | y2 = 80 | y3 = d9 |
MDS input = Y = y0y1y2y3 = 3417ca39 | MDS input = Y = y0y1y2y3 = a9e780d9 |
MDS output = Z = z0z1z2z3 = 566ad070 | MDS output = Z = z0z1z2z3 = 4b17e48b |
z0 = 56 | z1 = 6a | z2 = d0 | z3 = 70 | z0 = 4b | z1 = 17 | z2 = e4 | z3 = 8b |
T0 = g(R0) = 566ad070 | T1 = g(ROL(R1, 8)) = 4b17e48b |
|
|
|
|
R9,2 = R8,0 = bef1c110 | R9,3 = R8,1 = daf29de7 |
Encryption of block 3, round r=9 |
g input = X = x0x1x2x3 = R9,0 = 1b4e9d23 |
|
x0 = 1b | x1 = 4e | x2 = 9d | x3 = 23 | x0 = 7a | x1 = 9e | x2 = 16 | x3 = 4b |
y2,0 = 1b | y2,1 = 4e | y2,2 = 9d | y2,3 = 23 | y2,0 = 7a | y2,1 = 9e | y2,2 = 16 | y2,3 = 4b |
|
|
|
|
|
|
|
|
y0 = 20 | y1 = 97 | y2 = 30 | y3 = e1 | y0 = db | y1 = bb | y2 = b1 | y3 = 76 |
MDS input = Y = y0y1y2y3 = 209730e1 | MDS input = Y = y0y1y2y3 = dbbbb176 |
MDS output = Z = z0z1z2z3 = 3c4e1308 | MDS output = Z = z0z1z2z3 = 51ccf495 |
z0 = 3c | z1 = 4e | z2 = 13 | z3 = 08 | z0 = 51 | z1 = cc | z2 = f4 | z3 = 95 |
T0 = g(R0) = 3c4e1308 | T1 = g(ROL(R1, 8)) = 51ccf495 |
|
|
|
|
R10,2 = R9,0 = 1b4e9d23 | R10,3 = R9,1 = 9e164b7a |
Encryption of block 3, round r=10 |
g input = X = x0x1x2x3 = R10,0 = 6e1e7a1c |
|
x0 = 6e | x1 = 1e | x2 = 7a | x3 = 1c | x0 = 8b | x1 = f1 | x2 = fc | x3 = 6d |
y2,0 = 6e | y2,1 = 1e | y2,2 = 7a | y2,3 = 1c | y2,0 = 8b | y2,1 = f1 | y2,2 = fc | y2,3 = 6d |
|
|
|
|
|
|
|
|
y0 = b2 | y1 = d5 | y2 = c7 | y3 = ed | y0 = fd | y1 = 17 | y2 = e3 | y3 = ea |
MDS input = Y = y0y1y2y3 = b2d5c7ed | MDS input = Y = y0y1y2y3 = fd17e3ea |
MDS output = Z = z0z1z2z3 = 426c40e5 | MDS output = Z = z0z1z2z3 = efc15cd1 |
z0 = 42 | z1 = 6c | z2 = 40 | z3 = e5 | z0 = ef | z1 = c1 | z2 = 5c | z3 = d1 |
T0 = g(R0) = 426c40e5 | T1 = g(ROL(R1, 8)) = efc15cd1 |
|
|
|
|
R11,2 = R10,0 = 6e1e7a1c | R11,3 = R10,1 = f1fc6d8b |
Encryption of block 3, round r=11 |
g input = X = x0x1x2x3 = R11,0 = 1a5a27e6 |
|
x0 = 1a | x1 = 5a | x2 = 27 | x3 = e6 | x0 = ed | x1 = c4 | x2 = 6e | x3 = 22 |
y2,0 = 1a | y2,1 = 5a | y2,2 = 27 | y2,3 = e6 | y2,0 = ed | y2,1 = c4 | y2,2 = 6e | y2,3 = 22 |
|
|
|
|
|
|
|
|
y0 = f4 | y1 = 2f | y2 = a3 | y3 = 9d | y0 = 85 | y1 = 33 | y2 = 02 | y3 = 73 |
MDS input = Y = y0y1y2y3 = f42fa39d | MDS input = Y = y0y1y2y3 = 85330273 |
MDS output = Z = z0z1z2z3 = 18bdc0fc | MDS output = Z = z0z1z2z3 = ce46d70d |
z0 = 18 | z1 = bd | z2 = c0 | z3 = fc | z0 = ce | z1 = 46 | z2 = d7 | z3 = 0d |
T0 = g(R0) = 18bdc0fc | T1 = g(ROL(R1, 8)) = ce46d70d |
|
|
|
|
R12,2 = R11,0 = 1a5a27e6 | R12,3 = R11,1 = c46e22ed |
Encryption of block 3, round r=12 |
g input = X = x0x1x2x3 = R12,0 = c69745ef |
|
x0 = c6 | x1 = 97 | x2 = 45 | x3 = ef | x0 = 74 | x1 = b3 | x2 = 65 | x3 = c5 |
y2,0 = c6 | y2,1 = 97 | y2,2 = 45 | y2,3 = ef | y2,0 = 74 | y2,1 = b3 | y2,2 = 65 | y2,3 = c5 |
|
|
|
|
|
|
|
|
y0 = ff | y1 = 49 | y2 = 87 | y3 = ee | y0 = 49 | y1 = 90 | y2 = ec | y3 = c6 |
MDS input = Y = y0y1y2y3 = ff4987ee | MDS input = Y = y0y1y2y3 = 4990ecc6 |
MDS output = Z = z0z1z2z3 = 47ee7572 | MDS output = Z = z0z1z2z3 = 219ae9e3 |
z0 = 47 | z1 = ee | z2 = 75 | z3 = 72 | z0 = 21 | z1 = 9a | z2 = e9 | z3 = e3 |
T0 = g(R0) = 47ee7572 | T1 = g(ROL(R1, 8)) = 219ae9e3 |
|
|
|
|
R13,2 = R12,0 = c69745ef | R13,3 = R12,1 = b365c574 |
Encryption of block 3, round r=13 |
g input = X = x0x1x2x3 = R13,0 = b2c2220f |
|
x0 = b2 | x1 = c2 | x2 = 22 | x3 = 0f | x0 = 47 | x1 = cf | x2 = 13 | x3 = 05 |
y2,0 = b2 | y2,1 = c2 | y2,2 = 22 | y2,3 = 0f | y2,0 = 47 | y2,1 = cf | y2,2 = 13 | y2,3 = 05 |
|
|
|
|
|
|
|
|
y0 = 04 | y1 = 93 | y2 = 65 | y3 = e9 | y0 = 0f | y1 = 68 | y2 = 0b | y3 = e3 |
MDS input = Y = y0y1y2y3 = 049365e9 | MDS input = Y = y0y1y2y3 = 0f680be3 |
MDS output = Z = z0z1z2z3 = 0fe872bd | MDS output = Z = z0z1z2z3 = 9b11d85a |
z0 = 0f | z1 = e8 | z2 = 72 | z3 = bd | z0 = 9b | z1 = 11 | z2 = d8 | z3 = 5a |
T0 = g(R0) = 0fe872bd | T1 = g(ROL(R1, 8)) = 9b11d85a |
|
|
|
|
R14,2 = R13,0 = b2c2220f | R14,3 = R13,1 = cf130547 |
Encryption of block 3, round r=14 |
g input = X = x0x1x2x3 = R14,0 = e9ba8d71 |
|
x0 = e9 | x1 = ba | x2 = 8d | x3 = 71 | x0 = 40 | x1 = 5e | x2 = 2f | x3 = 79 |
y2,0 = e9 | y2,1 = ba | y2,2 = 8d | y2,3 = 71 | y2,0 = 40 | y2,1 = 5e | y2,2 = 2f | y2,3 = 79 |
|
|
|
|
|
|
|
|
y0 = 1f | y1 = a7 | y2 = af | y3 = dc | y0 = 91 | y1 = c1 | y2 = 46 | y3 = 90 |
MDS input = Y = y0y1y2y3 = 1fa7afdc | MDS input = Y = y0y1y2y3 = 91c14690 |
MDS output = Z = z0z1z2z3 = 19240788 | MDS output = Z = z0z1z2z3 = b9c002a6 |
z0 = 19 | z1 = 24 | z2 = 07 | z3 = 88 | z0 = b9 | z1 = c0 | z2 = 02 | z3 = a6 |
T0 = g(R0) = 19240788 | T1 = g(ROL(R1, 8)) = b9c002a6 |
|
|
|
|
R15,2 = R14,0 = e9ba8d71 | R15,3 = R14,1 = 5e2f7940 |
Encryption of block 3, round r=15 |
g input = X = x0x1x2x3 = R15,0 = 0293fb7a |
|
x0 = 02 | x1 = 93 | x2 = fb | x3 = 7a | x0 = 7d | x1 = 16 | x2 = 21 | x3 = 5b |
y2,0 = 02 | y2,1 = 93 | y2,2 = fb | y2,3 = 7a | y2,0 = 7d | y2,1 = 16 | y2,2 = 21 | y2,3 = 5b |
|
|
|
|
|
|
|
|
y0 = a5 | y1 = f1 | y2 = c4 | y3 = ff | y0 = ef | y1 = 4c | y2 = d5 | y3 = a9 |
MDS input = Y = y0y1y2y3 = a5f1c4ff | MDS input = Y = y0y1y2y3 = ef4cd5a9 |
MDS output = Z = z0z1z2z3 = 25e58678 | MDS output = Z = z0z1z2z3 = f58e4a08 |
z0 = 25 | z1 = e5 | z2 = 86 | z3 = 78 | z0 = f5 | z1 = 8e | z2 = 4a | z3 = 08 |
T0 = g(R0) = 25e58678 | T1 = g(ROL(R1, 8)) = f58e4a08 |
|
|
|
|
R16,2 = R15,0 = 0293fb7a | R16,3 = R15,1 = 16215b7d |
Encryption of block 3 : Output Whiten |
C0 = R16,2 mod 4 |
C1 = R16,3 mod 4 |
C2 = R16,4 mod 4 |
C3 = R16,5 mod 4 |
Encryption of block 3: Ciphertext result |
c0 = [C0 |
c1 = [C0 |
c2 = [C0 |
c3 = [C0 |
c4 = [C1 |
c5 = [C1 |
c6 = [C1 |
c7 = [C1 |
c8 = [C2 |
c9 = [C2 |
c10 = [C2 |
c11 = [C2 |
c12 = [C3 |
c13 = [C3 |
c14 = [C3 |
c15 = [C3 |
Ciphertext block output = c0c1c2c3c4c5c6c7c8c9c10c11c12c13c14c15 = f7ed5965f624a805a73f6c7c1001a29b |
Encryption start: block 4 |
128-bit plaintext block = p0p1p2p3p4p5p6p7p8p9p10p11p12p13p14p15 = 90afaf1bb288884f2c3232239b2626e6 |
P0 = p0p1p2p3 = 90afe91b | P1 = p4p5p6p7 = b288544f |
P2 = p8p9p10p11 = 2c32dc23 | P3 = p12p13p14p15 = 9b2635e6 |
Encryption of block 4 : Encryption CBC step: Xor of plaintext block with ciphertext result of previous block |
P '0 = P0 |
P '1 = P1 |
P '2 = P2 |
P '3 = P3 |
Encryption Input Whiten : Block 4 |
R0,0 = P '0 |
R0,1 = P '1 |
R0,2 = P '2 |
R0,3 = P '3 |
Encryption of block 4, round r=0 |
g input = X = x0x1x2x3 = R0,0 = fcb33214 |
|
x0 = fc | x1 = b3 | x2 = 32 | x3 = 14 | x0 = 1a | x1 = 46 | x2 = 8e | x3 = 67 |
y2,0 = fc | y2,1 = b3 | y2,2 = 32 | y2,3 = 14 | y2,0 = 1a | y2,1 = 46 | y2,2 = 8e | y2,3 = 67 |
|
|
|
|
|
|
|
|
y0 = 92 | y1 = 90 | y2 = 40 | y3 = d2 | y0 = f4 | y1 = f5 | y2 = db | y3 = cb |
MDS input = Y = y0y1y2y3 = 929040d2 | MDS input = Y = y0y1y2y3 = f4f5dbcb |
MDS output = Z = z0z1z2z3 = 6c5c84f9 | MDS output = Z = z0z1z2z3 = bc843c8b |
z0 = 6c | z1 = 5c | z2 = 84 | z3 = f9 | z0 = bc | z1 = 84 | z2 = 3c | z3 = 8b |
T0 = g(R0) = 6c5c84f9 | T1 = g(ROL(R1, 8)) = bc843c8b |
|
|
|
|
R1,2 = R0,0 = fcb33214 | R1,3 = R0,1 = 468e671a |
Encryption of block 4, round r=1 |
g input = X = x0x1x2x3 = R1,0 = beb59c49 |
|
x0 = be | x1 = b5 | x2 = 9c | x3 = 49 | x0 = 62 | x1 = dc | x2 = 74 | x3 = d6 |
y2,0 = be | y2,1 = b5 | y2,2 = 9c | y2,3 = 49 | y2,0 = 62 | y2,1 = dc | y2,2 = 74 | y2,3 = d6 |
|
|
|
|
|
|
|
|
y0 = 34 | y1 = 18 | y2 = 2d | y3 = f8 | y0 = a0 | y1 = c7 | y2 = cf | y3 = 22 |
MDS input = Y = y0y1y2y3 = 34182df8 | MDS input = Y = y0y1y2y3 = a0c7cf22 |
MDS output = Z = z0z1z2z3 = 9c0daa23 | MDS output = Z = z0z1z2z3 = e3a48040 |
z0 = 9c | z1 = 0d | z2 = aa | z3 = 23 | z0 = e3 | z1 = a4 | z2 = 80 | z3 = 40 |
T0 = g(R0) = 9c0daa23 | T1 = g(ROL(R1, 8)) = e3a48040 |
|
|
|
|
R2,2 = R1,0 = beb59c49 | R2,3 = R1,1 = dc74d662 |
Encryption of block 4, round r=2 |
g input = X = x0x1x2x3 = R2,0 = ae3dd597 |
|
x0 = ae | x1 = 3d | x2 = d5 | x3 = 97 | x0 = 82 | x1 = 0b | x2 = 82 | x3 = 84 |
y2,0 = ae | y2,1 = 3d | y2,2 = d5 | y2,3 = 97 | y2,0 = 82 | y2,1 = 0b | y2,2 = 82 | y2,3 = 84 |
|
|
|
|
|
|
|
|
y0 = 16 | y1 = 89 | y2 = 88 | y3 = e4 | y0 = f7 | y1 = 12 | y2 = 17 | y3 = 13 |
MDS input = Y = y0y1y2y3 = 168988e4 | MDS input = Y = y0y1y2y3 = f7121713 |
MDS output = Z = z0z1z2z3 = 60ac7a16 | MDS output = Z = z0z1z2z3 = 59df1a43 |
z0 = 60 | z1 = ac | z2 = 7a | z3 = 16 | z0 = 59 | z1 = df | z2 = 1a | z3 = 43 |
T0 = g(R0) = 60ac7a16 | T1 = g(ROL(R1, 8)) = 59df1a43 |
|
|
|
|
R3,2 = R2,0 = ae3dd597 | R3,3 = R2,1 = 0b828482 |
Encryption of block 4, round r=3 |
g input = X = x0x1x2x3 = R3,0 = f1d11a18 |
|
x0 = f1 | x1 = d1 | x2 = 1a | x3 = 18 | x0 = 6f | x1 = a2 | x2 = 97 | x3 = 49 |
y2,0 = f1 | y2,1 = d1 | y2,2 = 1a | y2,3 = 18 | y2,0 = 6f | y2,1 = a2 | y2,2 = 97 | y2,3 = 49 |
|
|
|
|
|
|
|
|
y0 = 1b | y1 = 8f | y2 = 7c | y3 = b6 | y0 = f6 | y1 = 98 | y2 = d7 | y3 = f8 |
MDS input = Y = y0y1y2y3 = 1b8f7cb6 | MDS input = Y = y0y1y2y3 = f698d7f8 |
MDS output = Z = z0z1z2z3 = e6a900b7 | MDS output = Z = z0z1z2z3 = cea6d789 |
z0 = e6 | z1 = a9 | z2 = 00 | z3 = b7 | z0 = ce | z1 = a6 | z2 = d7 | z3 = 89 |
T0 = g(R0) = e6a900b7 | T1 = g(ROL(R1, 8)) = cea6d789 |
|
|
|
|
R4,2 = R3,0 = f1d11a18 | R4,3 = R3,1 = a297496f |
Encryption of block 4, round r=4 |
g input = X = x0x1x2x3 = R4,0 = b9ab7a01 |
|
x0 = b9 | x1 = ab | x2 = 7a | x3 = 01 | x0 = ea | x1 = 35 | x2 = d1 | x3 = a3 |
y2,0 = b9 | y2,1 = ab | y2,2 = 7a | y2,3 = 01 | y2,0 = ea | y2,1 = 35 | y2,2 = d1 | y2,3 = a3 |
|
|
|
|
|
|
|
|
y0 = 54 | y1 = 72 | y2 = c7 | y3 = d8 | y0 = 48 | y1 = 4b | y2 = 81 | y3 = 1b |
MDS input = Y = y0y1y2y3 = 5472c7d8 | MDS input = Y = y0y1y2y3 = 484b811b |
MDS output = Z = z0z1z2z3 = 41b5f438 | MDS output = Z = z0z1z2z3 = 666802c9 |
z0 = 41 | z1 = b5 | z2 = f4 | z3 = 38 | z0 = 66 | z1 = 68 | z2 = 02 | z3 = c9 |
T0 = g(R0) = 41b5f438 | T1 = g(ROL(R1, 8)) = 666802c9 |
|
|
|
|
R5,2 = R4,0 = b9ab7a01 | R5,3 = R4,1 = 35d1a3ea |
Encryption of block 4, round r=5 |
g input = X = x0x1x2x3 = R5,0 = 9818208b |
|
x0 = 98 | x1 = 18 | x2 = 20 | x3 = 8b | x0 = 49 | x1 = 2c | x2 = 69 | x3 = 3f |
y2,0 = 98 | y2,1 = 18 | y2,2 = 20 | y2,3 = 8b | y2,0 = 49 | y2,1 = 2c | y2,2 = 69 | y2,3 = 3f |
|
|
|
|
|
|
|
|
y0 = 14 | y1 = 1e | y2 = e4 | y3 = b1 | y0 = a3 | y1 = 78 | y2 = f3 | y3 = 4b |
MDS input = Y = y0y1y2y3 = 141ee4b1 | MDS input = Y = y0y1y2y3 = a378f34b |
MDS output = Z = z0z1z2z3 = acad796d | MDS output = Z = z0z1z2z3 = 6f9833a3 |
z0 = ac | z1 = ad | z2 = 79 | z3 = 6d | z0 = 6f | z1 = 98 | z2 = 33 | z3 = a3 |
T0 = g(R0) = acad796d | T1 = g(ROL(R1, 8)) = 6f9833a3 |
|
|
|
|
R6,2 = R5,0 = 9818208b | R6,3 = R5,1 = 2c693f49 |
Encryption of block 4, round r=6 |
g input = X = x0x1x2x3 = R6,0 = a49173f9 |
|
x0 = a4 | x1 = 91 | x2 = 73 | x3 = f9 | x0 = 49 | x1 = 42 | x2 = c8 | x3 = b1 |
y2,0 = a4 | y2,1 = 91 | y2,2 = 73 | y2,3 = f9 | y2,0 = 49 | y2,1 = 42 | y2,2 = c8 | y2,3 = b1 |
|
|
|
|
|
|
|
|
y0 = 29 | y1 = d3 | y2 = 9e | y3 = cc | y0 = a3 | y1 = 00 | y2 = 47 | y3 = 01 |
MDS input = Y = y0y1y2y3 = 29d39ecc | MDS input = Y = y0y1y2y3 = a3004701 |
MDS output = Z = z0z1z2z3 = 0f23d7b7 | MDS output = Z = z0z1z2z3 = 404b28f4 |
z0 = 0f | z1 = 23 | z2 = d7 | z3 = b7 | z0 = 40 | z1 = 4b | z2 = 28 | z3 = f4 |
T0 = g(R0) = 0f23d7b7 | T1 = g(ROL(R1, 8)) = 404b28f4 |
|
|
|
|
R7,2 = R6,0 = a49173f9 | R7,3 = R6,1 = 42c8b149 |
Encryption of block 4, round r=7 |
g input = X = x0x1x2x3 = R7,0 = a965ff39 |
|
x0 = a9 | x1 = 65 | x2 = ff | x3 = 39 | x0 = 45 | x1 = e8 | x2 = 90 | x3 = 74 |
y2,0 = a9 | y2,1 = 65 | y2,2 = ff | y2,3 = 39 | y2,0 = 45 | y2,1 = e8 | y2,2 = 90 | y2,3 = 74 |
|
|
|
|
|
|
|
|
y0 = 2b | y1 = c4 | y2 = 5d | y3 = 0d | y0 = ca | y1 = f7 | y2 = b5 | y3 = 52 |
MDS input = Y = y0y1y2y3 = 2bc45d0d | MDS input = Y = y0y1y2y3 = caf7b552 |
MDS output = Z = z0z1z2z3 = f8df2074 | MDS output = Z = z0z1z2z3 = 11d96300 |
z0 = f8 | z1 = df | z2 = 20 | z3 = 74 | z0 = 11 | z1 = d9 | z2 = 63 | z3 = 00 |
T0 = g(R0) = f8df2074 | T1 = g(ROL(R1, 8)) = 11d96300 |
|
|
|
|
R8,2 = R7,0 = a965ff39 | R8,3 = R7,1 = e8907445 |
Encryption of block 4, round r=8 |
g input = X = x0x1x2x3 = R8,0 = 458c2544 |
|
x0 = 45 | x1 = 8c | x2 = 25 | x3 = 44 | x0 = 88 | x1 = 81 | x2 = 21 | x3 = 35 |
y2,0 = 45 | y2,1 = 8c | y2,2 = 25 | y2,3 = 44 | y2,0 = 88 | y2,1 = 81 | y2,2 = 21 | y2,3 = 35 |
|
|
|
|
|
|
|
|
y0 = ca | y1 = 73 | y2 = 1a | y3 = 8a | y0 = 37 | y1 = 48 | y2 = d5 | y3 = 50 |
MDS input = Y = y0y1y2y3 = ca731a8a | MDS input = Y = y0y1y2y3 = 3748d550 |
MDS output = Z = z0z1z2z3 = 726febe3 | MDS output = Z = z0z1z2z3 = b79e9813 |
z0 = 72 | z1 = 6f | z2 = eb | z3 = e3 | z0 = b7 | z1 = 9e | z2 = 98 | z3 = 13 |
T0 = g(R0) = 726febe3 | T1 = g(ROL(R1, 8)) = b79e9813 |
|
|
|
|
R9,2 = R8,0 = 458c2544 | R9,3 = R8,1 = 81213588 |
Encryption of block 4, round r=9 |
g input = X = x0x1x2x3 = R9,0 = 34bb9a94 |
|
x0 = 34 | x1 = bb | x2 = 9a | x3 = 94 | x0 = 09 | x1 = 7c | x2 = 85 | x3 = e4 |
y2,0 = 34 | y2,1 = bb | y2,2 = 9a | y2,3 = 94 | y2,0 = 09 | y2,1 = 7c | y2,2 = 85 | y2,3 = e4 |
|
|
|
|
|
|
|
|
y0 = 76 | y1 = 31 | y2 = d6 | y3 = b0 | y0 = ba | y1 = cc | y2 = 12 | y3 = 4c |
MDS input = Y = y0y1y2y3 = 7631d6b0 | MDS input = Y = y0y1y2y3 = bacc124c |
MDS output = Z = z0z1z2z3 = 76989175 | MDS output = Z = z0z1z2z3 = de5ee945 |
z0 = 76 | z1 = 98 | z2 = 91 | z3 = 75 | z0 = de | z1 = 5e | z2 = e9 | z3 = 45 |
T0 = g(R0) = 76989175 | T1 = g(ROL(R1, 8)) = de5ee945 |
|
|
|
|
R10,2 = R9,0 = 34bb9a94 | R10,3 = R9,1 = 7c85e409 |
Encryption of block 4, round r=10 |
g input = X = x0x1x2x3 = R10,0 = 3693c600 |
|
x0 = 36 | x1 = 93 | x2 = c6 | x3 = 00 | x0 = 01 | x1 = 9b | x2 = cb | x3 = d7 |
y2,0 = 36 | y2,1 = 93 | y2,2 = c6 | y2,3 = 00 | y2,0 = 01 | y2,1 = 9b | y2,2 = cb | y2,3 = d7 |
|
|
|
|
|
|
|
|
y0 = 40 | y1 = f1 | y2 = a4 | y3 = d7 | y0 = c3 | y1 = 1f | y2 = 8c | y3 = 4d |
MDS input = Y = y0y1y2y3 = 40f1a4d7 | MDS input = Y = y0y1y2y3 = c31f8c4d |
MDS output = Z = z0z1z2z3 = 9a039052 | MDS output = Z = z0z1z2z3 = 25f4243a |
z0 = 9a | z1 = 03 | z2 = 90 | z3 = 52 | z0 = 25 | z1 = f4 | z2 = 24 | z3 = 3a |
T0 = g(R0) = 9a039052 | T1 = g(ROL(R1, 8)) = 25f4243a |
|
|
|
|
R11,2 = R10,0 = 3693c600 | R11,3 = R10,1 = 9bcbd701 |
Encryption of block 4, round r=11 |
g input = X = x0x1x2x3 = R11,0 = 44bcb828 |
|
x0 = 44 | x1 = bc | x2 = b8 | x3 = 28 | x0 = 4b | x1 = 44 | x2 = 35 | x3 = 5d |
y2,0 = 44 | y2,1 = bc | y2,2 = b8 | y2,3 = 28 | y2,0 = 4b | y2,1 = 44 | y2,2 = 35 | y2,3 = 5d |
|
|
|
|
|
|
|
|
y0 = d2 | y1 = cd | y2 = b4 | y3 = 25 | y0 = 80 | y1 = 09 | y2 = 06 | y3 = 5b |
MDS input = Y = y0y1y2y3 = d2cdb425 | MDS input = Y = y0y1y2y3 = 8009065b |
MDS output = Z = z0z1z2z3 = 4bc2fb43 | MDS output = Z = z0z1z2z3 = 71aa8dfa |
z0 = 4b | z1 = c2 | z2 = fb | z3 = 43 | z0 = 71 | z1 = aa | z2 = 8d | z3 = fa |
T0 = g(R0) = 4bc2fb43 | T1 = g(ROL(R1, 8)) = 71aa8dfa |
|
|
|
|
R12,2 = R11,0 = 44bcb828 | R12,3 = R11,1 = 44355d4b |
Encryption of block 4, round r=12 |
g input = X = x0x1x2x3 = R12,0 = c70412fb |
|
x0 = c7 | x1 = 04 | x2 = 12 | x3 = fb | x0 = 81 | x1 = ff | x2 = ff | x3 = 69 |
y2,0 = c7 | y2,1 = 04 | y2,2 = 12 | y2,3 = fb | y2,0 = 81 | y2,1 = ff | y2,2 = ff | y2,3 = 69 |
|
|
|
|
|
|
|
|
y0 = 58 | y1 = c9 | y2 = 79 | y3 = c3 | y0 = 7e | y1 = 3e | y2 = 5d | y3 = 6b |
MDS input = Y = y0y1y2y3 = 58c979c3 | MDS input = Y = y0y1y2y3 = 7e3e5d6b |
MDS output = Z = z0z1z2z3 = 09497203 | MDS output = Z = z0z1z2z3 = 6bae2cc1 |
z0 = 09 | z1 = 49 | z2 = 72 | z3 = 03 | z0 = 6b | z1 = ae | z2 = 2c | z3 = c1 |
T0 = g(R0) = 09497203 | T1 = g(ROL(R1, 8)) = 6bae2cc1 |
|
|
|
|
R13,2 = R12,0 = c70412fb | R13,3 = R12,1 = ffff6981 |
Encryption of block 4, round r=13 |
g input = X = x0x1x2x3 = R13,0 = 67790d27 |
|
x0 = 67 | x1 = 79 | x2 = 0d | x3 = 27 | x0 = 7e | x1 = 14 | x2 = 3b | x3 = 7e |
y2,0 = 67 | y2,1 = 79 | y2,2 = 0d | y2,3 = 27 | y2,0 = 7e | y2,1 = 14 | y2,2 = 3b | y2,3 = 7e |
|
|
|
|
|
|
|
|
y0 = ce | y1 = b2 | y2 = 9b | y3 = 69 | y0 = 1c | y1 = 70 | y2 = 09 | y3 = 00 |
MDS input = Y = y0y1y2y3 = ceb29b69 | MDS input = Y = y0y1y2y3 = 1c700900 |
MDS output = Z = z0z1z2z3 = c7f9361f | MDS output = Z = z0z1z2z3 = 19ae7084 |
z0 = c7 | z1 = f9 | z2 = 36 | z3 = 1f | z0 = 19 | z1 = ae | z2 = 70 | z3 = 84 |
T0 = g(R0) = c7f9361f | T1 = g(ROL(R1, 8)) = 19ae7084 |
|
|
|
|
R14,2 = R13,0 = 67790d27 | R14,3 = R13,1 = 143b7e7e |
Encryption of block 4, round r=14 |
g input = X = x0x1x2x3 = R14,0 = 46ca54b6 |
|
x0 = 46 | x1 = ca | x2 = 54 | x3 = b6 | x0 = 5c | x1 = 13 | x2 = d1 | x3 = 3a |
y2,0 = 46 | y2,1 = ca | y2,2 = 54 | y2,3 = b6 | y2,0 = 5c | y2,1 = 13 | y2,2 = d1 | y2,3 = 3a |
|
|
|
|
|
|
|
|
y0 = d1 | y1 = f4 | y2 = c1 | y3 = 91 | y0 = 59 | y1 = 45 | y2 = 81 | y3 = ec |
MDS input = Y = y0y1y2y3 = d1f4c191 | MDS input = Y = y0y1y2y3 = 594581ec |
MDS output = Z = z0z1z2z3 = 26e27807 | MDS output = Z = z0z1z2z3 = ed6ea310 |
z0 = 26 | z1 = e2 | z2 = 78 | z3 = 07 | z0 = ed | z1 = 6e | z2 = a3 | z3 = 10 |
T0 = g(R0) = 26e27807 | T1 = g(ROL(R1, 8)) = ed6ea310 |
|
|
|
|
R15,2 = R14,0 = 46ca54b6 | R15,3 = R14,1 = 13d13a5c |
Encryption of block 4, round r=15 |
g input = X = x0x1x2x3 = R15,0 = c894f261 |
|
x0 = c8 | x1 = 94 | x2 = f2 | x3 = 61 | x0 = b4 | x1 = d5 | x2 = 56 | x3 = f8 |
y2,0 = c8 | y2,1 = 94 | y2,2 = f2 | y2,3 = 61 | y2,0 = b4 | y2,1 = d5 | y2,2 = 56 | y2,3 = f8 |
|
|
|
|
|
|
|
|
y0 = d6 | y1 = d9 | y2 = 80 | y3 = 5c | y0 = 89 | y1 = a9 | y2 = c0 | y3 = 37 |
MDS input = Y = y0y1y2y3 = d6d9805c | MDS input = Y = y0y1y2y3 = 89a9c037 |
MDS output = Z = z0z1z2z3 = 50866c4e | MDS output = Z = z0z1z2z3 = 946f63ec |
z0 = 50 | z1 = 86 | z2 = 6c | z3 = 4e | z0 = 94 | z1 = 6f | z2 = 63 | z3 = ec |
T0 = g(R0) = 50866c4e | T1 = g(ROL(R1, 8)) = 946f63ec |
|
|
|
|
R16,2 = R15,0 = c894f261 | R16,3 = R15,1 = d556f8b4 |
Encryption of block 4 : Output Whiten |
C0 = R16,2 mod 4 |
C1 = R16,3 mod 4 |
C2 = R16,4 mod 4 |
C3 = R16,5 mod 4 |
Encryption of block 4: Ciphertext result |
c0 = [C0 |
c1 = [C0 |
c2 = [C0 |
c3 = [C0 |
c4 = [C1 |
c5 = [C1 |
c6 = [C1 |
c7 = [C1 |
c8 = [C2 |
c9 = [C2 |
c10 = [C2 |
c11 = [C2 |
c12 = [C3 |
c13 = [C3 |
c14 = [C3 |
c15 = [C3 |
Ciphertext block output = c0c1c2c3c4c5c6c7c8c9c10c11c12c13c14c15 = 3dea507e35530bccd5c481fa21530dc5 |
Decryption start for ciphertext block 1 |
ciphertext = c0c1c2c3c4c5c6c7c8c9c10c11c12c13c14c15 = 019f9809de1711858faac3a3ba20fbc3 |
C0 = c0c1c2c3 = 019f9809 | C1 = c4c5c6c7 = de171185 |
C2 = c8c9c10c11 = 8faac3a3 | C3 = c12c13c14c15 = ba20fbc3 |
Decryption Input Unwhiten for block 1 |
R16,0 = C0 |
R16,1 = C1 |
R16,2 = C2 |
R16,3 = C3 |
Decryption of ciphertext block 1, round r=15 |
g input = X = x0x1x2x3 = R16,0 = f4e13a16 |
|
x0 = f4 | x1 = e1 | x2 = 3a | x3 = 16 | x0 = fd | x1 = 3e | x2 = 12 | x3 = e2 |
y2,0 = f4 | y2,1 = e1 | y2,2 = 3a | y2,3 = 16 | y2,0 = fd | y2,1 = 3e | y2,2 = 12 | y2,3 = e2 |
|
|
|
|
|
|
|
|
y0 = 2a | y1 = 86 | y2 = 5e | y3 = 9a | y0 = ad | y1 = 28 | y2 = 79 | y3 = 70 |
MDS input = Y = y0y1y2y3 = 2a865e9a | MDS input = Y = y0y1y2y3 = ad287970 |
MDS output = Z = z0z1z2z3 = 8f8c89dd | MDS output = Z = z0z1z2z3 = ca2f31cf |
z0 = 8f | z1 = 8c | z2 = 89 | z3 = dd | z0 = ca | z1 = 2f | z2 = 31 | z3 = cf |
T0 = g(R0) = 8f8c89dd | T1 = g(ROL(R1, 8)) = ca2f31cf |
|
|
|
|
R15,2 = R16,0 = f4e13a16 | R15,3 = R16,1 = 3e12e2fd |
Decryption of ciphertext block 1, round r=14 |
g input = X = x0x1x2x3 = R15,0 = 7f5fa592 |
|
x0 = 7f | x1 = 5f | x2 = a5 | x3 = 92 | x0 = 65 | x1 = 05 | x2 = b4 | x3 = ed |
y2,0 = 7f | y2,1 = 5f | y2,2 = a5 | y2,3 = 92 | y2,0 = 65 | y2,1 = 05 | y2,2 = b4 | y2,3 = ed |
|
|
|
|
|
|
|
|
y0 = 83 | y1 = 9a | y2 = 62 | y3 = 12 | y0 = b4 | y1 = 1b | y2 = 04 | y3 = ae |
MDS input = Y = y0y1y2y3 = 839a6212 | MDS input = Y = y0y1y2y3 = b41b04ae |
MDS output = Z = z0z1z2z3 = aae5797f | MDS output = Z = z0z1z2z3 = ca7a52ee |
z0 = aa | z1 = e5 | z2 = 79 | z3 = 7f | z0 = ca | z1 = 7a | z2 = 52 | z3 = ee |
T0 = g(R0) = aae5797f | T1 = g(ROL(R1, 8)) = ca7a52ee |
|
|
|
|
R14,2 = R15,0 = 7f5fa592 | R14,3 = R15,1 = 05b4ed65 |
Decryption of ciphertext block 1, round r=13 |
g input = X = x0x1x2x3 = R14,0 = b0a3ed16 |
|
x0 = b0 | x1 = a3 | x2 = ed | x3 = 16 | x0 = c3 | x1 = 02 | x2 = 97 | x3 = 40 |
y2,0 = b0 | y2,1 = a3 | y2,2 = ed | y2,3 = 16 | y2,0 = c3 | y2,1 = 02 | y2,2 = 97 | y2,3 = 40 |
|
|
|
|
|
|
|
|
y0 = c6 | y1 = a1 | y2 = 82 | y3 = 9a | y0 = 66 | y1 = 7e | y2 = d7 | y3 = d4 |
MDS input = Y = y0y1y2y3 = c6a1829a | MDS input = Y = y0y1y2y3 = 667ed7d4 |
MDS output = Z = z0z1z2z3 = efb934de | MDS output = Z = z0z1z2z3 = 612671b4 |
z0 = ef | z1 = b9 | z2 = 34 | z3 = de | z0 = 61 | z1 = 26 | z2 = 71 | z3 = b4 |
T0 = g(R0) = efb934de | T1 = g(ROL(R1, 8)) = 612671b4 |
|
|
|
|
R13,2 = R14,0 = b0a3ed16 | R13,3 = R14,1 = 029740c3 |
Decryption of ciphertext block 1, round r=12 |
g input = X = x0x1x2x3 = R13,0 = 4576f3a3 |
|
x0 = 45 | x1 = 76 | x2 = f3 | x3 = a3 | x0 = 8c | x1 = d0 | x2 = 35 | x3 = 05 |
y2,0 = 45 | y2,1 = 76 | y2,2 = f3 | y2,3 = a3 | y2,0 = 8c | y2,1 = d0 | y2,2 = 35 | y2,3 = 05 |
|
|
|
|
|
|
|
|
y0 = ca | y1 = 81 | y2 = fd | y3 = 1b | y0 = df | y1 = cf | y2 = 06 | y3 = e3 |
MDS input = Y = y0y1y2y3 = ca81fd1b | MDS input = Y = y0y1y2y3 = dfcf06e3 |
MDS output = Z = z0z1z2z3 = ae0a6509 | MDS output = Z = z0z1z2z3 = 98943997 |
z0 = ae | z1 = 0a | z2 = 65 | z3 = 09 | z0 = 98 | z1 = 94 | z2 = 39 | z3 = 97 |
T0 = g(R0) = ae0a6509 | T1 = g(ROL(R1, 8)) = 98943997 |
|
|
|
|
R12,2 = R13,0 = 4576f3a3 | R12,3 = R13,1 = d035058c |
Decryption of ciphertext block 1, round r=11 |
g input = X = x0x1x2x3 = R12,0 = 3cb17a6f |
|
x0 = 3c | x1 = b1 | x2 = 7a | x3 = 6f | x0 = ac | x1 = 4c | x2 = 24 | x3 = c8 |
y2,0 = 3c | y2,1 = b1 | y2,2 = 7a | y2,3 = 6f | y2,0 = ac | y2,1 = 4c | y2,2 = 24 | y2,3 = c8 |
|
|
|
|
|
|
|
|
y0 = 13 | y1 = 62 | y2 = c7 | y3 = 3d | y0 = 6b | y1 = 06 | y2 = ff | y3 = e8 |
MDS input = Y = y0y1y2y3 = 1362c73d | MDS input = Y = y0y1y2y3 = 6b06ffe8 |
MDS output = Z = z0z1z2z3 = 9cf48f81 | MDS output = Z = z0z1z2z3 = 2722f42f |
z0 = 9c | z1 = f4 | z2 = 8f | z3 = 81 | z0 = 27 | z1 = 22 | z2 = f4 | z3 = 2f |
T0 = g(R0) = 9cf48f81 | T1 = g(ROL(R1, 8)) = 2722f42f |
|
|
|
|
R11,2 = R12,0 = 3cb17a6f | R11,3 = R12,1 = 4c24c8ac |
Decryption of ciphertext block 1, round r=10 |
g input = X = x0x1x2x3 = R11,0 = 4ba83b2e |
|
x0 = 4b | x1 = a8 | x2 = 3b | x3 = 2e | x0 = 53 | x1 = ab | x2 = 5f | x3 = 91 |
y2,0 = 4b | y2,1 = a8 | y2,2 = 3b | y2,3 = 2e | y2,0 = 53 | y2,1 = ab | y2,2 = 5f | y2,3 = 91 |
|
|
|
|
|
|
|
|
y0 = 80 | y1 = 40 | y2 = 09 | y3 = 6e | y0 = 1a | y1 = 72 | y2 = 5a | y3 = 8c |
MDS input = Y = y0y1y2y3 = 8040096e | MDS input = Y = y0y1y2y3 = 1a725a8c |
MDS output = Z = z0z1z2z3 = 605f4f80 | MDS output = Z = z0z1z2z3 = ae12ccad |
z0 = 60 | z1 = 5f | z2 = 4f | z3 = 80 | z0 = ae | z1 = 12 | z2 = cc | z3 = ad |
T0 = g(R0) = 605f4f80 | T1 = g(ROL(R1, 8)) = ae12ccad |
|
|
|
|
R10,2 = R11,0 = 4ba83b2e | R10,3 = R11,1 = ab5f9153 |
Decryption of ciphertext block 1, round r=9 |
g input = X = x0x1x2x3 = R10,0 = 735ca7b9 |
|
x0 = 73 | x1 = 5c | x2 = a7 | x3 = b9 | x0 = 60 | x1 = 6c | x2 = fe | x3 = b4 |
y2,0 = 73 | y2,1 = 5c | y2,2 = a7 | y2,3 = b9 | y2,0 = 60 | y2,1 = 6c | y2,2 = fe | y2,3 = b4 |
|
|
|
|
|
|
|
|
y0 = f1 | y1 = 20 | y2 = 9c | y3 = 0e | y0 = a2 | y1 = be | y2 = 1d | y3 = 5f |
MDS input = Y = y0y1y2y3 = f1209c0e | MDS input = Y = y0y1y2y3 = a2be1d5f |
MDS output = Z = z0z1z2z3 = cb545137 | MDS output = Z = z0z1z2z3 = 3ee16a8d |
z0 = cb | z1 = 54 | z2 = 51 | z3 = 37 | z0 = 3e | z1 = e1 | z2 = 6a | z3 = 8d |
T0 = g(R0) = cb545137 | T1 = g(ROL(R1, 8)) = 3ee16a8d |
|
|
|
|
R9,2 = R10,0 = 735ca7b9 | R9,3 = R10,1 = 6cfeb460 |
Decryption of ciphertext block 1, round r=8 |
g input = X = x0x1x2x3 = R9,0 = 48b89e12 |
|
x0 = 48 | x1 = b8 | x2 = 9e | x3 = 12 | x0 = 18 | x1 = 03 | x2 = 8b | x3 = 88 |
y2,0 = 48 | y2,1 = b8 | y2,2 = 9e | y2,3 = 12 | y2,0 = 18 | y2,1 = 03 | y2,2 = 8b | y2,3 = 88 |
|
|
|
|
|
|
|
|
y0 = e2 | y1 = 5e | y2 = 9a | y3 = 16 | y0 = 9e | y1 = dd | y2 = a1 | y3 = 68 |
MDS input = Y = y0y1y2y3 = e25e9a16 | MDS input = Y = y0y1y2y3 = 9edda168 |
MDS output = Z = z0z1z2z3 = 9fefd4a3 | MDS output = Z = z0z1z2z3 = 553815da |
z0 = 9f | z1 = ef | z2 = d4 | z3 = a3 | z0 = 55 | z1 = 38 | z2 = 15 | z3 = da |
T0 = g(R0) = 9fefd4a3 | T1 = g(ROL(R1, 8)) = 553815da |
|
|
|
|
R8,2 = R9,0 = 48b89e12 | R8,3 = R9,1 = 038b8818 |
Decryption of ciphertext block 1, round r=7 |
g input = X = x0x1x2x3 = R8,0 = 6c957ee4 |
|
x0 = 6c | x1 = 95 | x2 = 7e | x3 = e4 | x0 = d7 | x1 = 3c | x2 = 53 | x3 = a2 |
y2,0 = 6c | y2,1 = 95 | y2,2 = 7e | y2,3 = e4 | y2,0 = d7 | y2,1 = 3c | y2,2 = 53 | y2,3 = a2 |
|
|
|
|
|
|
|
|
y0 = 6e | y1 = 14 | y2 = 1f | y3 = 4c | y0 = 8d | y1 = b8 | y2 = 37 | y3 = dd |
MDS input = Y = y0y1y2y3 = 6e141f4c | MDS input = Y = y0y1y2y3 = 8db837dd |
MDS output = Z = z0z1z2z3 = dcdb81f0 | MDS output = Z = z0z1z2z3 = 2398cd75 |
z0 = dc | z1 = db | z2 = 81 | z3 = f0 | z0 = 23 | z1 = 98 | z2 = cd | z3 = 75 |
T0 = g(R0) = dcdb81f0 | T1 = g(ROL(R1, 8)) = 2398cd75 |
|
|
|
|
R7,2 = R8,0 = 6c957ee4 | R7,3 = R8,1 = 3c53a2d7 |
Decryption of ciphertext block 1, round r=6 |
g input = X = x0x1x2x3 = R7,0 = b4343e46 |
|
x0 = b4 | x1 = 34 | x2 = 3e | x3 = 46 | x0 = 4d | x1 = 07 | x2 = d0 | x3 = 01 |
y2,0 = b4 | y2,1 = 34 | y2,2 = 3e | y2,3 = 46 | y2,0 = 4d | y2,1 = 07 | y2,2 = d0 | y2,3 = 01 |
|
|
|
|
|
|
|
|
y0 = 89 | y1 = 2b | y2 = fc | y3 = 9b | y0 = 0b | y1 = ce | y2 = e1 | y3 = d8 |
MDS input = Y = y0y1y2y3 = 892bfc9b | MDS input = Y = y0y1y2y3 = 0bcee1d8 |
MDS output = Z = z0z1z2z3 = 77b998c4 | MDS output = Z = z0z1z2z3 = 48567c31 |
z0 = 77 | z1 = b9 | z2 = 98 | z3 = c4 | z0 = 48 | z1 = 56 | z2 = 7c | z3 = 31 |
T0 = g(R0) = 77b998c4 | T1 = g(ROL(R1, 8)) = 48567c31 |
|
|
|
|
R6,2 = R7,0 = b4343e46 | R6,3 = R7,1 = 07d0014d |
Decryption of ciphertext block 1, round r=5 |
g input = X = x0x1x2x3 = R6,0 = e35f098a |
|
x0 = e3 | x1 = 5f | x2 = 09 | x3 = 8a | x0 = 44 | x1 = 0a | x2 = de | x3 = e8 |
y2,0 = e3 | y2,1 = 5f | y2,2 = 09 | y2,3 = 8a | y2,0 = 44 | y2,1 = 0a | y2,2 = de | y2,3 = e8 |
|
|
|
|
|
|
|
|
y0 = 75 | y1 = 9a | y2 = 57 | y3 = bd | y0 = d2 | y1 = ac | y2 = 6d | y3 = 23 |
MDS input = Y = y0y1y2y3 = 759a57bd | MDS input = Y = y0y1y2y3 = d2ac6d23 |
MDS output = Z = z0z1z2z3 = 54f9c1dd | MDS output = Z = z0z1z2z3 = ea0eb1fc |
z0 = 54 | z1 = f9 | z2 = c1 | z3 = dd | z0 = ea | z1 = 0e | z2 = b1 | z3 = fc |
T0 = g(R0) = 54f9c1dd | T1 = g(ROL(R1, 8)) = ea0eb1fc |
|
|
|
|
R5,2 = R6,0 = e35f098a | R5,3 = R6,1 = 0adee844 |
Decryption of ciphertext block 1, round r=4 |
g input = X = x0x1x2x3 = R5,0 = 7b221f31 |
|
x0 = 7b | x1 = 22 | x2 = 1f | x3 = 31 | x0 = 46 | x1 = 60 | x2 = 39 | x3 = 9c |
y2,0 = 7b | y2,1 = 22 | y2,2 = 1f | y2,3 = 31 | y2,0 = 46 | y2,1 = 60 | y2,2 = 39 | y2,3 = 9c |
|
|
|
|
|
|
|
|
y0 = 3a | y1 = 38 | y2 = e6 | y3 = 45 | y0 = d1 | y1 = e5 | y2 = 0d | y3 = 5d |
MDS input = Y = y0y1y2y3 = 3a38e645 | MDS input = Y = y0y1y2y3 = d1e50d5d |
MDS output = Z = z0z1z2z3 = 75f7d5b3 | MDS output = Z = z0z1z2z3 = d5446270 |
z0 = 75 | z1 = f7 | z2 = d5 | z3 = b3 | z0 = d5 | z1 = 44 | z2 = 62 | z3 = 70 |
T0 = g(R0) = 75f7d5b3 | T1 = g(ROL(R1, 8)) = d5446270 |
|
|
|
|
R4,2 = R5,0 = 7b221f31 | R4,3 = R5,1 = 60399c46 |
Decryption of ciphertext block 1, round r=3 |
g input = X = x0x1x2x3 = R4,0 = a4408924 |
|
x0 = a4 | x1 = 40 | x2 = 89 | x3 = 24 | x0 = 12 | x1 = b8 | x2 = cf | x3 = d2 |
y2,0 = a4 | y2,1 = 40 | y2,2 = 89 | y2,3 = 24 | y2,0 = 12 | y2,1 = b8 | y2,2 = cf | y2,3 = d2 |
|
|
|
|
|
|
|
|
y0 = 29 | y1 = c0 | y2 = 16 | y3 = 7c | y0 = d5 | y1 = 5e | y2 = ee | y3 = e6 |
MDS input = Y = y0y1y2y3 = 29c0167c | MDS input = Y = y0y1y2y3 = d55eeee6 |
MDS output = Z = z0z1z2z3 = 7d3962d6 | MDS output = Z = z0z1z2z3 = 0d986f47 |
z0 = 7d | z1 = 39 | z2 = 62 | z3 = d6 | z0 = 0d | z1 = 98 | z2 = 6f | z3 = 47 |
T0 = g(R0) = 7d3962d6 | T1 = g(ROL(R1, 8)) = 0d986f47 |
|
|
|
|
R3,2 = R4,0 = a4408924 | R3,3 = R4,1 = b8cfd212 |
Decryption of ciphertext block 1, round r=2 |
g input = X = x0x1x2x3 = R3,0 = 44af2710 |
|
x0 = 44 | x1 = af | x2 = 27 | x3 = 10 | x0 = e6 | x1 = 2b | x2 = 3f | x3 = 50 |
y2,0 = 44 | y2,1 = af | y2,2 = 27 | y2,3 = 10 | y2,0 = e6 | y2,1 = 2b | y2,2 = 3f | y2,3 = 50 |
|
|
|
|
|
|
|
|
y0 = d2 | y1 = fc | y2 = a3 | y3 = 39 | y0 = 18 | y1 = c2 | y2 = 85 | y3 = 18 |
MDS input = Y = y0y1y2y3 = d2fca339 | MDS input = Y = y0y1y2y3 = 18c28518 |
MDS output = Z = z0z1z2z3 = 67569e2a | MDS output = Z = z0z1z2z3 = df29c3c6 |
z0 = 67 | z1 = 56 | z2 = 9e | z3 = 2a | z0 = df | z1 = 29 | z2 = c3 | z3 = c6 |
T0 = g(R0) = 67569e2a | T1 = g(ROL(R1, 8)) = df29c3c6 |
|
|
|
|
R2,2 = R3,0 = 44af2710 | R2,3 = R3,1 = 2b3f50e6 |
Decryption of ciphertext block 1, round r=1 |
g input = X = x0x1x2x3 = R2,0 = a18b6758 |
|
x0 = a1 | x1 = 8b | x2 = 67 | x3 = 58 | x0 = ea | x1 = 4a | x2 = b9 | x3 = 45 |
y2,0 = a1 | y2,1 = 8b | y2,2 = 67 | y2,3 = 58 | y2,0 = ea | y2,1 = 4a | y2,2 = b9 | y2,3 = 45 |
|
|
|
|
|
|
|
|
y0 = d8 | y1 = a5 | y2 = a9 | y3 = 98 | y0 = 48 | y1 = ed | y2 = ce | y3 = 93 |
MDS input = Y = y0y1y2y3 = d8a5a998 | MDS input = Y = y0y1y2y3 = 48edce93 |
MDS output = Z = z0z1z2z3 = 8f7f0fa0 | MDS output = Z = z0z1z2z3 = 16a998e4 |
z0 = 8f | z1 = 7f | z2 = 0f | z3 = a0 | z0 = 16 | z1 = a9 | z2 = 98 | z3 = e4 |
T0 = g(R0) = 8f7f0fa0 | T1 = g(ROL(R1, 8)) = 16a998e4 |
|
|
|
|
R1,2 = R2,0 = a18b6758 | R1,3 = R2,1 = 4ab945ea |
Decryption of ciphertext block 1, round r=0 |
g input = X = x0x1x2x3 = R1,0 = 4f60597c |
|
x0 = 4f | x1 = 60 | x2 = 59 | x3 = 7c | x0 = ce | x1 = e5 | x2 = 93 | x3 = 58 |
y2,0 = 4f | y2,1 = 60 | y2,2 = 59 | y2,3 = 7c | y2,0 = ce | y2,1 = e5 | y2,2 = 93 | y2,3 = 58 |
|
|
|
|
|
|
|
|
y0 = c1 | y1 = e5 | y2 = 66 | y3 = b7 | y0 = c9 | y1 = 5c | y2 = 4e | y3 = 98 |
MDS input = Y = y0y1y2y3 = c1e566b7 | MDS input = Y = y0y1y2y3 = c95c4e98 |
MDS output = Z = z0z1z2z3 = 3ea40416 | MDS output = Z = z0z1z2z3 = fb92865d |
z0 = 3e | z1 = a4 | z2 = 04 | z3 = 16 | z0 = fb | z1 = 92 | z2 = 86 | z3 = 5d |
T0 = g(R0) = 3ea40416 | T1 = g(ROL(R1, 8)) = fb92865d |
|
|
|
|
R0,2 = R1,0 = 4f60597c | R0,3 = R1,1 = e59358ce |
Decryption output unwhiten for block 1 |
P3 = R0,5 mod 4 |
P2 = R0,4 mod 4 |
P1 = R0,3 mod 4 |
P0 = R0,2 mod 4 |
Decryption of block 1 : Decryption CBC step: Xor of output unwhiten result with previous ciphertext block received |
P0 = P '0 |
P1 = P '1 |
P2 = P '2 |
P3 = P '3 |
Plaintext result for decryption of block 1 |
p0 = [P0 |
p1 = [P0 |
p2 = [P0 |
p3 = [P0 |
p4 = [P1 |
p5 = [P1 |
p6 = [P1 |
p7 = [P1 |
p8 = [P2 |
p9 = [P2 |
p10 = [P2 |
p11 = [P2 |
p12 = [P3 |
p13 = [P3 |
p14 = [P3 |
p15 = [P3 |
Plaintext block output = p0p1p2p3p4p5p6p7p8p9p10p11p12p13p14p15 = d491db16e7b1c39e86cb086b789f5419 |
Decryption start for ciphertext block 2 |
ciphertext = c0c1c2c3c4c5c6c7c8c9c10c11c12c13c14c15 = 4e311045e36a2e3132c57a3c30f06fb3 |
C0 = c0c1c2c3 = 4e311045 | C1 = c4c5c6c7 = e36a2e31 |
C2 = c8c9c10c11 = 32c57a3c | C3 = c12c13c14c15 = 30f06fb3 |
Decryption Input Unwhiten for block 2 |
R16,0 = C0 |
R16,1 = C1 |
R16,2 = C2 |
R16,3 = C3 |
Decryption of ciphertext block 2, round r=15 |
g input = X = x0x1x2x3 = R16,0 = bb4fb25a |
|
x0 = bb | x1 = 4f | x2 = b2 | x3 = 5a | x0 = 49 | x1 = 03 | x2 = 6f | x3 = dd |
y2,0 = bb | y2,1 = 4f | y2,2 = b2 | y2,3 = 5a | y2,0 = 49 | y2,1 = 03 | y2,2 = 6f | y2,3 = dd |
|
|
|
|
|
|
|
|
y0 = 07 | y1 = 19 | y2 = 5b | y3 = a4 | y0 = a3 | y1 = dd | y2 = 95 | y3 = 8f |
MDS input = Y = y0y1y2y3 = 07195ba4 | MDS input = Y = y0y1y2y3 = a3dd958f |
MDS output = Z = z0z1z2z3 = d48b9ef1 | MDS output = Z = z0z1z2z3 = 6194140b |
z0 = d4 | z1 = 8b | z2 = 9e | z3 = f1 | z0 = 61 | z1 = 94 | z2 = 14 | z3 = 0b |
T0 = g(R0) = d48b9ef1 | T1 = g(ROL(R1, 8)) = 6194140b |
|
|
|
|
R15,2 = R16,0 = bb4fb25a | R15,3 = R16,1 = 036fdd49 |
Decryption of ciphertext block 2, round r=14 |
g input = X = x0x1x2x3 = R15,0 = d8e3df7d |
|
x0 = d8 | x1 = e3 | x2 = df | x3 = 7d | x0 = 97 | x1 = 0a | x2 = f8 | x3 = b5 |
y2,0 = d8 | y2,1 = e3 | y2,2 = df | y2,3 = 7d | y2,0 = 97 | y2,1 = 0a | y2,2 = f8 | y2,3 = b5 |
|
|
|
|
|
|
|
|
y0 = 36 | y1 = 6a | y2 = 10 | y3 = ef | y0 = f9 | y1 = ac | y2 = ab | y3 = 2a |
MDS input = Y = y0y1y2y3 = 366a10ef | MDS input = Y = y0y1y2y3 = f9acab2a |
MDS output = Z = z0z1z2z3 = e98db9d8 | MDS output = Z = z0z1z2z3 = d3e8f8e3 |
z0 = e9 | z1 = 8d | z2 = b9 | z3 = d8 | z0 = d3 | z1 = e8 | z2 = f8 | z3 = e3 |
T0 = g(R0) = e98db9d8 | T1 = g(ROL(R1, 8)) = d3e8f8e3 |
|
|
|
|
R14,2 = R15,0 = d8e3df7d | R14,3 = R15,1 = 0af8b597 |
Decryption of ciphertext block 2, round r=13 |
g input = X = x0x1x2x3 = R14,0 = d6e91a3c |
|
x0 = d6 | x1 = e9 | x2 = 1a | x3 = 3c | x0 = fb | x1 = c7 | x2 = 57 | x3 = 19 |
y2,0 = d6 | y2,1 = e9 | y2,2 = 1a | y2,3 = 3c | y2,0 = fb | y2,1 = c7 | y2,2 = 57 | y2,3 = 19 |
|
|
|
|
|
|
|
|
y0 = c7 | y1 = 60 | y2 = 7c | y3 = b3 | y0 = a1 | y1 = 92 | y2 = a8 | y3 = 02 |
MDS input = Y = y0y1y2y3 = c7607cb3 | MDS input = Y = y0y1y2y3 = a192a802 |
MDS output = Z = z0z1z2z3 = 9dbe5783 | MDS output = Z = z0z1z2z3 = de4c2ac5 |
z0 = 9d | z1 = be | z2 = 57 | z3 = 83 | z0 = de | z1 = 4c | z2 = 2a | z3 = c5 |
T0 = g(R0) = 9dbe5783 | T1 = g(ROL(R1, 8)) = de4c2ac5 |
|
|
|
|
R13,2 = R14,0 = d6e91a3c | R13,3 = R14,1 = c75719fb |
Decryption of ciphertext block 2, round r=12 |
g input = X = x0x1x2x3 = R13,0 = 55342ac7 |
|
x0 = 55 | x1 = 34 | x2 = 2a | x3 = c7 | x0 = 69 | x1 = a3 | x2 = 64 | x3 = e4 |
y2,0 = 55 | y2,1 = 34 | y2,2 = 2a | y2,3 = c7 | y2,0 = 69 | y2,1 = a3 | y2,2 = 64 | y2,3 = e4 |
|
|
|
|
|
|
|
|
y0 = d0 | y1 = 2b | y2 = 08 | y3 = a2 | y0 = d7 | y1 = a1 | y2 = 6f | y3 = 4c |
MDS input = Y = y0y1y2y3 = d02b08a2 | MDS input = Y = y0y1y2y3 = d7a16f4c |
MDS output = Z = z0z1z2z3 = 8a262497 | MDS output = Z = z0z1z2z3 = 256e1634 |
z0 = 8a | z1 = 26 | z2 = 24 | z3 = 97 | z0 = 25 | z1 = 6e | z2 = 16 | z3 = 34 |
T0 = g(R0) = 8a262497 | T1 = g(ROL(R1, 8)) = 256e1634 |
|
|
|
|
R12,2 = R13,0 = 55342ac7 | R12,3 = R13,1 = a364e469 |
Decryption of ciphertext block 2, round r=11 |
g input = X = x0x1x2x3 = R12,0 = 69380815 |
|
x0 = 69 | x1 = 38 | x2 = 08 | x3 = 15 | x0 = 4c | x1 = ab | x2 = 7c | x3 = a8 |
y2,0 = 69 | y2,1 = 38 | y2,2 = 08 | y2,3 = 15 | y2,0 = 4c | y2,1 = ab | y2,2 = 7c | y2,3 = a8 |
|
|
|
|
|
|
|
|
y0 = d7 | y1 = ae | y2 = 18 | y3 = 46 | y0 = 0d | y1 = 72 | y2 = 74 | y3 = 9c |
MDS input = Y = y0y1y2y3 = d7ae1846 | MDS input = Y = y0y1y2y3 = 0d72749c |
MDS output = Z = z0z1z2z3 = 4c3e3a8c | MDS output = Z = z0z1z2z3 = 3c78bd7c |
z0 = 4c | z1 = 3e | z2 = 3a | z3 = 8c | z0 = 3c | z1 = 78 | z2 = bd | z3 = 7c |
T0 = g(R0) = 4c3e3a8c | T1 = g(ROL(R1, 8)) = 3c78bd7c |
|
|
|
|
R11,2 = R12,0 = 69380815 | R11,3 = R12,1 = ab7ca84c |
Decryption of ciphertext block 2, round r=10 |
g input = X = x0x1x2x3 = R11,0 = 2e8c044f |
|
x0 = 2e | x1 = 8c | x2 = 04 | x3 = 4f | x0 = d3 | x1 = 61 | x2 = 72 | x3 = 40 |
y2,0 = 2e | y2,1 = 8c | y2,2 = 04 | y2,3 = 4f | y2,0 = d3 | y2,1 = 61 | y2,2 = 72 | y2,3 = 40 |
|
|
|
|
|
|
|
|
y0 = 24 | y1 = 73 | y2 = ac | y3 = 1c | y0 = 65 | y1 = 75 | y2 = 00 | y3 = d4 |
MDS input = Y = y0y1y2y3 = 2473ac1c | MDS input = Y = y0y1y2y3 = 657500d4 |
MDS output = Z = z0z1z2z3 = b4ec0786 | MDS output = Z = z0z1z2z3 = 384e1934 |
z0 = b4 | z1 = ec | z2 = 07 | z3 = 86 | z0 = 38 | z1 = 4e | z2 = 19 | z3 = 34 |
T0 = g(R0) = b4ec0786 | T1 = g(ROL(R1, 8)) = 384e1934 |
|
|
|
|
R10,2 = R11,0 = 2e8c044f | R10,3 = R11,1 = 617240d3 |
Decryption of ciphertext block 2, round r=9 |
g input = X = x0x1x2x3 = R10,0 = 3b7648d9 |
|
x0 = 3b | x1 = 76 | x2 = 48 | x3 = d9 | x0 = 99 | x1 = 2b | x2 = 50 | x3 = ae |
y2,0 = 3b | y2,1 = 76 | y2,2 = 48 | y2,3 = d9 | y2,0 = 99 | y2,1 = 2b | y2,2 = 50 | y2,3 = ae |
|
|
|
|
|
|
|
|
y0 = e8 | y1 = 81 | y2 = 43 | y3 = 26 | y0 = b3 | y1 = c2 | y2 = 72 | y3 = 99 |
MDS input = Y = y0y1y2y3 = e8814326 | MDS input = Y = y0y1y2y3 = b3c27299 |
MDS output = Z = z0z1z2z3 = c1d39694 | MDS output = Z = z0z1z2z3 = ab2cb558 |
z0 = c1 | z1 = d3 | z2 = 96 | z3 = 94 | z0 = ab | z1 = 2c | z2 = b5 | z3 = 58 |
T0 = g(R0) = c1d39694 | T1 = g(ROL(R1, 8)) = ab2cb558 |
|
|
|
|
R9,2 = R10,0 = 3b7648d9 | R9,3 = R10,1 = 2b50ae99 |
Decryption of ciphertext block 2, round r=8 |
g input = X = x0x1x2x3 = R9,0 = 1dab70e9 |
|
x0 = 1d | x1 = ab | x2 = 70 | x3 = e9 | x0 = 42 | x1 = 8e | x2 = 16 | x3 = 8d |
y2,0 = 1d | y2,1 = ab | y2,2 = 70 | y2,3 = e9 | y2,0 = 42 | y2,1 = 8e | y2,2 = 16 | y2,3 = 8d |
|
|
|
|
|
|
|
|
y0 = 25 | y1 = 72 | y2 = 23 | y3 = 06 | y0 = e6 | y1 = 0a | y2 = b1 | y3 = af |
MDS input = Y = y0y1y2y3 = 25722306 | MDS input = Y = y0y1y2y3 = e60ab1af |
MDS output = Z = z0z1z2z3 = b0f39971 | MDS output = Z = z0z1z2z3 = f2569c53 |
z0 = b0 | z1 = f3 | z2 = 99 | z3 = 71 | z0 = f2 | z1 = 56 | z2 = 9c | z3 = 53 |
T0 = g(R0) = b0f39971 | T1 = g(ROL(R1, 8)) = f2569c53 |
|
|
|
|
R8,2 = R9,0 = 1dab70e9 | R8,3 = R9,1 = 8e168d42 |
Decryption of ciphertext block 2, round r=7 |
g input = X = x0x1x2x3 = R8,0 = 4ebcec6c |
|
x0 = 4e | x1 = bc | x2 = ec | x3 = 6c | x0 = 84 | x1 = a5 | x2 = e4 | x3 = b6 |
y2,0 = 4e | y2,1 = bc | y2,2 = ec | y2,3 = 6c | y2,0 = 84 | y2,1 = a5 | y2,2 = e4 | y2,3 = b6 |
|
|
|
|
|
|
|
|
y0 = 70 | y1 = cd | y2 = bf | y3 = 6f | y0 = 71 | y1 = f6 | y2 = ea | y3 = 91 |
MDS input = Y = y0y1y2y3 = 70cdbf6f | MDS input = Y = y0y1y2y3 = 71f6ea91 |
MDS output = Z = z0z1z2z3 = e2e05696 | MDS output = Z = z0z1z2z3 = feb33db3 |
z0 = e2 | z1 = e0 | z2 = 56 | z3 = 96 | z0 = fe | z1 = b3 | z2 = 3d | z3 = b3 |
T0 = g(R0) = e2e05696 | T1 = g(ROL(R1, 8)) = feb33db3 |
|
|
|
|
R7,2 = R8,0 = 4ebcec6c | R7,3 = R8,1 = a5e4b684 |
Decryption of ciphertext block 2, round r=6 |
g input = X = x0x1x2x3 = R7,0 = 3e33a994 |
|
x0 = 3e | x1 = 33 | x2 = a9 | x3 = 94 | x0 = f0 | x1 = a3 | x2 = b8 | x3 = e6 |
y2,0 = 3e | y2,1 = 33 | y2,2 = a9 | y2,3 = 94 | y2,0 = f0 | y2,1 = a3 | y2,2 = b8 | y2,3 = e6 |
|
|
|
|
|
|
|
|
y0 = fe | y1 = 1d | y2 = 6c | y3 = b0 | y0 = 45 | y1 = a1 | y2 = b4 | y3 = 9d |
MDS input = Y = y0y1y2y3 = fe1d6cb0 | MDS input = Y = y0y1y2y3 = 45a1b49d |
MDS output = Z = z0z1z2z3 = ef7ee2ca | MDS output = Z = z0z1z2z3 = 0b67e51a |
z0 = ef | z1 = 7e | z2 = e2 | z3 = ca | z0 = 0b | z1 = 67 | z2 = e5 | z3 = 1a |
T0 = g(R0) = ef7ee2ca | T1 = g(ROL(R1, 8)) = 0b67e51a |
|
|
|
|
R6,2 = R7,0 = 3e33a994 | R6,3 = R7,1 = a3b8e6f0 |
Decryption of ciphertext block 2, round r=5 |
g input = X = x0x1x2x3 = R6,0 = e9337eeb |
|
x0 = e9 | x1 = 33 | x2 = 7e | x3 = eb | x0 = d9 | x1 = 41 | x2 = 99 | x3 = 9c |
y2,0 = e9 | y2,1 = 33 | y2,2 = 7e | y2,3 = eb | y2,0 = d9 | y2,1 = 41 | y2,2 = 99 | y2,3 = 9c |
|
|
|
|
|
|
|
|
y0 = 1f | y1 = 1d | y2 = 1f | y3 = a7 | y0 = 11 | y1 = a2 | y2 = bc | y3 = 5d |
MDS input = Y = y0y1y2y3 = 1f1d1fa7 | MDS input = Y = y0y1y2y3 = 11a2bc5d |
MDS output = Z = z0z1z2z3 = 73e6957d | MDS output = Z = z0z1z2z3 = fdb0fb8c |
z0 = 73 | z1 = e6 | z2 = 95 | z3 = 7d | z0 = fd | z1 = b0 | z2 = fb | z3 = 8c |
T0 = g(R0) = 73e6957d | T1 = g(ROL(R1, 8)) = fdb0fb8c |
|
|
|
|
R5,2 = R6,0 = e9337eeb | R5,3 = R6,1 = 41999cd9 |
Decryption of ciphertext block 2, round r=4 |
g input = X = x0x1x2x3 = R5,0 = 38bcd3c4 |
|
x0 = 38 | x1 = bc | x2 = d3 | x3 = c4 | x0 = b8 | x1 = 57 | x2 = 36 | x3 = 22 |
y2,0 = 38 | y2,1 = bc | y2,2 = d3 | y2,3 = c4 | y2,0 = b8 | y2,1 = 57 | y2,2 = 36 | y2,3 = 22 |
|
|
|
|
|
|
|
|
y0 = bc | y1 = cd | y2 = b0 | y3 = f7 | y0 = da | y1 = 0e | y2 = 21 | y3 = 73 |
MDS input = Y = y0y1y2y3 = bccdb0f7 | MDS input = Y = y0y1y2y3 = da0e2173 |
MDS output = Z = z0z1z2z3 = 72d632e0 | MDS output = Z = z0z1z2z3 = 9642a16d |
z0 = 72 | z1 = d6 | z2 = 32 | z3 = e0 | z0 = 96 | z1 = 42 | z2 = a1 | z3 = 6d |
T0 = g(R0) = 72d632e0 | T1 = g(ROL(R1, 8)) = 9642a16d |
|
|
|
|
R4,2 = R5,0 = 38bcd3c4 | R4,3 = R5,1 = 573622b8 |
Decryption of ciphertext block 2, round r=3 |
g input = X = x0x1x2x3 = R4,0 = f2bbcb8c |
|
x0 = f2 | x1 = bb | x2 = cb | x3 = 8c | x0 = 28 | x1 = 5c | x2 = 41 | x3 = da |
y2,0 = f2 | y2,1 = bb | y2,2 = cb | y2,3 = 8c | y2,0 = 28 | y2,1 = 5c | y2,2 = 41 | y2,3 = da |
|
|
|
|
|
|
|
|
y0 = 08 | y1 = 31 | y2 = 8c | y3 = a0 | y0 = ed | y1 = 20 | y2 = f0 | y3 = 9e |
MDS input = Y = y0y1y2y3 = 08318ca0 | MDS input = Y = y0y1y2y3 = ed20f09e |
MDS output = Z = z0z1z2z3 = e4883d5e | MDS output = Z = z0z1z2z3 = 149ed4d7 |
z0 = e4 | z1 = 88 | z2 = 3d | z3 = 5e | z0 = 14 | z1 = 9e | z2 = d4 | z3 = d7 |
T0 = g(R0) = e4883d5e | T1 = g(ROL(R1, 8)) = 149ed4d7 |
|
|
|
|
R3,2 = R4,0 = f2bbcb8c | R3,3 = R4,1 = 5c41da28 |
Decryption of ciphertext block 2, round r=2 |
g input = X = x0x1x2x3 = R3,0 = 5139fd03 |
|
x0 = 51 | x1 = 39 | x2 = fd | x3 = 03 | x0 = c5 | x1 = 7d | x2 = ca | x3 = 61 |
y2,0 = 51 | y2,1 = 39 | y2,2 = fd | y2,3 = 03 | y2,0 = c5 | y2,1 = 7d | y2,2 = ca | y2,3 = 61 |
|
|
|
|
|
|
|
|
y0 = 38 | y1 = ec | y2 = d4 | y3 = c1 | y0 = 7b | y1 = 39 | y2 = 15 | y3 = 5c |
MDS input = Y = y0y1y2y3 = 38ecd4c1 | MDS input = Y = y0y1y2y3 = 7b39155c |
MDS output = Z = z0z1z2z3 = d3dd56e6 | MDS output = Z = z0z1z2z3 = bfe61f84 |
z0 = d3 | z1 = dd | z2 = 56 | z3 = e6 | z0 = bf | z1 = e6 | z2 = 1f | z3 = 84 |
T0 = g(R0) = d3dd56e6 | T1 = g(ROL(R1, 8)) = bfe61f84 |
|
|
|
|
R2,2 = R3,0 = 5139fd03 | R2,3 = R3,1 = 7dca61c5 |
Decryption of ciphertext block 2, round r=1 |
g input = X = x0x1x2x3 = R2,0 = d0381d93 |
|
x0 = d0 | x1 = 38 | x2 = 1d | x3 = 93 | x0 = ea | x1 = 82 | x2 = ff | x3 = 08 |
y2,0 = d0 | y2,1 = 38 | y2,2 = 1d | y2,3 = 93 | y2,0 = ea | y2,1 = 82 | y2,2 = ff | y2,3 = 08 |
|
|
|
|
|
|
|
|
y0 = 79 | y1 = ae | y2 = e7 | y3 = 55 | y0 = 48 | y1 = 8d | y2 = 5d | y3 = f1 |
MDS input = Y = y0y1y2y3 = 79aee755 | MDS input = Y = y0y1y2y3 = 488d5df1 |
MDS output = Z = z0z1z2z3 = 35f9e7f6 | MDS output = Z = z0z1z2z3 = c9278cee |
z0 = 35 | z1 = f9 | z2 = e7 | z3 = f6 | z0 = c9 | z1 = 27 | z2 = 8c | z3 = ee |
T0 = g(R0) = 35f9e7f6 | T1 = g(ROL(R1, 8)) = c9278cee |
|
|
|
|
R1,2 = R2,0 = d0381d93 | R1,3 = R2,1 = 82ff08ea |
Decryption of ciphertext block 2, round r=0 |
g input = X = x0x1x2x3 = R1,0 = 824518bb |
|
x0 = 82 | x1 = 45 | x2 = 18 | x3 = bb | x0 = 90 | x1 = c8 | x2 = a2 | x3 = 60 |
y2,0 = 82 | y2,1 = 45 | y2,2 = 18 | y2,3 = bb | y2,0 = 90 | y2,1 = c8 | y2,2 = a2 | y2,3 = 60 |
|
|
|
|
|
|
|
|
y0 = f7 | y1 = 91 | y2 = 3e | y3 = b2 | y0 = 9d | y1 = 6f | y2 = 56 | y3 = 7f |
MDS input = Y = y0y1y2y3 = f7913eb2 | MDS input = Y = y0y1y2y3 = 9d6f567f |
MDS output = Z = z0z1z2z3 = 4b1f49ca | MDS output = Z = z0z1z2z3 = fd5ad327 |
z0 = 4b | z1 = 1f | z2 = 49 | z3 = ca | z0 = fd | z1 = 5a | z2 = d3 | z3 = 27 |
T0 = g(R0) = 4b1f49ca | T1 = g(ROL(R1, 8)) = fd5ad327 |
|
|
|
|
R0,2 = R1,0 = 824518bb | R0,3 = R1,1 = c8a26090 |
Decryption output unwhiten for block 2 |
P3 = R0,5 mod 4 |
P2 = R0,4 mod 4 |
P1 = R0,3 mod 4 |
P0 = R0,2 mod 4 |
Decryption of block 2 : Decryption CBC step: Xor of output unwhiten result with previous ciphertext block received |
P0 = P '0 |
P1 = P '1 |
P2 = P '2 |
P3 = P '3 |
Plaintext result for decryption of block 2 |
p0 = [P0 |
p1 = [P0 |
p2 = [P0 |
p3 = [P0 |
p4 = [P1 |
p5 = [P1 |
p6 = [P1 |
p7 = [P1 |
p8 = [P2 |
p9 = [P2 |
p10 = [P2 |
p11 = [P2 |
p12 = [P3 |
p13 = [P3 |
p14 = [P3 |
p15 = [P3 |
Plaintext block output = p0p1p2p3p4p5p6p7p8p9p10p11p12p13p14p15 = 182b02d81497ea45f9daacdc29193a65 |
Decryption start for ciphertext block 3 |
ciphertext = c0c1c2c3c4c5c6c7c8c9c10c11c12c13c14c15 = f7ed5965f624a805a73f6c7c1001a29b |
C0 = c0c1c2c3 = f7ed5965 | C1 = c4c5c6c7 = f624a805 |
C2 = c8c9c10c11 = a73f6c7c | C3 = c12c13c14c15 = 1001a29b |
Decryption Input Unwhiten for block 3 |
R16,0 = C0 |
R16,1 = C1 |
R16,2 = C2 |
R16,3 = C3 |
Decryption of ciphertext block 3, round r=15 |
g input = X = x0x1x2x3 = R16,0 = 0293fb7a |
|
x0 = 02 | x1 = 93 | x2 = fb | x3 = 7a | x0 = 7d | x1 = 16 | x2 = 21 | x3 = 5b |
y2,0 = 02 | y2,1 = 93 | y2,2 = fb | y2,3 = 7a | y2,0 = 7d | y2,1 = 16 | y2,2 = 21 | y2,3 = 5b |
|
|
|
|
|
|
|
|
y0 = a5 | y1 = f1 | y2 = c4 | y3 = ff | y0 = ef | y1 = 4c | y2 = d5 | y3 = a9 |
MDS input = Y = y0y1y2y3 = a5f1c4ff | MDS input = Y = y0y1y2y3 = ef4cd5a9 |
MDS output = Z = z0z1z2z3 = 25e58678 | MDS output = Z = z0z1z2z3 = f58e4a08 |
z0 = 25 | z1 = e5 | z2 = 86 | z3 = 78 | z0 = f5 | z1 = 8e | z2 = 4a | z3 = 08 |
T0 = g(R0) = 25e58678 | T1 = g(ROL(R1, 8)) = f58e4a08 |
|
|
|
|
R15,2 = R16,0 = 0293fb7a | R15,3 = R16,1 = 16215b7d |
Decryption of ciphertext block 3, round r=14 |
g input = X = x0x1x2x3 = R15,0 = e9ba8d71 |
|
x0 = e9 | x1 = ba | x2 = 8d | x3 = 71 | x0 = 40 | x1 = 5e | x2 = 2f | x3 = 79 |
y2,0 = e9 | y2,1 = ba | y2,2 = 8d | y2,3 = 71 | y2,0 = 40 | y2,1 = 5e | y2,2 = 2f | y2,3 = 79 |
|
|
|
|
|
|
|
|
y0 = 1f | y1 = a7 | y2 = af | y3 = dc | y0 = 91 | y1 = c1 | y2 = 46 | y3 = 90 |
MDS input = Y = y0y1y2y3 = 1fa7afdc | MDS input = Y = y0y1y2y3 = 91c14690 |
MDS output = Z = z0z1z2z3 = 19240788 | MDS output = Z = z0z1z2z3 = b9c002a6 |
z0 = 19 | z1 = 24 | z2 = 07 | z3 = 88 | z0 = b9 | z1 = c0 | z2 = 02 | z3 = a6 |
T0 = g(R0) = 19240788 | T1 = g(ROL(R1, 8)) = b9c002a6 |
|
|
|
|
R14,2 = R15,0 = e9ba8d71 | R14,3 = R15,1 = 5e2f7940 |
Decryption of ciphertext block 3, round r=13 |
g input = X = x0x1x2x3 = R14,0 = b2c2220f |
|
x0 = b2 | x1 = c2 | x2 = 22 | x3 = 0f | x0 = 47 | x1 = cf | x2 = 13 | x3 = 05 |
y2,0 = b2 | y2,1 = c2 | y2,2 = 22 | y2,3 = 0f | y2,0 = 47 | y2,1 = cf | y2,2 = 13 | y2,3 = 05 |
|
|
|
|
|
|
|
|
y0 = 04 | y1 = 93 | y2 = 65 | y3 = e9 | y0 = 0f | y1 = 68 | y2 = 0b | y3 = e3 |
MDS input = Y = y0y1y2y3 = 049365e9 | MDS input = Y = y0y1y2y3 = 0f680be3 |
MDS output = Z = z0z1z2z3 = 0fe872bd | MDS output = Z = z0z1z2z3 = 9b11d85a |
z0 = 0f | z1 = e8 | z2 = 72 | z3 = bd | z0 = 9b | z1 = 11 | z2 = d8 | z3 = 5a |
T0 = g(R0) = 0fe872bd | T1 = g(ROL(R1, 8)) = 9b11d85a |
|
|
|
|
R13,2 = R14,0 = b2c2220f | R13,3 = R14,1 = cf130547 |
Decryption of ciphertext block 3, round r=12 |
g input = X = x0x1x2x3 = R13,0 = c69745ef |
|
x0 = c6 | x1 = 97 | x2 = 45 | x3 = ef | x0 = 74 | x1 = b3 | x2 = 65 | x3 = c5 |
y2,0 = c6 | y2,1 = 97 | y2,2 = 45 | y2,3 = ef | y2,0 = 74 | y2,1 = b3 | y2,2 = 65 | y2,3 = c5 |
|
|
|
|
|
|
|
|
y0 = ff | y1 = 49 | y2 = 87 | y3 = ee | y0 = 49 | y1 = 90 | y2 = ec | y3 = c6 |
MDS input = Y = y0y1y2y3 = ff4987ee | MDS input = Y = y0y1y2y3 = 4990ecc6 |
MDS output = Z = z0z1z2z3 = 47ee7572 | MDS output = Z = z0z1z2z3 = 219ae9e3 |
z0 = 47 | z1 = ee | z2 = 75 | z3 = 72 | z0 = 21 | z1 = 9a | z2 = e9 | z3 = e3 |
T0 = g(R0) = 47ee7572 | T1 = g(ROL(R1, 8)) = 219ae9e3 |
|
|
|
|
R12,2 = R13,0 = c69745ef | R12,3 = R13,1 = b365c574 |
Decryption of ciphertext block 3, round r=11 |
g input = X = x0x1x2x3 = R12,0 = 1a5a27e6 |
|
x0 = 1a | x1 = 5a | x2 = 27 | x3 = e6 | x0 = ed | x1 = c4 | x2 = 6e | x3 = 22 |
y2,0 = 1a | y2,1 = 5a | y2,2 = 27 | y2,3 = e6 | y2,0 = ed | y2,1 = c4 | y2,2 = 6e | y2,3 = 22 |
|
|
|
|
|
|
|
|
y0 = f4 | y1 = 2f | y2 = a3 | y3 = 9d | y0 = 85 | y1 = 33 | y2 = 02 | y3 = 73 |
MDS input = Y = y0y1y2y3 = f42fa39d | MDS input = Y = y0y1y2y3 = 85330273 |
MDS output = Z = z0z1z2z3 = 18bdc0fc | MDS output = Z = z0z1z2z3 = ce46d70d |
z0 = 18 | z1 = bd | z2 = c0 | z3 = fc | z0 = ce | z1 = 46 | z2 = d7 | z3 = 0d |
T0 = g(R0) = 18bdc0fc | T1 = g(ROL(R1, 8)) = ce46d70d |
|
|
|
|
R11,2 = R12,0 = 1a5a27e6 | R11,3 = R12,1 = c46e22ed |
Decryption of ciphertext block 3, round r=10 |
g input = X = x0x1x2x3 = R11,0 = 6e1e7a1c |
|
x0 = 6e | x1 = 1e | x2 = 7a | x3 = 1c | x0 = 8b | x1 = f1 | x2 = fc | x3 = 6d |
y2,0 = 6e | y2,1 = 1e | y2,2 = 7a | y2,3 = 1c | y2,0 = 8b | y2,1 = f1 | y2,2 = fc | y2,3 = 6d |
|
|
|
|
|
|
|
|
y0 = b2 | y1 = d5 | y2 = c7 | y3 = ed | y0 = fd | y1 = 17 | y2 = e3 | y3 = ea |
MDS input = Y = y0y1y2y3 = b2d5c7ed | MDS input = Y = y0y1y2y3 = fd17e3ea |
MDS output = Z = z0z1z2z3 = 426c40e5 | MDS output = Z = z0z1z2z3 = efc15cd1 |
z0 = 42 | z1 = 6c | z2 = 40 | z3 = e5 | z0 = ef | z1 = c1 | z2 = 5c | z3 = d1 |
T0 = g(R0) = 426c40e5 | T1 = g(ROL(R1, 8)) = efc15cd1 |
|
|
|
|
R10,2 = R11,0 = 6e1e7a1c | R10,3 = R11,1 = f1fc6d8b |
Decryption of ciphertext block 3, round r=9 |
g input = X = x0x1x2x3 = R10,0 = 1b4e9d23 |
|
x0 = 1b | x1 = 4e | x2 = 9d | x3 = 23 | x0 = 7a | x1 = 9e | x2 = 16 | x3 = 4b |
y2,0 = 1b | y2,1 = 4e | y2,2 = 9d | y2,3 = 23 | y2,0 = 7a | y2,1 = 9e | y2,2 = 16 | y2,3 = 4b |
|
|
|
|
|
|
|
|
y0 = 20 | y1 = 97 | y2 = 30 | y3 = e1 | y0 = db | y1 = bb | y2 = b1 | y3 = 76 |
MDS input = Y = y0y1y2y3 = 209730e1 | MDS input = Y = y0y1y2y3 = dbbbb176 |
MDS output = Z = z0z1z2z3 = 3c4e1308 | MDS output = Z = z0z1z2z3 = 51ccf495 |
z0 = 3c | z1 = 4e | z2 = 13 | z3 = 08 | z0 = 51 | z1 = cc | z2 = f4 | z3 = 95 |
T0 = g(R0) = 3c4e1308 | T1 = g(ROL(R1, 8)) = 51ccf495 |
|
|
|
|
R9,2 = R10,0 = 1b4e9d23 | R9,3 = R10,1 = 9e164b7a |
Decryption of ciphertext block 3, round r=8 |
g input = X = x0x1x2x3 = R9,0 = bef1c110 |
|
x0 = be | x1 = f1 | x2 = c1 | x3 = 10 | x0 = e7 | x1 = da | x2 = f2 | x3 = 9d |
y2,0 = be | y2,1 = f1 | y2,2 = c1 | y2,3 = 10 | y2,0 = e7 | y2,1 = da | y2,2 = f2 | y2,3 = 9d |
|
|
|
|
|
|
|
|
y0 = 34 | y1 = 17 | y2 = ca | y3 = 39 | y0 = a9 | y1 = e7 | y2 = 80 | y3 = d9 |
MDS input = Y = y0y1y2y3 = 3417ca39 | MDS input = Y = y0y1y2y3 = a9e780d9 |
MDS output = Z = z0z1z2z3 = 566ad070 | MDS output = Z = z0z1z2z3 = 4b17e48b |
z0 = 56 | z1 = 6a | z2 = d0 | z3 = 70 | z0 = 4b | z1 = 17 | z2 = e4 | z3 = 8b |
T0 = g(R0) = 566ad070 | T1 = g(ROL(R1, 8)) = 4b17e48b |
|
|
|
|
R8,2 = R9,0 = bef1c110 | R8,3 = R9,1 = daf29de7 |
Decryption of ciphertext block 3, round r=7 |
g input = X = x0x1x2x3 = R8,0 = 0e1bc052 |
|
x0 = 0e | x1 = 1b | x2 = c0 | x3 = 52 | x0 = 3d | x1 = 13 | x2 = 43 | x3 = 61 |
y2,0 = 0e | y2,1 = 1b | y2,2 = c0 | y2,3 = 52 | y2,0 = 3d | y2,1 = 13 | y2,2 = 43 | y2,3 = 61 |
|
|
|
|
|
|
|
|
y0 = cb | y1 = 08 | y2 = 0e | y3 = 72 | y0 = 88 | y1 = 45 | y2 = 92 | y3 = 5c |
MDS input = Y = y0y1y2y3 = cb080e72 | MDS input = Y = y0y1y2y3 = 8845925c |
MDS output = Z = z0z1z2z3 = a6d521aa | MDS output = Z = z0z1z2z3 = 592517ab |
z0 = a6 | z1 = d5 | z2 = 21 | z3 = aa | z0 = 59 | z1 = 25 | z2 = 17 | z3 = ab |
T0 = g(R0) = a6d521aa | T1 = g(ROL(R1, 8)) = 592517ab |
|
|
|
|
R7,2 = R8,0 = 0e1bc052 | R7,3 = R8,1 = 1343613d |
Decryption of ciphertext block 3, round r=6 |
g input = X = x0x1x2x3 = R7,0 = 58286f70 |
|
x0 = 58 | x1 = 28 | x2 = 6f | x3 = 70 | x0 = a0 | x1 = cc | x2 = e6 | x3 = 91 |
y2,0 = 58 | y2,1 = 28 | y2,2 = 6f | y2,3 = 70 | y2,0 = a0 | y2,1 = cc | y2,2 = e6 | y2,3 = 91 |
|
|
|
|
|
|
|
|
y0 = 2c | y1 = ad | y2 = 95 | y3 = be | y0 = 86 | y1 = cb | y2 = b7 | y3 = 8c |
MDS input = Y = y0y1y2y3 = 2cad95be | MDS input = Y = y0y1y2y3 = 86cbb78c |
MDS output = Z = z0z1z2z3 = ddb302ad | MDS output = Z = z0z1z2z3 = 9bc219af |
z0 = dd | z1 = b3 | z2 = 02 | z3 = ad | z0 = 9b | z1 = c2 | z2 = 19 | z3 = af |
T0 = g(R0) = ddb302ad | T1 = g(ROL(R1, 8)) = 9bc219af |
|
|
|
|
R6,2 = R7,0 = 58286f70 | R6,3 = R7,1 = cce691a0 |
Decryption of ciphertext block 3, round r=5 |
g input = X = x0x1x2x3 = R6,0 = efed7b0d |
|
x0 = ef | x1 = ed | x2 = 7b | x3 = 0d | x0 = bf | x1 = 93 | x2 = c0 | x3 = bc |
y2,0 = ef | y2,1 = ed | y2,2 = 7b | y2,3 = 0d | y2,0 = bf | y2,1 = 93 | y2,2 = c0 | y2,3 = bc |
|
|
|
|
|
|
|
|
y0 = 68 | y1 = b0 | y2 = da | y3 = 2f | y0 = 57 | y1 = f1 | y2 = 0e | y3 = 1e |
MDS input = Y = y0y1y2y3 = 68b0da2f | MDS input = Y = y0y1y2y3 = 57f10e1e |
MDS output = Z = z0z1z2z3 = 3eac6909 | MDS output = Z = z0z1z2z3 = 185708d1 |
z0 = 3e | z1 = ac | z2 = 69 | z3 = 09 | z0 = 18 | z1 = 57 | z2 = 08 | z3 = d1 |
T0 = g(R0) = 3eac6909 | T1 = g(ROL(R1, 8)) = 185708d1 |
|
|
|
|
R5,2 = R6,0 = efed7b0d | R5,3 = R6,1 = 93c0bcbf |
Decryption of ciphertext block 3, round r=4 |
g input = X = x0x1x2x3 = R5,0 = 9b16bc5d |
|
x0 = 9b | x1 = 16 | x2 = bc | x3 = 5d | x0 = 9a | x1 = 60 | x2 = 00 | x3 = 0f |
y2,0 = 9b | y2,1 = 16 | y2,2 = bc | y2,3 = 5d | y2,0 = 9a | y2,1 = 60 | y2,2 = 00 | y2,3 = 0f |
|
|
|
|
|
|
|
|
y0 = 6f | y1 = 4c | y2 = 4d | y3 = 5b | y0 = 4a | y1 = e5 | y2 = fe | y3 = e9 |
MDS input = Y = y0y1y2y3 = 6f4c4d5b | MDS input = Y = y0y1y2y3 = 4ae5fee9 |
MDS output = Z = z0z1z2z3 = b12e3160 | MDS output = Z = z0z1z2z3 = f64ff8af |
z0 = b1 | z1 = 2e | z2 = 31 | z3 = 60 | z0 = f6 | z1 = 4f | z2 = f8 | z3 = af |
T0 = g(R0) = b12e3160 | T1 = g(ROL(R1, 8)) = f64ff8af |
|
|
|
|
R4,2 = R5,0 = 9b16bc5d | R4,3 = R5,1 = 60000f9a |
Decryption of ciphertext block 3, round r=3 |
g input = X = x0x1x2x3 = R4,0 = 1e9a7a06 |
|
x0 = 1e | x1 = 9a | x2 = 7a | x3 = 06 | x0 = 99 | x1 = 35 | x2 = 27 | x3 = b4 |
y2,0 = 1e | y2,1 = 9a | y2,2 = 7a | y2,3 = 06 | y2,0 = 99 | y2,1 = 35 | y2,2 = 27 | y2,3 = b4 |
|
|
|
|
|
|
|
|
y0 = 4f | y1 = 8e | y2 = c7 | y3 = cd | y0 = b3 | y1 = 4b | y2 = a3 | y3 = 5f |
MDS input = Y = y0y1y2y3 = 4f8ec7cd | MDS input = Y = y0y1y2y3 = b34ba35f |
MDS output = Z = z0z1z2z3 = adee89c4 | MDS output = Z = z0z1z2z3 = 5688b5f1 |
z0 = ad | z1 = ee | z2 = 89 | z3 = c4 | z0 = 56 | z1 = 88 | z2 = b5 | z3 = f1 |
T0 = g(R0) = adee89c4 | T1 = g(ROL(R1, 8)) = 5688b5f1 |
|
|
|
|
R3,2 = R4,0 = 1e9a7a06 | R3,3 = R4,1 = 3527b499 |
Decryption of ciphertext block 3, round r=2 |
g input = X = x0x1x2x3 = R3,0 = 1dbcffb1 |
|
x0 = 1d | x1 = bc | x2 = ff | x3 = b1 | x0 = ab | x1 = 4c | x2 = 6e | x3 = 70 |
y2,0 = 1d | y2,1 = bc | y2,2 = ff | y2,3 = b1 | y2,0 = ab | y2,1 = 4c | y2,2 = 6e | y2,3 = 70 |
|
|
|
|
|
|
|
|
y0 = 25 | y1 = cd | y2 = 5d | y3 = 01 | y0 = d9 | y1 = 06 | y2 = 02 | y3 = be |
MDS input = Y = y0y1y2y3 = 25cd5d01 | MDS input = Y = y0y1y2y3 = d90602be |
MDS output = Z = z0z1z2z3 = 188bc6cc | MDS output = Z = z0z1z2z3 = fa0ca6f9 |
z0 = 18 | z1 = 8b | z2 = c6 | z3 = cc | z0 = fa | z1 = 0c | z2 = a6 | z3 = f9 |
T0 = g(R0) = 188bc6cc | T1 = g(ROL(R1, 8)) = fa0ca6f9 |
|
|
|
|
R2,2 = R3,0 = 1dbcffb1 | R2,3 = R3,1 = 4c6e70ab |
Decryption of ciphertext block 3, round r=1 |
g input = X = x0x1x2x3 = R2,0 = 891675ea |
|
x0 = 89 | x1 = 16 | x2 = 75 | x3 = ea | x0 = ab | x1 = 90 | x2 = cf | x3 = f9 |
y2,0 = 89 | y2,1 = 16 | y2,2 = 75 | y2,3 = ea | y2,0 = ab | y2,1 = 90 | y2,2 = cf | y2,3 = f9 |
|
|
|
|
|
|
|
|
y0 = b5 | y1 = 4c | y2 = 3c | y3 = 74 | y0 = d9 | y1 = f9 | y2 = ee | y3 = cc |
MDS input = Y = y0y1y2y3 = b54c3c74 | MDS input = Y = y0y1y2y3 = d9f9eecc |
MDS output = Z = z0z1z2z3 = 96e21c24 | MDS output = Z = z0z1z2z3 = 123a877d |
z0 = 96 | z1 = e2 | z2 = 1c | z3 = 24 | z0 = 12 | z1 = 3a | z2 = 87 | z3 = 7d |
T0 = g(R0) = 96e21c24 | T1 = g(ROL(R1, 8)) = 123a877d |
|
|
|
|
R1,2 = R2,0 = 891675ea | R1,3 = R2,1 = 90cff9ab |
Decryption of ciphertext block 3, round r=0 |
g input = X = x0x1x2x3 = R1,0 = f14aed1a |
|
x0 = f1 | x1 = 4a | x2 = ed | x3 = 1a | x0 = cd | x1 = c9 | x2 = f9 | x3 = dd |
y2,0 = f1 | y2,1 = 4a | y2,2 = ed | y2,3 = 1a | y2,0 = cd | y2,1 = c9 | y2,2 = f9 | y2,3 = dd |
|
|
|
|
|
|
|
|
y0 = 1b | y1 = ed | y2 = 82 | y3 = ba | y0 = c2 | y1 = e3 | y2 = c5 | y3 = 8f |
MDS input = Y = y0y1y2y3 = 1bed82ba | MDS input = Y = y0y1y2y3 = c2e3c58f |
MDS output = Z = z0z1z2z3 = 635039d0 | MDS output = Z = z0z1z2z3 = de4166fe |
z0 = 63 | z1 = 50 | z2 = 39 | z3 = d0 | z0 = de | z1 = 41 | z2 = 66 | z3 = fe |
T0 = g(R0) = 635039d0 | T1 = g(ROL(R1, 8)) = de4166fe |
|
|
|
|
R0,2 = R1,0 = f14aed1a | R0,3 = R1,1 = c9f9ddcd |
Decryption output unwhiten for block 3 |
P3 = R0,5 mod 4 |
P2 = R0,4 mod 4 |
P1 = R0,3 mod 4 |
P0 = R0,2 mod 4 |
Decryption of block 3 : Decryption CBC step: Xor of output unwhiten result with previous ciphertext block received |
P0 = P '0 |
P1 = P '1 |
P2 = P '2 |
P3 = P '3 |
Plaintext result for decryption of block 3 |
p0 = [P0 |
p1 = [P0 |
p2 = [P0 |
p3 = [P0 |
p4 = [P1 |
p5 = [P1 |
p6 = [P1 |
p7 = [P1 |
p8 = [P2 |
p9 = [P2 |
p10 = [P2 |
p11 = [P2 |
p12 = [P3 |
p13 = [P3 |
p14 = [P3 |
p15 = [P3 |
Plaintext block output = p0p1p2p3p4p5p6p7p8p9p10p11p12p13p14p15 = 248a7f3528b168acfdd1386e3f51e30c |
Decryption start for ciphertext block 4 |
ciphertext = c0c1c2c3c4c5c6c7c8c9c10c11c12c13c14c15 = 3dea507e35530bccd5c481fa21530dc5 |
C0 = c0c1c2c3 = 3dea507e | C1 = c4c5c6c7 = 35530bcc |
C2 = c8c9c10c11 = d5c481fa | C3 = c12c13c14c15 = 21530dc5 |
Decryption Input Unwhiten for block 4 |
R16,0 = C0 |
R16,1 = C1 |
R16,2 = C2 |
R16,3 = C3 |
Decryption of ciphertext block 4, round r=15 |
g input = X = x0x1x2x3 = R16,0 = c894f261 |
|
x0 = c8 | x1 = 94 | x2 = f2 | x3 = 61 | x0 = b4 | x1 = d5 | x2 = 56 | x3 = f8 |
y2,0 = c8 | y2,1 = 94 | y2,2 = f2 | y2,3 = 61 | y2,0 = b4 | y2,1 = d5 | y2,2 = 56 | y2,3 = f8 |
|
|
|
|
|
|
|
|
y0 = d6 | y1 = d9 | y2 = 80 | y3 = 5c | y0 = 89 | y1 = a9 | y2 = c0 | y3 = 37 |
MDS input = Y = y0y1y2y3 = d6d9805c | MDS input = Y = y0y1y2y3 = 89a9c037 |
MDS output = Z = z0z1z2z3 = 50866c4e | MDS output = Z = z0z1z2z3 = 946f63ec |
z0 = 50 | z1 = 86 | z2 = 6c | z3 = 4e | z0 = 94 | z1 = 6f | z2 = 63 | z3 = ec |
T0 = g(R0) = 50866c4e | T1 = g(ROL(R1, 8)) = 946f63ec |
|
|
|
|
R15,2 = R16,0 = c894f261 | R15,3 = R16,1 = d556f8b4 |
Decryption of ciphertext block 4, round r=14 |
g input = X = x0x1x2x3 = R15,0 = 46ca54b6 |
|
x0 = 46 | x1 = ca | x2 = 54 | x3 = b6 | x0 = 5c | x1 = 13 | x2 = d1 | x3 = 3a |
y2,0 = 46 | y2,1 = ca | y2,2 = 54 | y2,3 = b6 | y2,0 = 5c | y2,1 = 13 | y2,2 = d1 | y2,3 = 3a |
|
|
|
|
|
|
|
|
y0 = d1 | y1 = f4 | y2 = c1 | y3 = 91 | y0 = 59 | y1 = 45 | y2 = 81 | y3 = ec |
MDS input = Y = y0y1y2y3 = d1f4c191 | MDS input = Y = y0y1y2y3 = 594581ec |
MDS output = Z = z0z1z2z3 = 26e27807 | MDS output = Z = z0z1z2z3 = ed6ea310 |
z0 = 26 | z1 = e2 | z2 = 78 | z3 = 07 | z0 = ed | z1 = 6e | z2 = a3 | z3 = 10 |
T0 = g(R0) = 26e27807 | T1 = g(ROL(R1, 8)) = ed6ea310 |
|
|
|
|
R14,2 = R15,0 = 46ca54b6 | R14,3 = R15,1 = 13d13a5c |
Decryption of ciphertext block 4, round r=13 |
g input = X = x0x1x2x3 = R14,0 = 67790d27 |
|
x0 = 67 | x1 = 79 | x2 = 0d | x3 = 27 | x0 = 7e | x1 = 14 | x2 = 3b | x3 = 7e |
y2,0 = 67 | y2,1 = 79 | y2,2 = 0d | y2,3 = 27 | y2,0 = 7e | y2,1 = 14 | y2,2 = 3b | y2,3 = 7e |
|
|
|
|
|
|
|
|
y0 = ce | y1 = b2 | y2 = 9b | y3 = 69 | y0 = 1c | y1 = 70 | y2 = 09 | y3 = 00 |
MDS input = Y = y0y1y2y3 = ceb29b69 | MDS input = Y = y0y1y2y3 = 1c700900 |
MDS output = Z = z0z1z2z3 = c7f9361f | MDS output = Z = z0z1z2z3 = 19ae7084 |
z0 = c7 | z1 = f9 | z2 = 36 | z3 = 1f | z0 = 19 | z1 = ae | z2 = 70 | z3 = 84 |
T0 = g(R0) = c7f9361f | T1 = g(ROL(R1, 8)) = 19ae7084 |
|
|
|
|
R13,2 = R14,0 = 67790d27 | R13,3 = R14,1 = 143b7e7e |
Decryption of ciphertext block 4, round r=12 |
g input = X = x0x1x2x3 = R13,0 = c70412fb |
|
x0 = c7 | x1 = 04 | x2 = 12 | x3 = fb | x0 = 81 | x1 = ff | x2 = ff | x3 = 69 |
y2,0 = c7 | y2,1 = 04 | y2,2 = 12 | y2,3 = fb | y2,0 = 81 | y2,1 = ff | y2,2 = ff | y2,3 = 69 |
|
|
|
|
|
|
|
|
y0 = 58 | y1 = c9 | y2 = 79 | y3 = c3 | y0 = 7e | y1 = 3e | y2 = 5d | y3 = 6b |
MDS input = Y = y0y1y2y3 = 58c979c3 | MDS input = Y = y0y1y2y3 = 7e3e5d6b |
MDS output = Z = z0z1z2z3 = 09497203 | MDS output = Z = z0z1z2z3 = 6bae2cc1 |
z0 = 09 | z1 = 49 | z2 = 72 | z3 = 03 | z0 = 6b | z1 = ae | z2 = 2c | z3 = c1 |
T0 = g(R0) = 09497203 | T1 = g(ROL(R1, 8)) = 6bae2cc1 |
|
|
|
|
R12,2 = R13,0 = c70412fb | R12,3 = R13,1 = ffff6981 |
Decryption of ciphertext block 4, round r=11 |
g input = X = x0x1x2x3 = R12,0 = 44bcb828 |
|
x0 = 44 | x1 = bc | x2 = b8 | x3 = 28 | x0 = 4b | x1 = 44 | x2 = 35 | x3 = 5d |
y2,0 = 44 | y2,1 = bc | y2,2 = b8 | y2,3 = 28 | y2,0 = 4b | y2,1 = 44 | y2,2 = 35 | y2,3 = 5d |
|
|
|
|
|
|
|
|
y0 = d2 | y1 = cd | y2 = b4 | y3 = 25 | y0 = 80 | y1 = 09 | y2 = 06 | y3 = 5b |
MDS input = Y = y0y1y2y3 = d2cdb425 | MDS input = Y = y0y1y2y3 = 8009065b |
MDS output = Z = z0z1z2z3 = 4bc2fb43 | MDS output = Z = z0z1z2z3 = 71aa8dfa |
z0 = 4b | z1 = c2 | z2 = fb | z3 = 43 | z0 = 71 | z1 = aa | z2 = 8d | z3 = fa |
T0 = g(R0) = 4bc2fb43 | T1 = g(ROL(R1, 8)) = 71aa8dfa |
|
|
|
|
R11,2 = R12,0 = 44bcb828 | R11,3 = R12,1 = 44355d4b |
Decryption of ciphertext block 4, round r=10 |
g input = X = x0x1x2x3 = R11,0 = 3693c600 |
|
x0 = 36 | x1 = 93 | x2 = c6 | x3 = 00 | x0 = 01 | x1 = 9b | x2 = cb | x3 = d7 |
y2,0 = 36 | y2,1 = 93 | y2,2 = c6 | y2,3 = 00 | y2,0 = 01 | y2,1 = 9b | y2,2 = cb | y2,3 = d7 |
|
|
|
|
|
|
|
|
y0 = 40 | y1 = f1 | y2 = a4 | y3 = d7 | y0 = c3 | y1 = 1f | y2 = 8c | y3 = 4d |
MDS input = Y = y0y1y2y3 = 40f1a4d7 | MDS input = Y = y0y1y2y3 = c31f8c4d |
MDS output = Z = z0z1z2z3 = 9a039052 | MDS output = Z = z0z1z2z3 = 25f4243a |
z0 = 9a | z1 = 03 | z2 = 90 | z3 = 52 | z0 = 25 | z1 = f4 | z2 = 24 | z3 = 3a |
T0 = g(R0) = 9a039052 | T1 = g(ROL(R1, 8)) = 25f4243a |
|
|
|
|
R10,2 = R11,0 = 3693c600 | R10,3 = R11,1 = 9bcbd701 |
Decryption of ciphertext block 4, round r=9 |
g input = X = x0x1x2x3 = R10,0 = 34bb9a94 |
|
x0 = 34 | x1 = bb | x2 = 9a | x3 = 94 | x0 = 09 | x1 = 7c | x2 = 85 | x3 = e4 |
y2,0 = 34 | y2,1 = bb | y2,2 = 9a | y2,3 = 94 | y2,0 = 09 | y2,1 = 7c | y2,2 = 85 | y2,3 = e4 |
|
|
|
|
|
|
|
|
y0 = 76 | y1 = 31 | y2 = d6 | y3 = b0 | y0 = ba | y1 = cc | y2 = 12 | y3 = 4c |
MDS input = Y = y0y1y2y3 = 7631d6b0 | MDS input = Y = y0y1y2y3 = bacc124c |
MDS output = Z = z0z1z2z3 = 76989175 | MDS output = Z = z0z1z2z3 = de5ee945 |
z0 = 76 | z1 = 98 | z2 = 91 | z3 = 75 | z0 = de | z1 = 5e | z2 = e9 | z3 = 45 |
T0 = g(R0) = 76989175 | T1 = g(ROL(R1, 8)) = de5ee945 |
|
|
|
|
R9,2 = R10,0 = 34bb9a94 | R9,3 = R10,1 = 7c85e409 |
Decryption of ciphertext block 4, round r=8 |
g input = X = x0x1x2x3 = R9,0 = 458c2544 |
|
x0 = 45 | x1 = 8c | x2 = 25 | x3 = 44 | x0 = 88 | x1 = 81 | x2 = 21 | x3 = 35 |
y2,0 = 45 | y2,1 = 8c | y2,2 = 25 | y2,3 = 44 | y2,0 = 88 | y2,1 = 81 | y2,2 = 21 | y2,3 = 35 |
|
|
|
|
|
|
|
|
y0 = ca | y1 = 73 | y2 = 1a | y3 = 8a | y0 = 37 | y1 = 48 | y2 = d5 | y3 = 50 |
MDS input = Y = y0y1y2y3 = ca731a8a | MDS input = Y = y0y1y2y3 = 3748d550 |
MDS output = Z = z0z1z2z3 = 726febe3 | MDS output = Z = z0z1z2z3 = b79e9813 |
z0 = 72 | z1 = 6f | z2 = eb | z3 = e3 | z0 = b7 | z1 = 9e | z2 = 98 | z3 = 13 |
T0 = g(R0) = 726febe3 | T1 = g(ROL(R1, 8)) = b79e9813 |
|
|
|
|
R8,2 = R9,0 = 458c2544 | R8,3 = R9,1 = 81213588 |
Decryption of ciphertext block 4, round r=7 |
g input = X = x0x1x2x3 = R8,0 = a965ff39 |
|
x0 = a9 | x1 = 65 | x2 = ff | x3 = 39 | x0 = 45 | x1 = e8 | x2 = 90 | x3 = 74 |
y2,0 = a9 | y2,1 = 65 | y2,2 = ff | y2,3 = 39 | y2,0 = 45 | y2,1 = e8 | y2,2 = 90 | y2,3 = 74 |
|
|
|
|
|
|
|
|
y0 = 2b | y1 = c4 | y2 = 5d | y3 = 0d | y0 = ca | y1 = f7 | y2 = b5 | y3 = 52 |
MDS input = Y = y0y1y2y3 = 2bc45d0d | MDS input = Y = y0y1y2y3 = caf7b552 |
MDS output = Z = z0z1z2z3 = f8df2074 | MDS output = Z = z0z1z2z3 = 11d96300 |
z0 = f8 | z1 = df | z2 = 20 | z3 = 74 | z0 = 11 | z1 = d9 | z2 = 63 | z3 = 00 |
T0 = g(R0) = f8df2074 | T1 = g(ROL(R1, 8)) = 11d96300 |
|
|
|
|
R7,2 = R8,0 = a965ff39 | R7,3 = R8,1 = e8907445 |
Decryption of ciphertext block 4, round r=6 |
g input = X = x0x1x2x3 = R7,0 = a49173f9 |
|
x0 = a4 | x1 = 91 | x2 = 73 | x3 = f9 | x0 = 49 | x1 = 42 | x2 = c8 | x3 = b1 |
y2,0 = a4 | y2,1 = 91 | y2,2 = 73 | y2,3 = f9 | y2,0 = 49 | y2,1 = 42 | y2,2 = c8 | y2,3 = b1 |
|
|
|
|
|
|
|
|
y0 = 29 | y1 = d3 | y2 = 9e | y3 = cc | y0 = a3 | y1 = 00 | y2 = 47 | y3 = 01 |
MDS input = Y = y0y1y2y3 = 29d39ecc | MDS input = Y = y0y1y2y3 = a3004701 |
MDS output = Z = z0z1z2z3 = 0f23d7b7 | MDS output = Z = z0z1z2z3 = 404b28f4 |
z0 = 0f | z1 = 23 | z2 = d7 | z3 = b7 | z0 = 40 | z1 = 4b | z2 = 28 | z3 = f4 |
T0 = g(R0) = 0f23d7b7 | T1 = g(ROL(R1, 8)) = 404b28f4 |
|
|
|
|
R6,2 = R7,0 = a49173f9 | R6,3 = R7,1 = 42c8b149 |
Decryption of ciphertext block 4, round r=5 |
g input = X = x0x1x2x3 = R6,0 = 9818208b |
|
x0 = 98 | x1 = 18 | x2 = 20 | x3 = 8b | x0 = 49 | x1 = 2c | x2 = 69 | x3 = 3f |
y2,0 = 98 | y2,1 = 18 | y2,2 = 20 | y2,3 = 8b | y2,0 = 49 | y2,1 = 2c | y2,2 = 69 | y2,3 = 3f |
|
|
|
|
|
|
|
|
y0 = 14 | y1 = 1e | y2 = e4 | y3 = b1 | y0 = a3 | y1 = 78 | y2 = f3 | y3 = 4b |
MDS input = Y = y0y1y2y3 = 141ee4b1 | MDS input = Y = y0y1y2y3 = a378f34b |
MDS output = Z = z0z1z2z3 = acad796d | MDS output = Z = z0z1z2z3 = 6f9833a3 |
z0 = ac | z1 = ad | z2 = 79 | z3 = 6d | z0 = 6f | z1 = 98 | z2 = 33 | z3 = a3 |
T0 = g(R0) = acad796d | T1 = g(ROL(R1, 8)) = 6f9833a3 |
|
|
|
|
R5,2 = R6,0 = 9818208b | R5,3 = R6,1 = 2c693f49 |
Decryption of ciphertext block 4, round r=4 |
g input = X = x0x1x2x3 = R5,0 = b9ab7a01 |
|
x0 = b9 | x1 = ab | x2 = 7a | x3 = 01 | x0 = ea | x1 = 35 | x2 = d1 | x3 = a3 |
y2,0 = b9 | y2,1 = ab | y2,2 = 7a | y2,3 = 01 | y2,0 = ea | y2,1 = 35 | y2,2 = d1 | y2,3 = a3 |
|
|
|
|
|
|
|
|
y0 = 54 | y1 = 72 | y2 = c7 | y3 = d8 | y0 = 48 | y1 = 4b | y2 = 81 | y3 = 1b |
MDS input = Y = y0y1y2y3 = 5472c7d8 | MDS input = Y = y0y1y2y3 = 484b811b |
MDS output = Z = z0z1z2z3 = 41b5f438 | MDS output = Z = z0z1z2z3 = 666802c9 |
z0 = 41 | z1 = b5 | z2 = f4 | z3 = 38 | z0 = 66 | z1 = 68 | z2 = 02 | z3 = c9 |
T0 = g(R0) = 41b5f438 | T1 = g(ROL(R1, 8)) = 666802c9 |
|
|
|
|
R4,2 = R5,0 = b9ab7a01 | R4,3 = R5,1 = 35d1a3ea |
Decryption of ciphertext block 4, round r=3 |
g input = X = x0x1x2x3 = R4,0 = f1d11a18 |
|
x0 = f1 | x1 = d1 | x2 = 1a | x3 = 18 | x0 = 6f | x1 = a2 | x2 = 97 | x3 = 49 |
y2,0 = f1 | y2,1 = d1 | y2,2 = 1a | y2,3 = 18 | y2,0 = 6f | y2,1 = a2 | y2,2 = 97 | y2,3 = 49 |
|
|
|
|
|
|
|
|
y0 = 1b | y1 = 8f | y2 = 7c | y3 = b6 | y0 = f6 | y1 = 98 | y2 = d7 | y3 = f8 |
MDS input = Y = y0y1y2y3 = 1b8f7cb6 | MDS input = Y = y0y1y2y3 = f698d7f8 |
MDS output = Z = z0z1z2z3 = e6a900b7 | MDS output = Z = z0z1z2z3 = cea6d789 |
z0 = e6 | z1 = a9 | z2 = 00 | z3 = b7 | z0 = ce | z1 = a6 | z2 = d7 | z3 = 89 |
T0 = g(R0) = e6a900b7 | T1 = g(ROL(R1, 8)) = cea6d789 |
|
|
|
|
R3,2 = R4,0 = f1d11a18 | R3,3 = R4,1 = a297496f |
Decryption of ciphertext block 4, round r=2 |
g input = X = x0x1x2x3 = R3,0 = ae3dd597 |
|
x0 = ae | x1 = 3d | x2 = d5 | x3 = 97 | x0 = 82 | x1 = 0b | x2 = 82 | x3 = 84 |
y2,0 = ae | y2,1 = 3d | y2,2 = d5 | y2,3 = 97 | y2,0 = 82 | y2,1 = 0b | y2,2 = 82 | y2,3 = 84 |
|
|
|
|
|
|
|
|
y0 = 16 | y1 = 89 | y2 = 88 | y3 = e4 | y0 = f7 | y1 = 12 | y2 = 17 | y3 = 13 |
MDS input = Y = y0y1y2y3 = 168988e4 | MDS input = Y = y0y1y2y3 = f7121713 |
MDS output = Z = z0z1z2z3 = 60ac7a16 | MDS output = Z = z0z1z2z3 = 59df1a43 |
z0 = 60 | z1 = ac | z2 = 7a | z3 = 16 | z0 = 59 | z1 = df | z2 = 1a | z3 = 43 |
T0 = g(R0) = 60ac7a16 | T1 = g(ROL(R1, 8)) = 59df1a43 |
|
|
|
|
R2,2 = R3,0 = ae3dd597 | R2,3 = R3,1 = 0b828482 |
Decryption of ciphertext block 4, round r=1 |
g input = X = x0x1x2x3 = R2,0 = beb59c49 |
|
x0 = be | x1 = b5 | x2 = 9c | x3 = 49 | x0 = 62 | x1 = dc | x2 = 74 | x3 = d6 |
y2,0 = be | y2,1 = b5 | y2,2 = 9c | y2,3 = 49 | y2,0 = 62 | y2,1 = dc | y2,2 = 74 | y2,3 = d6 |
|
|
|
|
|
|
|
|
y0 = 34 | y1 = 18 | y2 = 2d | y3 = f8 | y0 = a0 | y1 = c7 | y2 = cf | y3 = 22 |
MDS input = Y = y0y1y2y3 = 34182df8 | MDS input = Y = y0y1y2y3 = a0c7cf22 |
MDS output = Z = z0z1z2z3 = 9c0daa23 | MDS output = Z = z0z1z2z3 = e3a48040 |
z0 = 9c | z1 = 0d | z2 = aa | z3 = 23 | z0 = e3 | z1 = a4 | z2 = 80 | z3 = 40 |
T0 = g(R0) = 9c0daa23 | T1 = g(ROL(R1, 8)) = e3a48040 |
|
|
|
|
R1,2 = R2,0 = beb59c49 | R1,3 = R2,1 = dc74d662 |
Decryption of ciphertext block 4, round r=0 |
g input = X = x0x1x2x3 = R1,0 = fcb33214 |
|
x0 = fc | x1 = b3 | x2 = 32 | x3 = 14 | x0 = 1a | x1 = 46 | x2 = 8e | x3 = 67 |
y2,0 = fc | y2,1 = b3 | y2,2 = 32 | y2,3 = 14 | y2,0 = 1a | y2,1 = 46 | y2,2 = 8e | y2,3 = 67 |
|
|
|
|
|
|
|
|
y0 = 92 | y1 = 90 | y2 = 40 | y3 = d2 | y0 = f4 | y1 = f5 | y2 = db | y3 = cb |
MDS input = Y = y0y1y2y3 = 929040d2 | MDS input = Y = y0y1y2y3 = f4f5dbcb |
MDS output = Z = z0z1z2z3 = 6c5c84f9 | MDS output = Z = z0z1z2z3 = bc843c8b |
z0 = 6c | z1 = 5c | z2 = 84 | z3 = f9 | z0 = bc | z1 = 84 | z2 = 3c | z3 = 8b |
T0 = g(R0) = 6c5c84f9 | T1 = g(ROL(R1, 8)) = bc843c8b |
|
|
|
|
R0,2 = R1,0 = fcb33214 | R0,3 = R1,1 = 468e671a |
Decryption output unwhiten for block 4 |
P3 = R0,5 mod 4 |
P2 = R0,4 mod 4 |
P1 = R0,3 mod 4 |
P0 = R0,2 mod 4 |
Decryption of block 4 : Decryption CBC step: Xor of output unwhiten result with previous ciphertext block received |
P0 = P '0 |
P1 = P '1 |
P2 = P '2 |
P3 = P '3 |
Plaintext result for decryption of block 4 |
p0 = [P0 |
p1 = [P0 |
p2 = [P0 |
p3 = [P0 |
p4 = [P1 |
p5 = [P1 |
p6 = [P1 |
p7 = [P1 |
p8 = [P2 |
p9 = [P2 |
p10 = [P2 |
p11 = [P2 |
p12 = [P3 |
p13 = [P3 |
p14 = [P3 |
p15 = [P3 |
Plaintext block output = p0p1p2p3p4p5p6p7p8p9p10p11p12p13p14p15 = 90afe91bb288544f2c32dc239b2635e6 |