# US 2020/0404494 A1 · Key Obtaining Method and Device, and Communications System

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

- Number: US 2020/0404494 A1
- Document ID: US20200404494A1
- Status: Published application
- Kind: A1
- Application number: 17/014,538
- Filed: 2020-09-08
- Published: 2020-12-24
- Earliest claimed: 2017-05-04
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jing Chen; Kai Pan; He Li
- Web page: https://patentgrep.com/patent/US20200404494A1

## CPC

- H04W 12/041: Key generation or derivation
- 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}
- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- H04L 63/205: {involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved (negotiation of communication capabilities H04L69/24)}
- H04W 8/08: Mobility data transfer
- H04W 12/0431: Key distribution or pre-distribution; Key agreement
- H04W 12/0433: Key management protocols
- H04W 12/0471: Key exchange
- H04W 12/06: Authentication
- H04W 60/00: Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
- H04W 76/11: Allocation or use of connection identifiers
- H04W 76/25: Maintenance of established connections
- H04L 2463/061: applying further key derivation, e.g. deriving traffic keys from a pair-wise master key
- H04W 8/065: {involving selection of the user mobility server}
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for security handling in a mobility of a terminal device, where the method includes: a target access and mobility management function (AMF) entity receiving a first message for registering a terminal device; the target AMF entity sending a second message to a source AMF entity after receiving the first message; the source AMF entity deriving a first key based on a key between the source AMF entity and the terminal device; the source AMF entity sending the first key to the target AMF entity; the target AMF entity determining to use the first key based on security related information after receiving the first key; and the target AMF entity determining a communication key between the target AMF entity and the terminal device based on the first key after determining to use the first key.

## Claims

### Claim 1

A method for security handling in mobility of a terminal device, comprising:
receiving, by a target access and mobility management function (AMF) entity, a first message for registering the terminal device;
sending, by the target AMF entity, a second message to a source AMF entity after receiving the first message, wherein the second message includes an identifier of the terminal device;
deriving, by the source AMF entity, a first key based on a key between the source AMF entity and the terminal device, wherein the first key is for deriving a communication key to perform integrity protection on signaling between the target AMF entity and the terminal device;
sending, by the source AMF entity, the first key to the target AMF entity;
determining, by the target AMF entity after receiving the first key, whether to use the first key based on security-related information;
determining, by the target AMF entity after determining to use the first key, the communication key between the target AMF entity and the terminal device based on the first key; and
sending, by the target AMF entity and to the terminal device, a non-access stratum (NAS) security mode command (SMC) that carries indication information instructing the terminal device to derive the first key.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
receiving, by the terminal device, the NAS SMC;
deriving, by the terminal device, the first key based on the key between the source AMF entity and the terminal device; and
deriving, by the terminal device, the communication key between the terminal device and the target AMF entity according to the first key.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the security-related information comprises key isolation information of the target AMF entity.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the security-related information comprises a preconfigured policy that indicates using the first key from the source AMF entity.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the second message is for requesting a security context of the terminal device.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the first key comprises KoAMF′, wherein deriving the first key comprises deriving, by the source AMF entity, the KoAMF′ based on another key (KoAMF) between the source AMF entity and the terminal device, and wherein the KoAMF′ is for deriving the communication key to perform integrity protection processing on signaling between the terminal device and the target AMF entity.

### Claim 7

A method for security handling in mobility of a terminal device, comprising:
receiving, by a target access and mobility management function (AMF) entity, a first message for registering the terminal device;
sending, by the target AMF entity, a second message to a source AMF entity after receiving the first message, wherein the second message includes an identifier of the terminal device;
receiving, by the target AMF entity, a first key from the source AMF entity, wherein the first key is based on a key between the source AMF entity and the terminal device;
determining, by the target AMF entity after receiving the first key, whether to use the first key based on security related information;
determining, by the target AMF entity after determining to use the first key, a communication key between the target AMF entity and the terminal device based on the first key, wherein the communication key is for performing integrity protection on signaling between the target AMF entity and the terminal device; and
sending, by the target AMF entity, to the terminal device, a non-access stratum (NAS) security mode command (SMC) that carries indication information instructing the terminal device to derive the first key.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the security related information comprises key isolation information of the target AMF entity.

