0% found this document useful (0 votes)
73 views

AES - Key Expansion

Uploaded by

firas as
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views

AES - Key Expansion

Uploaded by

firas as
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

AES ( Key Expansion )

Example
Find the round key for round 1 in hexadecimal , based on the information given below
The AES key is: 15AD3F4E5C0F673E5A8C976B3C4D3F6A

Given: Rcon[j] in Hexadecimal : Rotation Constant for each round (j)

Solution : follow the following steps :

1. Put the hexadecimal in a 4X4 array. You should fill the array in column wise, as following
a. Column 1 = W0
b. Column 2 = W1
c. Column 3 = W2
d. Column 4 = W3

15 5C 5A 3C
AD 0F 8C 4D
3F 67 97 3F
4E 3E 6B 6A
W0 W1 W2 W3

2. Take W3 The follow a. and b.


3C
4D
3F
6A
W3

a. shift up by 1 , then

4D
3F
6A
3C

b. byte substitution from S-BoX, the result will be RotWord

4D E3
3F = 75
6A 02
3C EB
3. Compute the following :
a. W4=RotWord XOR W0 XOR Rcon[1]

RotWord W0 Rcon[1] W4
E3 XOR 15 XOR 01 = F7
75 AD 00 D8
02 3F 00 3D
EB 4E 00 A5

b. W5= W1 XOR W4

W1 W4 W5
5C XOR F7 = AB
0F D8 D7
67 3D 5A
3E A5 9B

c. W6= W2 XOR W5

W2 W5 W6
5A XOR AB = F1
8C D7 5B
97 5A CD
6B 9B F0

d. W7= W3 XOR W6

W3 W6 W7
3C XOR F1 = CD
4D 5B 16
3F CD F2
6A F0 9A

Finally

15 5C 5A 3C F7 AB F1 CD
AD 0F 8C 4D D8 D7 5B 16
3F 67 97 3F 3D 5A CD F2
4E 3E 6B 6A A5 9B F0 9A
W0 W1 W2 W3 W4 W5 W6 W7
Q1 :
Find the round key for round 1 in hexadecimal , based on the information given below
The AES key is: 16EF5B3A815C6DC57B819E3D43ABE64A
Q2 :
Find the round key for round 1 in hexadecimal , based on the information given below
The AES key is: FB5A123E56F87C5364DF346A676B7E89
Q3 :
Find the round key for round 1 in hexadecimal , based on the information given below
The AES key is: 15FE67A3B89D67BC57D3A5A1B8C6E0A7
Q4 :

Find the round key for round 1 in hexadecimal , based on the information given below
The AES key is: 15FE67A3B89D67BC57D3A5A1B8C6E0A7
Q5 :
Find the round key for round 1 in hexadecimal , based on the information given below
The AES key is: A125E388D4F426BC1A06B8501E32D9F6

You might also like