CH5 Fa22
CH5 Fa22
Assignment
CHAPTER 5 - AES
Question #1
a) What is the inverse of {57} in GF(28)?
b) Verify the entry for {57} in the AES S-Box
Question #2
Show the first eight words of the AES (128 bits) key expansion for a key consisting of all
ones.
Question #3
Given the Plaintext in Hex: {000102030405060708090A0B0C0D0E0F}
And given the Key in Hex below (40 = 0100 0000):
{4040404040404040404040404040404040404040404040404040404040404040}
For the first round of AES:
a) Show the original contents of State, displayed as a 4x4 Matrix
b) Show the value of State after initial ADD ROUND KEY
c) Show the value of State after initial SUBSTITUE BYTES
d) Show the value of State after initial SHIFT ROWS
e) Show the value of State after initial MIX COLUMNS
Question #4
Compute the outcome of the AES Mix-Columns transformation for the sequence of input
bytes: 56 44 92 08.
Question #5
Write a computer program that computes the answers to questions 3) and 4), that is, given
a plaintext (in Hex) and a key (in hex) show all the results of the first round of AES (128)
and the key expansion (displayed in hex) for the 11 sub-keys.