# US 2015/0104007 A1 · Flexible architecture and instruction for advanced encryption standard (aes)

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

- Number: US 2015/0104007 A1
- Document ID: US20150104007A1
- Status: Published application
- Kind: A1
- Application number: 14/572,565
- Filed: 2014-12-16
- Published: 2015-04-16
- Earliest claimed: 2007-03-28
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Shay Gueron; Wajdi K. Feghali; Vinodh Gopal; Raghunandan Makaram; Martin G. Dixon; Srinivas Chennupaty; Michael E. Kounavis
- Web page: https://patentgrep.com/patent/US20150104007A1

## 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 3/0623: {in relation to content}
- G06F 3/0665: {at area level, e.g. provisioning of virtual or logical volumes}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 9/30007: {to perform operations on data operands}
- G06F 9/30036: {Instructions to perform operations on packed data, e.g. vector, tile or matrix operations}
- G06F 9/30047: {Prefetch instructions; cache control instructions}
- G06F 9/30145: {Instruction analysis, e.g. decoding, instruction word fields}
- G06F 9/30178: {of compressed or encrypted instructions}
- G06F 9/3802: {Instruction prefetching}
- G06F 9/3818: {Decoding for concurrent execution}
- G06F 9/3887: {controlled by a single instruction for multiple data lanes [SIMD]}
- G06F 9/3895: {for complex operations, e.g. multidimensional or interleaved address generators, macros}
- G06F 12/0862: with prefetch
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 21/602: {Providing cryptographic facilities or services}
- G11C 7/1072: {for memories with random access ports synchronised on clock signal pulse trains, e.g. synchronous memories, self timed memories}
- H04L 9/0816: {Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use}
- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- G06F 2212/1052: Security improvement
- G06F 2212/402: Encrypted data
- G06F 2212/452: Instruction code
- G06F 2212/454: Vector or matrix data
- G06F 2212/602: Details relating to cache prefetching
- 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)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A flexible aes instruction set for a general purpose processor is provided. The instruction set includes instructions to perform a “one round” pass for aes encryption or decryption and also includes instructions to perform key generation. An immediate may be used to indicate round number and key size for key generation for 128/192/256 bit keys. The flexible aes instruction set enables full use of pipelining capabilities because it does not require tracking of implicit registers.

## Claims

### Claim at position 1

-26. (canceled)

### Claim 27

A processor comprising:
a plurality of cores;
a level 1 instruction cache to cache instructions;
a level 1 data cache;
a bus interface unit;
a plurality of 128-bit registers;
a decode unit to decode the instructions from the level 1 instruction cache including four Advanced Encryption Standard (AES) instructions, wherein each of the four AES instructions has a unique opcode, the four AES instructions including:
a first AES encryption instruction that is to use a 128-bit source/destination register of the plurality and a 128-bit source register of the plurality, and
a second AES encryption instruction that is to use a 128-bit source register of the plurality and a 128-bit destination register of the plurality; and
an execution unit coupled to the decode unit, such that:
the first AES encryption instruction is to cause the execution unit to receive data from the 128-bit source/destination register and the 128-bit source register of the first AES encryption instruction, perform operations for an AES single encryption round including a byte substitution, a shift rows, and an exclusive OR, but omitting a mix columns, and store a first result in the 128-bit source/destination register; and
the second AES encryption instruction is to cause the execution unit to receive data from the 128-bit source register of the second AES encryption instruction, perform operations including a mix columns, and store a second result in the 128-bit destination register of the second AES encryption instruction.

### Claim 28 (depends on 27)

The processor of claim 27, wherein the first AES encryption instruction is capable of using any one of a 128-bit round key, a 192-bit round key, and a 256-bit round key.

### Claim 29 (depends on 27)

The processor of claim 27, further comprising a microcode Read Only Memory (ROM) to store micro-operations to implement the first AES encryption instruction.
