# US 2022/0286442 A1 · Key Distribution Method, Key Receiving Method, First Key Management System, and First Network Element

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

- Number: US 2022/0286442 A1
- Document ID: US20220286442A1
- Status: Published application
- Kind: A1
- Application number: 17/700,064
- Filed: 2022-03-21
- Published: 2022-09-08
- Earliest claimed: 2015-11-13
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Lu Gan; Bo Zhang
- Web page: https://patentgrep.com/patent/US20220286442A1

## CPC

- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04L 9/0844: {with user authentication or key authentication, e.g. ElGamal, MTI, MQV-Menezes-Qu-Vanstone protocol or Diffie-Hellman protocols using implicitly-certified keys}
- H04L 9/0869: {involving random numbers or seeds}
- H04L 63/0457: {wherein the sending and receiving network entities apply dynamic encryption, e.g. stream encryption (cryptographic mechanisms or cryptographic arrangements for stream encryption H04L9/065)}
- H04L 63/1475: {Passive attacks, e.g. eavesdropping or listening without modification of the traffic monitored}
- H04W 12/02: Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
- H04W 12/03: Protecting confidentiality, e.g. by encryption
- H04W 12/041: Key generation or derivation
- H04W 12/0431: Key distribution or pre-distribution; Key agreement
- H04W 12/0433: Key management protocols
- H04W 12/12: Detection or prevention of fraud
- H04L 2209/80: Wireless
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

The present invention disclose a key distribution method. The method includes obtaining, by a first key management system, a shared key of a first network element, where the shared key of the first network element is generated according to a key parameter obtained after the first network element performs authentication or a root key of the first network element; obtaining a service key, where the service key is used to perform encryption and/or integrity protection on communication data in a first service between the first network element and a second network element; performing encryption and/or integrity protection on the service key by using the shared key of the first network element, to generate a first security protection parameter; and sending the first security protection parameter to the first network element. According to present invention, data can be protected against an eavesdropping attack in a sending process.

## Claims

### Claim 1

A method, comprising:
obtaining, by a first key management system, a shared key of a first network element, wherein the shared key of the first network element is generated according to a key parameter obtained after the first network element is authenticated;
obtaining, by the first key management system based on the shared key, a service key, wherein encryption or integrity protection is performed on communication data using the service key in a first service between the first network element and a second network element; and
sending, by the first key management system, the service key to the second network element.

### Claim 2 (depends on 1)

The method according to claim 1, wherein obtaining, by the first key management system, the shared key of the first network element comprises:
obtaining, by the first key management system, a first parameter, wherein the first parameter is obtained by performing Authentication and Key Agreement (AKA) authentication with the first network element, wherein the first parameter comprises an integrity key, and a cipher key; and
calculating, by the first key management system, a dependent variable of a first preset key derivation function, wherein the shared key of the first network element comprises the dependent variable of the first preset key derivation function, and wherein an independent variable of the first preset key derivation function comprises the first parameter.

### Claim 3 (depends on 1)

The method according to claim 1, wherein obtaining, by the first key management system, the shared key of the first network element comprises:
receiving, by the first key management system, the shared key of the first network element from a home subscriber server, wherein the shared key of the first network element is calculated based on an integrity key (IK), and a cipher key (CK), and the CK and IK are obtained by performing Authentication and Key Agreement (AKA) authentication with the first network element.

### Claim 4 (depends on 1)

The method according to claim 1, wherein obtaining, by the first key management system, the service key comprises:
calculating, by the first key management system, a dependent variable of a second preset key derivation function, wherein the service key comprises the dependent variable of the second preset key derivation function, and wherein an independent variable of the second preset key derivation function comprises a service parameter of the first service and the shared key;
wherein the service parameter of the first service comprises a random number.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the service parameter of the first service further comprises an identity of the first network element.

### Claim 6 (depends on 5)

The method according to claim 5, further comprising:
receiving, by the first key management system from the first network element, a request comprising the random number and the identity of the first network element.

### Claim 7

