# US 2017/0364676 A1 · Authentication and control of encryption keys

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

- Number: US 2017/0364676 A1
- Document ID: US20170364676A1
- Status: Published application
- Kind: A1
- Application number: 15/678,502
- Filed: 2017-08-16
- Published: 2017-12-21
- Earliest claimed: 2015-04-27
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Timothy R. Paaske; Weihua Mao; Shu-Yi Yu
- Web page: https://patentgrep.com/patent/US20170364676A1

## CPC

- G06F 21/46: by designing passwords or checking the strength of passwords
- G06F 21/44: Program or device authentication
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/606: {by securing the transmission between two devices or processes}
- G06F 21/85: interconnection devices, e.g. bus-connected or in-line devices
- H04L 9/088: {Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms (network architectures or network communication protocols for using time-dependent keys in a packet data network H04L63/068)}
- G06F 2221/2137: Time limited access, e.g. to a computer or data
- 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

An apparatus, a method, and a system are presented in which the apparatus includes an interface control circuit that may be configured to receive a message including a cryptographic keyword and a policy value. The policy value may include one or more data bits indicative of one or more policies that define allowable usage of the cryptographic keyword. The apparatus also includes a security circuit that may be configured to extract the cryptographic keyword and the policy value from the message, and to apply at least one policy of the one or more policies to usage of the cryptographic keyword in response to a determination that an authentication of the message succeeded.

## Claims

### Claim 1

An apparatus comprising:
an interface control circuit configured to receive a message including a cryptographic keyword and a policy value, wherein the policy value includes one or more data bits indicative of one or more policies that define allowable usage of the cryptographic keyword; and
a security circuit configured to:
extract the cryptographic keyword and the policy value from the message; and
apply at least one policy of the one or more policies to usage of the cryptographic keyword in response to a determination that an authentication of the message succeeded.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the interface control circuit is further configured to receive the message from a security processor.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein to determine if the authentication of the message succeeded, the security circuit is further configured to:
utilize a keyed-hash message authentication code (HMAC) algorithm to generate a hash value of the message; and
compare the hash value to an authentication value included in the message.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the message includes a second cryptographic keyword and the policy value includes an indication to use the second cryptographic keyword, and wherein to apply the at least one policy to the usage of the cryptographic keyword, the security circuit is further configured to use the second cryptographic keyword.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the policy value includes an indication that the cryptographic keyword is encrypted, and wherein to apply the at least one policy to the cryptographic keyword, the security circuit is further configured to decrypt the cryptographic keyword before using the cryptographic keyword.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the policy value includes an indication of an amount of time for which the cryptographic keyword is allowed to be used, and wherein to apply the at least one policy, the security circuit is further configured to delete the cryptographic keyword in response to a determination that the amount of time has elapsed.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the policy value includes an indication that the cryptographic keyword is restricted to decryption usage, and wherein to apply the at least one policy to the usage of the cryptographic keyword, the security circuit is further configured to decrypt encrypted data using the cryptographic keyword.

### Claim 8

A method, directed to a computing system, comprising:
receiving, by a security circuit, a message that includes a cryptographic keyword and a policy value, wherein the policy value includes one or more data bits indicative of one or more policies that define allowable usage of the cryptographic keyword;
extracting the cryptographic keyword and the policy value from the message;
authenticating the message; and
applying at least one policy of the one or more policies to usage of the cryptographic keyword in response to determining that authenticating the message succeeded.

### Claim 9 (depends on 8)

The method of claim 8, wherein authenticating the message comprises:
performing a keyed-hash message authentication code (HMAC) algorithm on the message; and
comparing a result of the HMAC algorithm to an authentication value included in the message.

### Claim 10 (depends on 8)

The method of claim 8, wherein applying the at least one policy includes selecting, based on the policy value, one of a plurality of cryptographic algorithms that is approved for use with the cryptographic keyword.

### Claim 11 (depends on 8)

The method of claim 8, wherein applying the at least one policy comprises:
determining, based on the policy value, a time period for updating a revocation list;
in response to determining that the time period has elapsed, updating the revocation list; and
in response to determining that the cryptographic keyword is on the updated revocation list, deleting the cryptographic keyword.

### Claim 12 (depends on 8)

The method of claim 8, wherein applying the at least one policy includes descrambling, based on the policy value, the cryptographic keyword.

### Claim 13 (depends on 8)

The method of claim 8, wherein applying the at least one policy includes combining, based on the policy value, the cryptographic keyword with a second cryptographic keyword included in the message.

### Claim 14

A system comprising:
a security processor configured to:
generate a cryptographic keyword;
create a policy value including one or more data bits indicative of one or more policies that indicate allowable usage of the cryptographic keyword; and
send a message including the cryptographic keyword and the policy value;
a plurality of functional circuits configured to:
receive the message from the security processor;
extract the cryptographic keyword and the policy value from the message; and
apply at least one policy of the one or more policies to usage of the cryptographic keyword in response to a determination that an authentication of the message succeeded.

### Claim 15 (depends on 14)

The system of claim 14, wherein the policy value includes an indication of a subset of the plurality of functional circuits that are allowed to use the cryptographic keyword, and wherein to apply the at least one policy to the usage of the cryptographic keyword, a first functional circuit of the plurality of functional circuits is configured to use the cryptographic keyword in response to a determination that the first functional circuit is included in the subset.

### Claim 16 (depends on 15)

The system of claim 15, wherein to apply the at least one policy to the usage of the cryptographic keyword, a second functional circuit of the plurality of functional circuits is configured to delete the cryptographic keyword in response to a determination that the second functional circuit is excluded from the subset.

### Claim 17 (depends on 15)

The system of claim 15, wherein the policy value includes an indication that the cryptographic keyword is restricted to encryption usage, and wherein to apply the at least one policy to the usage of the cryptographic keyword, the first functional circuit is further configured to encrypt data using the cryptographic keyword.

### Claim 18 (depends on 15)

The system of claim 15, wherein the policy value includes an indication of a time of day, and wherein to apply the at least one policy to the usage of the cryptographic keyword, the first functional circuit is further configured to delete the cryptographic keyword in response to a determination that a current time is equal to the indicated time of day.

### Claim 19 (depends on 15)

The system of claim 15, wherein the message includes a second cryptographic keyword, and wherein to apply the at least one policy to the usage of the cryptographic keyword, the first functional circuit is further configured to, based on the policy value, combine the cryptographic keyword with the second cryptographic keyword to generate a third cryptographic.

### Claim 20 (depends on 15)

The system of claim 15, wherein the policy value includes an indication of a number of bits in the cryptographic keyword, and wherein to apply the at least one policy to the usage of the cryptographic keyword, the first functional circuit is further configured to extract the indicated number of bits from a field in the message that includes the cryptographic keyword.
