Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 731 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 731 Bytes

Modified AES

  • Irreducible polynomial on GF(28) and Final vector on Affine transformation is different from standard
  • Use irreducible polynomial as x8+x6+x3+x2+1
  • And final vector is 0x15
  • But can be easily adapted by changing IRR_POLY and FINAL_VECTOR

1. Galois Field Operations & Inverse Manipulation

  • Addition
  • Multiplication

2. S-Box & Inverse S-Box Manipulation

  • S-Box
  • Inverse S-Box

3. Round Constant & Key Expansion

  • Round constant
  • Key Expansion
  • R-Function

4. Encryption

  • Substitute Bytes
  • Shift Rows
  • Mix Columns
  • Add Round Key

5. Decryption

  • Inverse Subsitute Bytes
  • Inverse Shift Rows
  • Inverse Mix Columns