AES
Contents
AES (Advanced Encryption Standard)
- The Advanced Encryption Standard is symmetric encryption specification
Key
- keys could be 128, 192, and 256 bits
- The repetition go through 10, 12 or 14 rounds
Block
- 16 bytes
- a 4x4 matrix holds the data in a single block
Round
Each round consists of 4 steps
- applying a key - addRoundKey()
- substituting bytes - subBytes()
- shifting rows - shiftRows()
- mixing columns - mixColumns()
S-Box
- Substitution Box
Add Round Key
- A bit-wise XOR between the 16-byte state and the appropriate 16-bytes of the expanded key.
- You pass the block data stored in the state array through an XOR function with the first key generated (K0). It passes the resultant state array on as input to the next step.
Sub Bytes
- replace each bytes in the block with the values in S-Box
Shift Rows
Mix Column
- Matrix production in Galois field