# US 2022/0284133 A1 · Executing entity-specific cryptographic code in a cryptographic coprocessor

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

- Number: US 2022/0284133 A1
- Document ID: US20220284133A1
- Status: Published application
- Kind: A1
- Application number: 17/749,998
- Filed: 2022-05-20
- Published: 2022-09-08
- Earliest claimed: 2019-10-11
- Assignees: American Express Travel Related Services Company, Inc.
- Applicants: American Express Travel Related Services Company, Inc.
- Inventors: WAEL IBRAHIM; MANISH K. DELIWALA; MANIK BISWAS; SUBRAHMANYAM VENAKATA VISHNUVAJHALA; ANDREW LEI
- Web page: https://patentgrep.com/patent/US20220284133A1

## CPC

- G06F 21/72: in cryptographic circuits
- H04L 9/3247: {involving digital signatures}
- G06F 21/602: {Providing cryptographic facilities or services}
- H04L 9/0897: {involving additional devices, e.g. trusted platform module [TPM], smartcard or USB}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 9/3234: {involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token (network architectures or network communication protocols for supporting authentication of entities using an additional device in a packet data network H04L63/0853)}
- H04L 2209/26: Testing cryptographic entity, e.g. testing integrity of encryption key or encryption algorithm
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Disclosed are various embodiments for executing entity-specific cryptographic code in a cryptographic coprocessor. In one embodiment, an exemplary method comprises receiving encrypted code that includes implementing a cryptographic algorithm from a service via a network, wherein the encrypted code further includes a symmetric encryption key; decrypting, by a cryptographic coprocessor, the encrypted code; executing, by the cryptographic coprocessor, the decrypted code to generate a cryptogram including information encrypted using the cryptographic algorithm and the symmetric encryption key; and sending the cryptogram to the service via the network.

## Claims

### Claim 1

A system, comprising:
a computing device comprising a processor, a memory, and a cryptographic coprocessor; and
machine-readable instructions stored in the memory that, when executed by the processor, cause the computing device to at least:
receive encrypted code that includes implementing a cryptographic algorithm from a service via a network, wherein the encrypted code further includes a symmetric encryption key;
decrypt, by the cryptographic coprocessor, the encrypted code;
execute, by the cryptographic coprocessor, the decrypted code to generate a cryptogram including information encrypted using the cryptographic algorithm and the symmetric encryption key; and
send the cryptogram to the service via the network.

### Claim 2 (depends on 1)

The system of claim 1, wherein the cryptographic coprocessor complies with a version of a Trusted Platform Module (TPM) standard.

### Claim 3 (depends on 1)

The system of claim 1, wherein the cryptographic coprocessor is configured to verify a state of the computing device before decrypting the encrypted code.

### Claim 4 (depends on 1)

The system of claim 1, wherein the service is operated by an entity, and the cryptographic algorithm is a preferred cryptographic algorithm of the entity.

### Claim 5 (depends on 1)

The system of claim 1, wherein the cryptographic coprocessor is configured to verify that the encrypted code is signed by an entity from a predefined plurality of trusted entities before executing the decrypted code.

### Claim 6 (depends on 1)

The system of claim 1, wherein the encrypted code is decrypted using a root key of the cryptographic coprocessor that is associated with an entity that generated the encrypted code.

### Claim 7 (depends on 1)

The system of claim 1, wherein the service comprises a first service and a second service which are associated with an entity, the encrypted code is received from the first service, and the cryptogram is sent to the second service.

### Claim 8 (depends on 1)

The system of claim 1, wherein the cryptographic coprocessor is implemented in firmware in the computing device, and data is transferred from a secure element of the computing device to the cryptographic coprocessor via an interface to enable decryption of the encrypted code by the cryptographic coprocessor.

### Claim 9 (depends on 1)

The system of claim 1, wherein the cryptographic coprocessor is configured to support a selection from a predefined plurality of cryptographic algorithms to perform a cryptographic operation, and the cryptographic algorithm is excluded from the predefined plurality of cryptographic algorithms.

### Claim 10 (depends on 1)

The system of claim 1, wherein the cryptographic coprocessor is configured to act as a root of trust to verify the cryptographic algorithm before transferring the cryptographic algorithm to a secure element of the computing device.

### Claim 11

A method, comprising:
receiving, by a cryptographic coprocessor, encrypted code that includes implementing a cryptographic algorithm from a service via a network, wherein the encrypted code further includes a symmetric encryption key;
decrypting, by the cryptographic coprocessor, the encrypted code;
executing, by the cryptographic coprocessor, the decrypted code to generate a cryptogram including information encrypted using the cryptographic algorithm and the symmetric encryption key; and
sending, by the cryptographic coprocessor, the cryptogram to the service via the network.

### Claim 12 (depends on 11)

The method of claim 11, further comprising verifying, by the cryptographic coprocessor, that the encrypted code is signed by an entity from a predefined plurality of trusted entities before executing the decrypted code.

### Claim 13 (depends on 11)

The method of claim 11, further comprising verifying, by the cryptographic coprocessor, that the encrypted code is signed by an entity from a predefined plurality of trusted entities before executing the decrypted code.

### Claim 14 (depends on 11)

The method of claim 11, wherein the encrypted code is decrypted using a root key of the cryptographic coprocessor that is associated with an entity that generated the encrypted code.

### Claim 15 (depends on 11)

The method of claim 11, wherein the service comprises a first service and a second service which are associated with an entity, the encrypted code is received from the first service, and the cryptogram is sent to the second service.

### Claim 16 (depends on 11)

The method of claim 11, wherein the cryptographic coprocessor is implemented in firmware in a computing device, and data is transferred from a secure element of the computing device to the cryptographic coprocessor via an interface to enable decryption of the encrypted code by the cryptographic coprocessor.

### Claim 17 (depends on 11)

The method of claim 11, wherein the service is operated by an entity, and wherein decrypting the encrypted code further comprises decrypting the encrypted code using a root key of the cryptographic coprocessor that is associated with the entity.

### Claim 18

A non-transitory, computer-readable medium comprising machine-readable instructions that, when executed by a processor of a first computing device, cause the first computing device to at least:
receive encrypted code that includes implementing a cryptographic algorithm from a service via a network, wherein the encrypted code further includes a symmetric encryption key;
decrypt the encrypted code;
execute the decrypted code to generate a cryptogram including information encrypted using the cryptographic algorithm and the symmetric encryption key; and
send the cryptogram to the service via the network.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein encrypted code is encrypted using one of a predefined plurality of cryptographic algorithms supported by a standard for a cryptographic coprocessor.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the encrypted code is decrypted using a root key of the cryptographic coprocessor that is associated with an entity that generated the encrypted code.
