60 likes | 334 Views
구현 - Flow Chart. 16-bit key. Round 0. w0. w1. w2. w3. w4. w5. 16-bit plaintext. Round 2. W[0,1]. Add round key. Nibble substitution. Shift row. Round 1. Nibble substitution. W[4,5]. Add round key. Shift row. 16-bit ciphertext. Mix columns. W[2,3]. Add round key.
E N D
구현 - Flow Chart 16-bit key Round 0 w0 w1 w2 w3 w4 w5 16-bit plaintext Round 2 W[0,1] Add round key • Nibble substitution • Shift row Round 1 Nibble substitution W[4,5] Add round key • Shift row 16-bit ciphertext Mix columns W[2,3] Add round key
구현 - Round0 16-bit key Round 0 16-bit plaintext W[0,1] Add round key 2 key XOR
구현 - Round1 Round 1 Nibble substitution [15:12] [11:8] [7:4] [3:0] • Shift row [15:12] [11:8] [7:4] [3:0] Mix columns Add round key
Round 1 구현 - Round1(계속) Nibble substitution 16-bit key • Shift row W[2,3] Mix columns Add round key regX = 4ㆍnibbleX x = = output
구현 – Round2 16-bit key Round 2 Nibble substitution • Shift row W[4,5] Add round key
구현 - Flow Chart 16-bit key Expanded Key w0 w1 w2 w3 w4 w5 Round 0 Round 1 Round 2 Output