Question

In: Computer Science

Show the first eight words of the AES key expansion for a 128-bit key of all...

Show the first eight words of the AES key expansion for a 128-bit key of all ONES

Solutions

Expert Solution

Ans:

Calculating w[4] :

Here, i = 4

temp = w[i-1] =w[3] = ffffffff

RotWord(temp) = ffffffff

SubWord(RotWord(temp)) = 16161616 (using the S-box table)

Rcon[4/4] = 01000000 (using round constant table)

XORing SubWord withRcon[4/4] : temp=16161616 XOR 01000000 = 17161616

XORing w[4-4] with temp we get w[4] , hencew[4] = w[0] XOR temp= ffffffff XOR 17161616 =e8e9e9e9

The next three keys are just calculated using XORS with ffffffff.

These are:

w[5] = 17 16 16 16

w[6] = e8 e9 e9 e9

w[7] = 17 16 16 16

Calculating w[8] :

Here, i = 8

temp = w[i-1] =w[7] = 17161616

RotWord(temp) = 16161617

SubWord(RotWord(temp)) = 474747f0 (using the S-box table)

Rcon[8/4] = 02000000 (using round constant table)

XORing SubWord withRcon[8/4] : temp=474747f0 XOR 02000000 = 454747f0

XORing w[8-4] with temp we get w[8] , hencew[8] = w[4] XOR temp= e8e9e9e9 XOR 454747f0 =adaeae19

The next three keys are just calculated using XORS with the appropriate previous values:

w[9] = ba b8 b8 0f

w[10] = 52 51 51 e6

w[11] = 45 4747 f0


Related Solutions

Java/Python/C++ Assignment Write a program to implement one round of AES-128 Input is the key and...
Java/Python/C++ Assignment Write a program to implement one round of AES-128 Input is the key and plaintext a. Show the plaintext as a 4x4 matrix b. Show the result after adding RoundKey0 c. Show the result after SubBytes d. Show the result after ShiftRows e. Show the result after MixColumns f. Show the result after first round
First, show all work for determining the mass of the planar lamina region in the first...
First, show all work for determining the mass of the planar lamina region in the first quadrant bounded by the circle ? 2 + ? 2 = 4 and the lines ? = 0 and ? = ? √3 with a density of ?(?, ?) = ? 2 . (Hint: You may want to use a double angle formula if using polar coordinates) Second, set up the double integrals for finding the moments My and Mx. Finally, use Wolfram Alpha...
Generate all substrings of set {1, 2, 3} using the bit strings method. Show details of...
Generate all substrings of set {1, 2, 3} using the bit strings method. Show details of your work.
**SHOW ALL WORK IN EXCEL QM** Problem-4: Every home football game for the past eight years...
**SHOW ALL WORK IN EXCEL QM** Problem-4: Every home football game for the past eight years at Eastern State University has been sold out. The revenues from ticket sales are significant, but the sale of food, beverages, and souvenirs has contributed greatly to the overall profitability of the football program. One particular souvenir is the football program for each game. The number of programs sold at each game is described by the following probability distribution: Number (in 100s) of Programs...
Find the Fourier series expansion of f(x)=sin(x) on [-pi,pi]. Show all work and reasoning.
Find the Fourier series expansion of f(x)=sin(x) on [-pi,pi]. Show all work and reasoning.
1. Select all Course table data and display in primary key order. Show this query result.
Table Course:    Column    dataType Constraint ccode char(8) primary key, meetingTime char(4), room char(6), fid    decimal(3) NOT NULL, cTitle    varchar(24) NOT NULL, fee    decimal(4,2),    prereq char(8) 1. Select all Course table data and display in primary key order. Show this query result. 2. By default MySQL runs in autocommit mode. Issue a START TRANSACTION command before a series of update commands that may need to be rolled back or to be committed. ROLLBACK will "undo" commands given in the transaction. [Note:...
In parts a-d evaluate the following determinants. show all steps. a. 2x2 matrix the first row...
In parts a-d evaluate the following determinants. show all steps. a. 2x2 matrix the first row being 1 and 2 the second row being -3 and 4. b. 3x3 matrix, the first row being 2,1, 5, the second row being 0, 3, 2, the third row being 0, 0, 4. c. 3x3 matrix, the first row being 3, -1, 4, the second row being 2, -2, 3, the third row being 1, -1, 2 d. 4x4 matrix, the first row...
Please show all work and label everything correctly. 1: Consider the sum of the first n...
Please show all work and label everything correctly. 1: Consider the sum of the first n positive integers that leave a remainder of 4 when divided by 6. FInd and prove a formula for this sum.
**SHOW ALL WORK IN EXCEL QM** Problem-7: Management of the First Syracuse Bank is concerned about...
**SHOW ALL WORK IN EXCEL QM** Problem-7: Management of the First Syracuse Bank is concerned about a loss of customers at its main office downtown. One solution that has been proposed is to add one or more drive-through teller stations to make it easier for customers in cars to obtain quick service without parking. Chris Carlson, the bank president, thinks the bank should only risk the cost of installing one drive-through. He is informed by his staff that the cost...
Document all aspects of the 1D PIAB. Show the first five energy levels. Try your best...
Document all aspects of the 1D PIAB. Show the first five energy levels. Try your best to draw to scale. Include the wavefunctions, energy levels,and the impact of the uncertainty principle on the allowed integer values.What is the difference in the HOMO and 1stLUMO transition if you place nine (9)electrons into the box?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT