Documentos de Académico
Documentos de Profesional
Documentos de Cultura
AES Description
Assume key length 128 bits
Input is single 128-bit block
Depicted as square matrix of bytes
Block copied into State array
Modified at each stage
AES Structure
AES Structure
data
initial
round
Substitute Bytes
Substitute Bytes
Substitute Bytes
Example
Shift Rows
a
decrypt
right
since state is processed by
columns, this step permutes
bytes between the columns
Shift Rows
Mix Columns
each
Mix Columns
AES Arithmetic
uses
e.g.
Mix Columns
can
decryption
matrix
have
an alternate characterisation
coefficients
key
again processed by column (though
effectively a series of byte
operations)
inverse for decryption identical
designed
to be as simple as possible
AES Round
AES
Exampl
e Key
Expansi
on
AES
Example
Encrypti
on
AES Decryption
AES
works
when
AES Decryption
Implementation Aspects
can
CPU
byte substitution works on bytes using a
table of 256 entries
shift rows is simple byte shift
add round key works on byte XORs
mix columns requires matrix multiply in
GF(28) which works on byte values, can
be simplified to use table lookups & byte
XORs
Implementation Aspects
can
CPU
designers