### Claim 9 (depends on 7)

The method according to claim 7, wherein the security related information comprises a preconfigured policy that indicates to use the first key from the source AMF entity.

### Claim 10 (depends on 7)

The method according to claim 7, wherein the second message is for requesting a security context of the terminal device.

### Claim 11

A key obtaining method, comprising:
sending, by a terminal device, a first message to a target access and mobility management function (AMF) entity, wherein the first message requests registering the terminal device;
receiving, by the terminal device, a non-access stratum (NAS) security mode command (SMC) from the target AMF entity, wherein the NAS SMC carries indication information instructing the terminal device to derive a first key between the terminal device and the target AMF entity;
deriving, by the terminal device, the first key between the terminal device and the target AMF entity based on a shared key between a source AMF entity and the terminal device; and
determining, by the terminal device, a communication key between the terminal device and the target AMF entity according to the first key,
wherein the communication key is for performing integrity protection on signaling between the target AMF entity and the terminal device.

### Claim 12 (depends on 11)

The key obtaining method according to claim 11, further comprising sending, by the terminal device, an NAS security mode complete message to the target AMF entity.

### Claim 13 (depends on 12)

The key obtaining method according to claim 12, further comprising receiving, by the terminal device, a message from the target AMF entity, wherein the message notifies the terminal device that registration of the terminal device is accepted.

### Claim 14

A key obtaining apparatus, comprising:
a transceiver; and
a processor coupled to the transceiver and configured to:
receive, via the transceiver, a first message for registering a terminal device;
send a second message to a source access and mobility management function (AMF) entity after receiving the first message, wherein the second message includes an identifier of the terminal device;
receive, via the transceiver, a first key from the source AMF entity, wherein the first key is derived based on a key between the source AMF entity and the terminal device;
determine, after receiving the first key, whether to use the first key based on security related information;
determine, after determining to use the first key, a communication key between the source AMF entity and the terminal device based on the first key, wherein the communication key is for performing integrity protection on signaling between the source AMF entity and the terminal device; and
send, to the terminal device via the transceiver, a non-access stratum (NAS) security mode command (SMC) that carries indication information instructing the terminal device to derive the first key.

### Claim 15 (depends on 14)

The key obtaining apparatus according to claim 14, wherein the security related information comprises key isolation information of the source AMF entity.

### Claim 16 (depends on 14)

The key obtaining apparatus according to claim 14, wherein the security related information comprises a preconfigured policy that indicates to use the first key from the source AMF entity.

### Claim 17 (depends on 14)

The key obtaining apparatus according to claim 14, wherein the second message is for requesting a security context of the terminal device.

### Claim 18

A terminal device, comprising:
a transceiver; and
a processor coupled to the transceiver and configured to:
send, via the transceiver, a first message to a target access and mobility management function (AMF) entity, wherein the first message requests registering the terminal device;
receive, via the transceiver, a non-access stratum (NAS) security mode command (SMC) from the target AMF entity, wherein the NAS SMC carries indication information instructing the terminal device to derive a first key between the terminal device and the target AMF entity;
derive the first key between the terminal device and the target AMF entity based on a shared key between a source AMF entity and the terminal device; and
determine a communication key between the terminal device and the target AMF entity according to the first key, wherein the communication key is for performing integrity protection on signaling between the target AMF entity and the terminal device.

### Claim 19 (depends on 18)

The terminal device according to claim 18, wherein the processor is further configured to send, via the transceiver, an NAS security mode complete message to the target AMF entity.

### Claim 20 (depends on 19)

The terminal device according to claim 19, wherein the processor is further configured to receive, via the transceiver, a message from the target AMF entity, wherein the message notifies the terminal device that registration of the terminal device is accepted.
