Hubbry Logo
search
logo

AES key schedule

logo
Community Hub0 Subscribers
Write something...
Be the first to start a discussion here.
Be the first to start a discussion here.
See all
AES key schedule

The Advanced Encryption Standard uses a key schedule to expand a short key into a number of separate round keys. The three AES variants have a different number of rounds. Each variant requires a separate 128-bit round key for each round plus one more. The key schedule produces the needed round keys from the initial key.

The round constant rconi for round i of the key expansion is the 32-bit word:

where rci is an eight-bit value defined as :

where is the bitwise XOR operator and constants such as 0016 and 11B16 are given in hexadecimal. Equivalently:

where the bits of rci are treated as the coefficients of an element of the finite field , so that e.g. represents the polynomial .

AES uses up to rcon10 for AES-128 (as 11 round keys are needed), up to rcon8 for AES-192, and up to rcon7 for AES-256.

Define:

Also define RotWord as a one-byte left circular shift:

See all
User Avatar
No comments yet.