Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please implement it using 8086 assembly language AES encryption Please write a program to perform the first round of AES encryption using a 128-bit key.

please implement it using 8086 assembly language
image text in transcribed
AES encryption Please write a program to perform the first round of AES encryption using a 128-bit key. The inputs are a 128-bit plaintext and a 128-bit key. Your code is to perform the following steps, as taken from the pseudo-code found on page 15 of the FIPS-197 document: AddRoundKey(state, key) In this code state is the 16-byte plaintext (as it is modified) and key is the 16-byte key. Test your program on the inputs found in Appendix B of the FIPS-197 document (page 33). Looking at that, here is what should be in the state array after each step: AddRoundKey(state, key): 19 a 9a e9 3d f4 c6 f8 e3 e2 8d 48 be 2b 2a 08 SubBytes(state): d4 eo b8 1e 27 bf b4 41 11 98 5d 52 ae f1 e5 30 ShiftRows(state): d4 e0 68 1e bf b4 41 27 5d 52 11 98 30 ae f1 e5 MixColumns(state): 04 e 48 28 66 cb f8 06 81 19 d3 26 e5 9a 7a 4c The input should be two strings, each containing 32 hexadecimal characters. The first one should be the key and the second the plaintext. Test your program on the input pair: 2b7e151628aed2a6abf7158809cf4f3c 3243f6a8885a308d313198a2e0370734

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions