# US 2019/0320316 A1 · Security handling for rrc resume from inactive state

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

- Number: US 2019/0320316 A1
- Document ID: US20190320316A1
- Status: Published application
- Kind: A1
- Application number: 16/386,077
- Filed: 2019-04-16
- Published: 2019-10-17
- Earliest claimed: 2018-04-16
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget Lm Ericsson (Publ)
- Inventors: Gunnar Mildh; Icaro L. J. da Silva
- Web page: https://patentgrep.com/patent/US20190320316A1

## CPC

- H04W 12/04: Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W 12/60: Context-dependent security
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 63/102: {Entity profiles}
- H04W 8/00: Network data management
- H04W 12/037: of the control plane, e.g. signalling traffic
- H04W 12/041: Key generation or derivation
- H04W 12/10: Integrity
- H04W 12/106: Packet or message integrity
- H04W 76/18: Management of setup rejection or failure
- H04W 76/19: Connection re-establishment
- H04W 76/27: Transitions between radio resource control [RRC] states
- H04W 80/08: Upper layer protocols {(network arrangements or communication protocols for networked applications H04L67/00)}
- H04W 92/10: between terminal device and access point, i.e. wireless air interface
- 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

Methods are provided for a User Equipment, UE, in NR RRC to revert back to an old security context if an RRC Resume procedure from an inactive state fails. In this way, any subsequent Resume attempts by the UE will derive new security keys from the old keys, which means that the keys and security context will be the same for each attempt. In this way, the security context in the UE will remain synchronized with the network security context, regardless of how many attempts the UE has performed (assuming the network does not change the security context when the Resume procedure fails). Alternatively, the UE may store the new security context it derives during the first Resume attempt, and then ensure that it is reused at subsequent Resume attempts.

## Claims

### Claim 1

A method of updating a security context, performed by a wireless device operative in a wireless communication network employing a Radio Resource Control, RRC, protocol, wherein the wireless device in RRC CONNECTED state receives from the network an RRC Suspend message including a security update parameter, and in response to the RRC Suspend message enters an RRC INACTIVE state and stores a first security context, the method comprising, upon attempting to transition to an RRC CONNECTED state:
generating a second security context using the security update parameter received in the RRC Suspend message;
sending to the network an RRC Resume Request message; and
in response to one of the following events, discarding the second security context:
receiving from the network an RRC Reject message in response to the RRC Resume Request message;
expiration of a timer started upon sending the RRC Resume Request message, without receiving a responsive message from the network; and
performing a cell reselection prior to receiving a message from the network responsive to the RRC Resume Request message.

### Claim at position 2

2-4. (canceled)

### Claim 5 (depends on 1)

The method of claim 1 wherein the security update parameter contained in the RRC Suspend message comprises a chaining counter parameter used for next hop access key derivation.

### Claim 6

(canceled)

### Claim 7 (depends on 1)

The method of claim 1 further comprising, in the case of receiving from the network an RRC Reject message in response to the RRC Resume Request message, obtaining a wait time the wireless device should wait prior to sending another RRC Resume Request message, wherein the wait time is included in the RRC Reject message.

### Claim at position 6

8-10. (canceled)

### Claim 11 (depends on 1)

The method of claim 1, wherein the second security context is discarded in response to receiving 4064 from the network the RRC Reject message in response to the RRC Resume Request message, and the method further comprises:
in response to the receiving from the network the RRC Reject message in response to the RRC Resume Request message, restoring the first security context.

### Claim 12 (depends on 1)

The method of claim 1, wherein the second security context is discarded in response to expiration of the timer started upon sending the RRC Resume Request message, without receiving the responsive message from the network.

### Claim 13 (depends on 1)

The method of claim 1, wherein the second security context is discarded in response to performing the cell reselection prior to receiving the message from the network responsive to the RRC Resume Request message.

### Claim 14 (depends on 1)

The method of claim 1, further comprising decoding a response to the RRC Resume Request message using one or more security parameters from the second security context.