A method, comprising:
generating, by a home subscriber server, a shared key of a first network element based on an integrity key (IK), and a cipher key (CK), and the CK and IK are obtained by performing Authentication and Key Agreement (AKA) authentication with the first network element;
sending, by the home subscriber server, the shared key to a first key management system;
obtaining, by the first key management system based on the shared key, a service key, wherein encryption or integrity protection is performed on communication data using the service key in a first service between the first network element and a second network element; and
sending, by the first key management system, the service key to the second network element.

### Claim 8 (depends on 7)

The method according to claim 7, wherein obtaining, by the first key management system, the service key comprises:
calculating, by the first key management system, a dependent variable of a second preset key derivation function, wherein the service key comprises the dependent variable of the second preset key derivation function, and wherein an independent variable of the second preset key derivation function comprises a service parameter of the first service and the shared key;
wherein the service parameter of the first service comprises a random number.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the service parameter of the first service further comprises an identity of the first network element.

### Claim 10 (depends on 9)

The method according to claim 9, further comprising:
receiving, by the first key management system from the first network element, a request comprising the random number and the identity of the first network element.

### Claim 11

An apparatus, comprising:
at least one processor; and
a non-transitory memory coupled to the at least one processor and having instructions stored thereon which, when executed by the at least one processor, cause the apparatus to:
obtain a shared key of a first network element, wherein the shared key of the first network element is generated according to a key parameter obtained after the first network element is authenticated;
obtain a service key based on the shared key, wherein encryption or integrity protection is performed on communication data using the service key in a first service between the first network element and a second network element; and
send the service key to the second network element.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein the instructions, when executed by the at least one processor, further cause the apparatus to:
obtain a first parameter, wherein the first parameter is obtained by performing Authentication and Key Agreement (AKA) authentication with the first network element, wherein the first parameter comprises an integrity key, and a cipher key; and
calculate a dependent variable of a first preset key derivation function, wherein the shared key of the first network element comprises the dependent variable of the first preset key derivation function, and wherein an independent variable of the first preset key derivation function comprises the first parameter.

### Claim 13 (depends on 11)

The apparatus according to claim 11, wherein the instructions, when executed by the at least one processor, further cause the apparatus to:
receive the shared key of the first network element from a home subscriber server, wherein the shared key of the first network element is calculated based on an integrity key (IK), and a cipher key (CK), and the CK and IK are obtained by performing Authentication and Key Agreement (AKA) authentication with the first network element.

### Claim 14 (depends on 11)

The apparatus according to claim 11, wherein the instructions, when executed by the at least one processor, further cause the apparatus to:
calculate a dependent variable of a second preset key derivation function, wherein the service key comprises the dependent variable of the second preset key derivation function, and wherein an independent variable of the second preset key derivation function comprises a service parameter of the first service and the shared key; wherein the service parameter of the first service comprises a random number.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein the service parameter of the first service further comprises an identity of the first network element.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the instructions, when executed by the at least one processor, further cause the apparatus to:
receive, from the first network element, a request comprising the random number and the identity of the first network element.

### Claim 17

A system, comprising a home subscriber server and a first key management system, wherein:
the home subscriber server performs steps to:
generate a shared key of a first network element based on an integrity key (IK), and a cipher key (CK), and the CK and IK are obtained by performing Authentication and Key Agreement (AKA) authentication with the first network element; and
send the shared key to the first key management system; and
the first key management system performs steps to:
obtain a service key based on the shared key, wherein encryption or integrity protection is performed on communication data using the service key in a first service between the first network element and a second network element; and
send the service key to the second network element.

### Claim 18 (depends on 17)

The system according to claim 17, wherein the first key management system, further performs steps to calculate a dependent variable of a second preset key derivation function, wherein the service key comprises the dependent variable of the second preset key derivation function, wherein an independent variable of the second preset key derivation function comprises a service parameter of the first service and the shared key, and wherein the service parameter of the first service comprises a random number.

### Claim 19 (depends on 18)

The system according to claim 18, wherein the service parameter of the first service further comprises an identity of the first network element.

### Claim 20 (depends on 19)

The system according to claim 19, wherein the first key management system, further performs steps to receive, from the first network element, a request comprising the random number and the identity of the first network element.
