ArticleslgStudy

science

AES key schedule

AES key schedule is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand AES key schedule rather than just read about it. In short: 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.

AES key schedule — main illustration
AES key schedule — illustration

Key takeaways

  • AES key schedule belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect AES key schedule to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of AES key schedule from memory before moving on to harder problems.

Reference excerpt

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.

Round constants

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

rconi=[rci001600160016] where rci is an eight-bit value defined as :

rci={1if i=12⋅rci−1if i>1 and rci−1<8016(((2⋅rci−1)⊕11B16) mod 10016)if i>1 and rci−1≥8016 where ⊕ is the bitwise XOR operator and constants such as 0016 and 11B16 are given in hexadecimal. Equivalently:

rci=xi−1 where the bits of rci are treated as the coefficients of an element of the finite field GF(2)[x]/(x8+x4+x3+x+1), so that e.g. rc10=3616=001101102 represents the polynomial x5+x4+x2+x. 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.

The key schedule

Define:

N as the length of the key in 32-bit words: 4 words for AES-128, 6 words for AES-192, and 8 words for AES-256 K0, K1, ... KN-1 as the 32-bit words of the original key R as the number of round keys needed: 11 round keys for AES-128, 13 keys for AES-192, and 15 keys for AES-256 W0, W1, ... W4R-1 as the 32-bit words of the expanded key Also define RotWord as a one-byte left circular shift:

RotWord⁡([b0b1b2b3])=[b1b2b3b0] and SubWord as an application of the AES S-box to each of the four bytes of the word:

SubWord⁡([b0b1b2b3])=[S⁡(b0)S⁡(b1)S⁡(b2)S⁡(b3)] Then for i=0…4R−1:

Wi={Kiif i<NWi−N⊕SubWord⁡(RotWord⁡(Wi−1))⊕rconi/Nif i≥N and i≡0(modN)Wi−N⊕SubWord⁡(Wi−1)if i≥N, N>6, and i≡4(modN)Wi−N⊕Wi−1otherwise.

Notes

References FIPS PUB 197: the official AES standard (PDF file)

External links Description of Rijndael's key schedule schematic view of the key schedule for 128 and 256 bit keys for 160-bit keys on Cryptography Stack Exchange

Worked examples

Example 1 — a first encounter with AES key schedule

Start with the simplest possible case. Write down what AES key schedule claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to AES key schedule before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about AES key schedule ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of AES key schedule

In research
AES key schedule appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses AES key schedule in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
AES key schedule is common in secondary-school and first-year university syllabi. It links to neighbouring topics Advanced Encryption Standard, Key management, so understanding it makes those chapters shorter.
In everyday life
Look for AES key schedule outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “AES key schedule” →

How to study AES key schedule in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what AES key schedule means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain AES key schedule out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is AES key schedule in simple terms?

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.

Why does AES key schedule matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study AES key schedule?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on AES key schedule.

Tags

  • Advanced Encryption Standard
  • Key management

Keep exploring