AddRoundKey
XOR each byte of the round key with
its corresponding byte in the state
array
S
0,0S
0,1S
0,2S
0,3
S
1,0S
1,1S
1,2S
1,3
S
2,0S
2,1S
2,2S
2,3
S
3,0S
3,1S
3,2S
3,3
S’
0,0S’
0,1S’
0,2S’
0,3
S’
1,0S’
1,1S’
1,2S’
1,3
S’
2,0S’
2,1S’
2,2S’
2,3
S’
3,0S’
3,1S’
3,2S’
3,3
S
0,1
S
1,1
S
2,1
S
3,1
S’
0,1
S’
1,1
S’
2,1
S’
3,1
R
0,0R
0,1R
0,2R
0,3
R
1,0R
1,1R
1,2R
1,3
R
2,0R
2,1R
2,2R
2,3
R
3,0R
3,1R
3,2R
3,3
R
0,1
R
1,1
R
2,1
R
3,1
XOR