# US 2017/0293572 A1 · Composite field scaled affine transforms-based hardware accelerator

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

- Number: US 2017/0293572 A1
- Document ID: US20170293572A1
- Status: Published application
- Kind: A1
- Application number: 15/095,783
- Filed: 2016-04-11
- Published: 2017-10-12
- Earliest claimed: 2016-04-11
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Sudhir K. Satpathy; Sanu K. Mathew; Vikram B. Suresh
- Web page: https://patentgrep.com/patent/US20170293572A1

## CPC

- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 21/00: Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F 21/72: in cryptographic circuits
- G09C 1/00: Apparatus or methods whereby a given sequence of signs, e.g. an intelligible text, is transformed into an unintelligible sequence of signs by transposing the signs or groups of signs or by replacing them by others according to a predetermined system (cryptographic typewriters G09C3/00)
- 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}
- H04L 9/3093: {involving Lattices or polynomial equations, e.g. NTRU scheme}
- G06F 2212/1052: Security improvement
- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G09C: CIPHERING OR DECIPHERING APPARATUS FOR CRYPTOGRAPHIC OR OTHER PURPOSES INVOLVING THE NEED FOR SECRECY
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A processing system includes a memory and a cryptographic accelerator operatively coupled to the memory. The cryptographic accelerator performs a split substitute byte operation within two paths of a cryptographic round by determining a first output from a first path by applying a mapped affine transformation to an input bit sequence represented by an element of a composite field of a finite-prime field, wherein the first output is represented by a first element of the composite field of the finite-prime field, and a second output from a second path by applying a scaled mapped affine transformation to the input bit sequence, wherein the second output is represented by a second element of the composite field and is equal to a multiple of the first output in the composite field.

## Claims

### Claim 1

A processing system, comprising:
a memory; and
a cryptographic accelerator operatively coupled to the memory, wherein the cryptographic accelerator is to perform a split substitute byte operation within two paths of a cryptographic round by determining:
a first output from a first path by applying a mapped affine transformation to an input bit sequence represented by an element of a composite field of a finite-prime field, wherein the first output is represented by a first element of the composite field of the finite-prime field; and
a second output from a second path by applying a scaled mapped affine transformation to the input bit sequence, wherein the second output is represented by a second element of the composite field and is equal to a multiple of the first output in the composite field.

### Claim 2 (depends on 1)

The processing system of claim 1, wherein the cryptographic accelerator comprises 4-bit substitute byte circuitry to perform the split substitute byte operation in the composite field, wherein the second output is double the first output.

### Claim 3 (depends on 1)

The processing system of claim 1, wherein the cryptographic accelerator further comprises a mixer including a plurality of summers, wherein each summer of the plurality of summers is to add one or more of the first output and one or more of the second output, to determine a mixed columns output for the cryptographic round.

### Claim 4 (depends on 1)

The processing system of claim 1, wherein the first path operates parallel to the second path.

### Claim 5 (depends on 1)

The processing system of claim 1, wherein the mapped affine transformation is represented by a matrix produced by multiplying a mapping matrix by a transformation matrix multiplied by an inverse of the mapping matrix.

### Claim 6 (depends on 5)

The processing system of claim 5, wherein the mapping matrix represents a mapping from the finite-prime field to the composite field of the finite-prime field, wherein the finite-prime field is represented by a GF(28) Galois field and the composite field is represented by a GF(24)2 Galois field.

### Claim 7 (depends on 5)

The processing system of claim 5, wherein contents of the mapping matrix is dictated by a pair of reduction polynomials associated with the composite field.

### Claim 8 (depends on 7)

The processing system of claim 7, wherein the pair of reduction polynomials comprises x4+x3+1 and x2+4x+2 for the composite field in an encryption design of the cryptographic accelerator.

### Claim 9 (depends on 7)

The processing system of claim 7, wherein the pair of reduction polynomials comprises x4+x3+1 and x2+4x+6 for the composite field in a decryption design of the cryptographic accelerator.

### Claim 10 (depends on 1)

The processing system of claim 1, wherein the scaled mapped affine transformation is represented by a matrix produced by multiplying a mapping matrix by a scaling matrix that is multiplied by a transformation matrix, which is multiplied by an inverse of the mapping matrix.

### Claim 11 (depends on 1)

The processing system of claim 1, wherein the cryptographic accelerator is to perform one of an Advanced Encryption Standard (AES) encryption operation or an AES decryption operation.

