# US 2008/0304659 A1 · Method and apparatus for expansion key generation for block ciphers

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0304659 A1
- Document ID: US20080304659A1
- Status: Published application
- Kind: A1
- Application number: 11/760,733
- Filed: 2007-06-08
- Published: 2008-12-11
- Earliest claimed: 2007-06-08
- Assignees: Intel Corporation
- Inventors: Erdinc Ozturk; Kirk S. Yap; Gilbert Wolrich; Wajdi K. Feghali; Vinodh Gopal
- Web page: https://patentgrep.com/patent/US20080304659A1

## CPC

- H04L 9/0631: {Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms}
- G06F 9/30007: {to perform operations on data operands}
- H04L 2209/12: Details relating to cryptographic hardware or logic circuitry
- H04L 2209/24: Key scheduling, i.e. generating round keys or sub-keys for block encryption
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A key scheduler performs a key-expansion to generate round keys for AES encryption and decryption just-in-time for each AES round. The key scheduler pre-computes slow operations in a current clock cycle to reduce the critical delay path for computing the round key for a next AES round.

## Claims

### Claim 1

An apparatus comprising:
a key scheduler comprising:
key expansion to generate a round key of an expanded key per clock cycle, the round key based on a cipher key; and
memory to store pre-computed words for a current round key to forward to a data path for use by a round operation in a current clock cycle, the key expansion to generate a next round key in the current clock cycle for use in a next clock cycle based on the stored pre-computed words.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the stored pre-computed words are dependent on a type of operation and the size of the cipher key.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the type of operation is encrypt or decrypt.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the round operation is an Advanced Encryption Standard (AES) round operation.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the next round key generated in the current clock cycle is a first round key in a next expanded key.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the memory is a 256-bit register, the size of the cipher key is 128-bits and the round key is 128-bits

### Claim 7 (depends on 5)

The apparatus of claim 5, wherein the memory is a 256-bit register, the size of the cipher key is 192-bits and the round key is 128-bits.

### Claim 8 (depends on 5)

The apparatus of claim 5, wherein the memory is a 256-bit register, the size of the cipher key is 256-bits and the round key is 128-bits.

### Claim 9

A method comprising:
generating a round key of an expanded key per clock cycle based on a cipher key;
storing pre-computed words for a current round key to forward to a data path for use by a round operation in a current clock cycle; and
generating a next round key in the current clock cycle for use in a next clock cycle based on the stored pre-computed words.

### Claim 10 (depends on 9)

The method of claim 9, wherein the stored pre-computed words are dependent on a type of operation and the size of the cipher key.

### Claim 11 (depends on 10)

The method of claim 10, wherein the type of operation is encrypt or decrypt.

### Claim 12 (depends on 9)

The method of claim 9, wherein the round operation is a Advanced Encryption Standard (AES) round operation.

### Claim 13 (depends on 9)

The method of claim 9, wherein the next round key generated in the current clock cycle is a first round key in a next expanded key.

### Claim 14 (depends on 9)

The method of claim 9, wherein the memory is a 256-bit register, the size of the cipher key is 128-bits and the round key is 128-bits

### Claim 15 (depends on 9)

The method of claim 9, wherein the memory is a 256-bit register, the size of the cipher key is 192-bits and the round key is 128-bits.

### Claim 16 (depends on 9)

The method of claim 9, wherein the memory is a 256-bit register, the size of the cipher key is 256-bits and the round key is 128-bits.
