Presentation is loading. Please wait.

Presentation is loading. Please wait.

Last Updated: Aug 25, 2015. Implement AES Use the FIPS 197 spec as your guide o Avoid looking at code on the Internet o Challenge yourself to implement.

Similar presentations


Presentation on theme: "Last Updated: Aug 25, 2015. Implement AES Use the FIPS 197 spec as your guide o Avoid looking at code on the Internet o Challenge yourself to implement."— Presentation transcript:

1 Last Updated: Aug 25, 2015

2 Implement AES Use the FIPS 197 spec as your guide o Avoid looking at code on the Internet o Challenge yourself to implement the algorithm based on sources mentioned in the lab specification o The standard provides programming language independent pseudo-code o 20 pages in the spec of complete, step by step debugging information to check your solution Programming Lab #1

3 Finite Fields

4 Addition (XOR) o (x 6 + x 4 + x 2 + x + 1) + (x 7 + x + 1) = x 7 + x 6 + x 4 + x 2 o {01010111}  {10000011} = {11010100} o {57}  {83} = {d4} Multiplication is tricky Finite Field Arithmetic

5 Finite Field Multiplication (  ) These cancel out Irreducible Polynomial

6 There’s a better way o xtime() – very efficiently multiplies its input by {02} This is the same as multiplying a polynomial by x Multiplication by higher powers can be accomplished through repeated applications of xtime() Efficient Finite Field Multiply

7

8 AES Parameters

9 Convert to state array Transformations (and their inverses) AddRoundKey SubBytes ShiftRows MixColumns Key Expansion AES methods

10 See Flash demo URL on course Lectures pages Inner Workings


Download ppt "Last Updated: Aug 25, 2015. Implement AES Use the FIPS 197 spec as your guide o Avoid looking at code on the Internet o Challenge yourself to implement."

Similar presentations


Ads by Google