### Claim 12

A method comprising:
splitting, by a cryptographic accelerator coupled to a memory of a processing system, a substitute byte operation of a cryptographic round into a first path and a second path;
performing, by the cryptographic accelerator in the first path, a mapped affine transformation of an input bit sequence to produce a first output, wherein the input bit sequence is represented by an element of a composite field of a finite-prime field and the first output is represented by a first element of the composite field of the finite-prime field; and
performing, by the cryptographic accelerator in the second path, a scaled mapped affine transformation of the input bit sequence to produce a second output that is equal to a multiple of the first output in the composite field, wherein the second output is represented by a second element of the composite field of the finite-prime field.

### Claim 13 (depends on 12)

The method of claim 12, wherein the second output is double the first output and the scaled mapped affine transformation is a double mapped affine transformation.

### Claim 14 (depends on 12)

The method of claim 12, further comprising adding, by a mixer of the cryptographic accelerator, one or more of the first output and one or more of the second output for each mixed columns output of the cryptographic round.

### Claim 15 (depends on 12)

The method of claim 12, wherein the mapped affine transformation is represented by a matrix produced by multiplying a mapping matrix by a transformation matrix multiplied by an inverse of the mapping matrix.

### Claim 16 (depends on 15)

The method of claim 15, wherein the mapped affine transformation is also represented by the mapping matrix multiplied by a vector of constants.

### Claim 17 (depends on 15)

The method of claim 15, wherein the mapping matrix represents a mapping from the finite-prime field to the composite field of the finite-prime field, wherein the finite-prime field is represented by a GF(28) Galois field and the composite field is represented by a GF(24)2 Galois field.

### Claim 18 (depends on 12)

The method of claim 12, wherein the scaled mapped affine transformation is represented by a matrix produced by multiplying a mapping matrix by a scaling matrix that is multiplied by a transformation matrix, which is multiplied by an inverse of the mapping matrix.

### Claim 19 (depends on 18)

The method of claim 18, wherein the scaled mapped affine transformation is also represented by the mapping matrix multiplied by the scaling matrix, which is multiplied by a vector of constants.

### Claim 20

A processing system, comprising:
a memory; and
a cryptographic accelerator, operatively coupled to the memory, to:
identify a mapped input bit sequence by applying a mapping transformation to an input bit sequence represented by a first element of a finite-prime field, wherein the mapped input bit sequence is represented by a first element of a composite field of the finite-prime field;
identify a mapped first key by applying the mapping transformation to an input key represented by a second element of the finite-prime field, wherein the mapped first key is represented by a second element of the composite field of the finite-prime field;
perform, within the composite field, at least one cryptographic round on the mapped input bit sequence, using the mapped first key during a first round of the at least one cryptographic round, to generate a processed bit sequence; and
identify an output bit sequence to be stored back in the finite-prime field by applying an inverse mapping transformation to the processed bit sequence.

### Claim 21 (depends on 20)

The processing system of claim 20, wherein, to identify the mapped input bit sequence, the cryptographic accelerator is to employ a mapping matrix, wherein contents of the mapping matrix depends on a pair of reduction polynomials chosen for the composite field.

### Claim 22 (depends on 20)

The processing system of claim 20, wherein, to identify the output bit sequence, the cryptographic accelerator employs an inverse mapping matrix, wherein contents of the mapping matrix depends on a pair of reduction polynomials chosen for the composite field.

### Claim 23 (depends on 20)

The processing system of claim 20, wherein the composite field includes 4-bit circuitry, and wherein the finite-prime field is represented by a GF(28) Galois field and the composite field is represented by a GF(24)2 Galois field.

### Claim 24 (depends on 20)

The processing system of claim 20, wherein the memory and the cryptographic accelerator are integrated within a system-on-a-chip (SOC).

### Claim 25

A processing system, comprising:
a memory; and
a cryptographic accelerator, operatively coupled to the memory, to perform a plurality of cryptographic rounds, wherein the cryptographic accelerator includes a plurality of round circuits, wherein each round circuit of the plurality of round circuits comprises customized logic that determines a round-specific constant of a plurality of round-specific constants for use during a current cryptographic round, and wherein the customized logic also maps the round-specific constant from a finite-prime field to an element of a composite field of the finite-prime field before being used to generate a key for a next round.
