# US 2022/0295271 A9 · Anchor Key Generation Method, Device, and System

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

- Number: US 2022/0295271 A9
- Document ID: US20220295271A9
- Status: Published application
- Kind: A9
- Application number: 17/245,991
- Filed: 2021-04-30
- Published: 2022-09-15
- Earliest claimed: 2017-05-05
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Rong Wu; Bo Zhang; Lu Gan
- Web page: https://patentgrep.com/patent/US20220295271A9

## CPC

- H04W 12/041: Key generation or derivation
- H04L 9/08: Key distribution {or management, e.g. generation, sharing or updating, of cryptographic keys or passwords (network architectures or network communication protocols for supporting key management in a packet data network H04L63/06)}
- H04L 63/0869: {for achieving mutual authentication (cryptographic mechanisms or cryptographic arrangements for mutual authentication H04L9/3273)}
- H04W 8/08: Mobility data transfer
- H04W 12/04: Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W 12/043: using a trusted network node as an anchor
- H04W 12/0431: Key distribution or pre-distribution; Key agreement
- H04W 12/0433: Key management protocols
- H04W 76/11: Allocation or use of connection identifiers
- H04W 76/25: Maintenance of established connections
- H04W 80/10: adapted for {application} session management, e.g. SIP [Session Initiation Protocol] {(connection management H04W76/00; arrangements for session management H04L67/14)}
- H04W 88/023: {with message or information receiving capability}
- 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

An anchor key generation method, device, and system, where the method includes generating, by a unified data management network element (UDM), an intermediate key based on a cipher key (CK), an integrity key (IK), and indication information regarding an operator; sending, by the UDM, the intermediate key to an authentication server function (AUSF); receiving, by the AUSF, the intermediate key; generating, by the AUSF, an anchor key based on the intermediate key; sending, by the AUSF, the anchor key to a security anchor function (SEAF); and generating, by the SEAF, a key (Kamf) based on the anchor key, where the Kamf is used to derive a 3rd Generation Partnership Project (3GPP) key.

## Claims

### Claim 1

A method implemented in a communication system, comprising:
generating, by a user equipment, an intermediate key based on a cipher key (CK), an integrity key (IK), and an operator type identifier comprising a service network (SN) identifier;
generating, by the user equipment, an anchor key based on the intermediate key, wherein the anchor key is to implement compatibility with various access modes;
generating, by the user equipment, a key (Kamf) based on the anchor key;
deriving, by the user equipment, a base station key based on the Kamf; and
deriving, by the user equipment based on the base station key, a user plane cipher key, a user plane integrity key, a control plane cipher key, and a control plane integrity key.

### Claim 2 (depends on 1)

The method according to claim 1, wherein generating, by the user equipment, the anchor key based on the intermediate key comprises:
generating, by the user equipment, an extended master session key (EMSK′) based on the intermediate key;
generating, by the user equipment, a key (Kleft) by truncating a bit of the EMSK′; and
obtaining, by the user equipment, the anchor key based on the Kleft and the SN identifier.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising deriving, by the user equipment, a non-access stratum (NAS) key based on the Kamf.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the SN identifier is an SN name.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the intermediate key is generated according to a formula comprising:
intermediate key=KDF(SQN⊕AK,NAI,CK∥IK),
wherein KDF is a key derivation function, wherein SQN is a latest sequence number, wherein NAI is a network access identifier, which comprises the SN identifier, wherein AK is an anonymity key, and wherein ⊕ represents an exclusive OR operation.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the operator type identifier further comprises an access type identifier.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the access type identifier indicates a generation of communication system.

### Claim 8

A user equipment, comprising:
a processor; and
a memory coupled to the processor and configured to store computer program instructions, which when executed by the processor, cause the user equipment to:
generate an intermediate key based on a cipher key (CK), an integrity key (IK), and an operator type identifier comprising a service network (SN) identifier;
generate an anchor key based on the intermediate key, wherein the anchor key is to implement compatibility with various access modes;
generate a key based on the anchor key;
derive a base station key based on the key; and
derive, based on the base station key, a user plane cipher key, a user plane integrity key, a control plane cipher key, and a control plane integrity key.

### Claim 9 (depends on 8)

The user equipment according to claim 8, wherein the computer program instructions, when executed by the processor, further cause the user equipment to:
generate an extended master session key (EMSK′) based on the intermediate key;
generate a key (Kleft) by truncating a bit of the EMSK′; and
obtain the anchor key based on the Kleft and a service network identifier.

### Claim 10 (depends on 8)

The user equipment according to claim 8, wherein the computer program instructions, when executed by the processor, further cause the user equipment to derive a non-access stratum (NAS) key based on the Kamf.

### Claim 11 (depends on 8)

The user equipment according to claim 8, wherein the SN identifier is an SN name.

### Claim 12 (depends on 8)

The user equipment according to claim 8, wherein the intermediate key is generated according to a formula comprising:
intermediate key=KDF(SQN⊕AK,NAI,CK∥IK),
wherein KDF is a key derivation function, wherein SQN is a latest sequence number, wherein NAI is a network access identifier which comprises the SN identifier, wherein AK is an anonymity key, and wherein ⊕ represents an exclusive OR operation.

### Claim 13 (depends on 8)

The user equipment according to claim 8, wherein the operator type identifier further comprises an access type identifier.

### Claim 14 (depends on 13)

The user equipment according to claim 13, wherein the access type identifier indicates a generation of communication system.

### Claim 15

A non-transitory computer readable storage medium configured to store instructions, which when executed by a processor of a user equipment, cause the user equipment to implement a method comprising:
generating an intermediate key based on a cipher key (CK), an integrity key (IK), and an operator type identifier comprising a service network (SN) identifier;
generating an anchor key based on the intermediate key, wherein the anchor key is to implement compatibility with various access modes;
generating a key (Kamf) based on the anchor key;
deriving a base station key based on the Kamf; and
deriving, based on the base station key, a user plane cipher key, a user plane integrity key, a control plane cipher key, and a control plane integrity key.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein generating the anchor key based on the intermediate key comprises:
generating an extended master session key (EMSK′) based on the intermediate key;
generating a key (Kleft) by truncating a bit of the EMSK′; and
obtaining the anchor key based on the Kleft and the SN identifier.

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein the method further comprises deriving a non-access stratum (NAS) key based on the Kamf.

### Claim 18 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein the SN identifier is an SN name.

### Claim 19 (depends on 15)

The non-transitory computer readable storage medium according to claim 15, wherein the operator type identifier further comprises an access type identifier.

### Claim 20 (depends on 19)

The non-transitory computer readable storage medium according to claim 19, wherein the access type identifier indicates a generation of communication system.