### Claim at position 11

15-36. (canceled)

### Claim 37

A wireless device operative in a wireless communication network employing a Radio Resource Control, RRC, protocol, wherein the wireless device in RRC CONNECTED state receives from the network an RRC Suspend message including a security update parameter, and in response to the RRC Suspend message enters an RRC INACTIVE state and stores a first security context, the wireless device comprising:
communication circuitry;
processing circuitry operatively connected to the communication circuitry, and adapted to, upon attempting to transition to an RRC CONNECTED state:
generate a second security context using the security update parameter received in the RRC Suspend message;
send to the network an RRC Resume Request message; and
in response to one of the following events, discard the second security context:
receiving from the network an RRC Reject message in response to the RRC Resume Request message;
expiration of a timer started upon sending the RRC Resume Request message, without receiving a responsive message from the network; and
performing a cell reselection prior to receiving a message from the network responsive to the RRC Resume Request message.

### Claim at position 13

38-40. (canceled)

### Claim 41 (depends on 37)

The wireless device of claim 37 wherein the security update parameter contained in the RRC Suspend message comprises a chaining counter parameter used for next hop access key derivation.

### Claim 42

(canceled)

### Claim 43 (depends on 37)

The wireless device of claim 37 wherein the processing circuitry is further adapted to, in the case of receiving from the network an RRC Reject message in response to the RRC Resume Request message, obtain a wait time the wireless device should wait prior to sending another RRC Resume Request message.

### Claim 44 (depends on 43)

The wireless device of claim 43 wherein the wait time is included in the RRC Reject message.

### Claim at position 18

45-46. (canceled)

### Claim 47 (depends on 37)

The wireless device of claim 37, wherein the second security context is discarded in response to receiving from the network the RRC Reject message in response to the RRC Resume Request message, and wherein the processing circuitry is further adapted to, upon attempting to transition to an RRC CONNECTED state:
in response to the receiving from the network the RRC Reject message in response to the RRC Resume Request message, restore the first security context.

### Claim 48 (depends on 37)

The wireless device of claim 37, wherein the second security context is discarded in response to expiration of the timer started upon sending the RRC Resume Request message, without receiving the responsive message from the network.

### Claim 49 (depends on 37)

The wireless device of claim 37, wherein the second security context is discarded in response to performing the cell reselection prior to receiving the message from the network responsive to the RRC Resume Request message.

### Claim at position 22

50-60. (canceled)

### Claim 61

A base station operative in a wireless communication network employing a Radio Resource Control, RRC, protocol, comprising:
communication circuitry;
processing circuitry operatively connected to the communication circuitry, and adapted to:
store a previously active security context for the wireless device;
receive from the wireless device an RRC Resume Request message including a security token;
generate a temporary security context for the wireless device;
use the temporary security context to verify the security token;
send an RRC message to the wireless device; and
if no response to the RRC message is received from the wireless device, discard the temporary security context and retrieve the previously active security context.

### Claim 62 (depends on 61)

The base station of claim 61 wherein the wireless device is in an RRC INACTIVE state;

### Claim 63 (depends on 61)

The base station of claim 61 wherein the processing circuitry is adapted to generate a temporary security context for the wireless device using a security update parameter sent to the wireless device in an RRC Suspend message.

### Claim 64 (depends on 63)

The base station of claim 63 wherein the security update parameter sent to the wireless device in an RRC Suspend message comprises a chaining counter parameter used for next hop access key derivation.

### Claim 65 (depends on 61)

The base station of claim 61 wherein the previously active security context and the temporary security context comprise one or more cryptographic keys.

### Claim 66 (depends on 61)

The base station of claim 61 wherein the processing circuitry is adapted to send an RRC message to the wireless device by sending an RRC Resume message to the wireless device, wherein the RRC Resume message is encrypted or integrity protected using the temporary security context.

### Claim at position 29

67-72. (canceled)
