# US 2021/0334356 A1 · Authentication credential protection method and system

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

- Number: US 2021/0334356 A1
- Document ID: US20210334356A1
- Status: Published application
- Kind: A1
- Application number: 17/371,712
- Filed: 2021-07-09
- Published: 2021-10-28
- Earliest claimed: 2019-07-31
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Ji LI; Leting REN; Li DUAN; Jun XIA
- Web page: https://patentgrep.com/patent/US20210334356A1

## CPC

- G06F 21/45: Structures or tools for the administration of authentication
- G06F 21/31: User authentication
- G06F 21/602: {Providing cryptographic facilities or services}
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- H04L 9/0869: {involving random numbers or seeds}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 63/06: {for supporting key management in a packet data network (cryptographic mechanisms or cryptographic arrangements for key management H04L9/08)}
- H04W 12/04: Key management, e.g. using generic bootstrapping architecture [GBA]
- H04L 2209/46: Secure multiparty computation, e.g. millionaire problem
- 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)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

This application provides an authentication credential protection method and system. The protection method includes the following steps: generating authentication secret information based on a lock screen password and hardware secret information of a first device; randomly generating, by the first device, a symmetric key, and using the symmetric key as an encryption key for the authentication secret information; splitting the encryption key into at least two first key segments by using a multi-party data splitting algorithm, where one of the at least two first key segments is stored on the first device; and sending, by the first device, another first key segment to a trusted device. In the foregoing technical solution, the authentication secret information is generated by using the lock screen password and the hardware secret information, increasing information complexity. In addition, different trusted devices are used to store the split key segments, improving security of the encryption key.

## Claims

### Claim 1

An authentication credential protection method, comprising:
generating authentication secret information based on a lock screen password and hardware secret information of a first device;
randomly generating, by the first device, a symmetric key;
encrypting the authentication secret information using the symmetric key as an encryption key for the authentication secret information;
storing the authentication secret information on the first device;
splitting the encryption key into at least two first key segments by using a splitting algorithm, wherein one of the at least two first key segments is stored on the first device; and
sending, by the first device, another of the at least two first key segments to a trusted device.

### Claim 2 (depends on 1)

The authentication credential protection method according to claim 1, wherein the splitting algorithm comprises a secure multi-party data splitting algorithm.

### Claim 3 (depends on 1)

The authentication credential protection method according to claim 1, wherein the trusted device comprises a second device and a third device, and the at least two first key segments includes three first key segments, and the sending, by the first device, the another one of the at least two first key segments to the trusted device comprises:
sending, by the first device, two key segments of the three first key segments to the second device and the third device in a one-to-one correspondence for storage .

### Claim 4 (depends on 1)

The authentication credential protection method according to claim 1, wherein the trusted device comprises a second device, and the at least two first key segment includes two first key segments and wherein sending, by the first device, the other one of the at least two first key segments to the trusted device comprises:
sending, by the first device, one of the at least two first key segments to the second device.

### Claim 5 (depends on 1)

The authentication credential protection method according to claim 1, wherein the first device is connected to the trusted device through a secure channel.

### Claim 6 (depends on 5)

The authentication credential protection method according to claim 5, wherein the method further comprises:
performing user identity information authentication on the trusted device, and after user identity information is determined, receiving a first one of the at least two first key segments sent by the first device.

### Claim 7 (depends on 1)

The authentication credential protection method according to claim 1 wherein the method further comprises:
performing secure multi-party computation between the trusted device and the first device by using the at least two first key segments respectively stored on the trusted device and the first device as key division input to the secure multi-party computation, and decrypting the authentication secret information on the first device.

### Claim 8 (depends on 7)

The authentication credential protection method according to claim 7, wherein the method further comprises: before performing the multi-party computation, performing the user identity information authentication on the trusted device, and after the user identity information is determined, performing the secure multi-party computation between the trusted device and the first device by using the at least two first key segments respectively stored on the trusted device and the first device as the key division input to the secure multi-party computation.

### Claim 9 (depends on 7)

The authentication credential protection method according to claim 7, wherein the method further comprises:
resetting the lock screen password, and generating new authentication secret information based on the reset lock screen password and the hardware secret information of the first device.

### Claim 10 (depends on 9)

The authentication credential protection method according to claim 9, wherein the method further comprises:
randomly generating, by the first device, a new symmetric key, and using the new symmetric key as a new encryption key for the new authentication secret information; and
comparing the authentication secret information obtained through decryption with the authentication secret information stored in a Trusted Execution Environment (TEE), and when the authentication secret information obtained through decryption and the authentication secret information stored in the TEE match, replacing the authentication secret information obtained through decryption with the authentication secret information in the TEE.

### Claim 11 (depends on 10)

The authentication credential protection method according to claim 10, wherein the method further comprises:
splitting a new encryption key into at least two second key segments by using the splitting algorithm, wherein
one of the at least two second key segments is stored on the first device; and
sending, by the first device, an other one of the at least two second key segments to the trusted device.

### Claim 12

An authentication credential protection system, comprising:
a first device, comprising a first processing module, configured to:
generate authentication secret information based on a lock screen password and hardware secret information of a first device;
randomly generate a symmetric key;
use the symmetric key as an encryption key for the authentication secret information; and
split the encryption key into at least two first key segments by using a splitting algorithm;
a first storage module, configured to store the encrypted authentication secret information and one key segment of the at least two first key segments; and
a first communications module, configured to send an other key segment of the at least two first key segments to a trusted device; and
the trusted device, wherein the trusted device is configured to receive and store the one key segment of the at least two first key segments sent by the first device.

### Claim 13 (depends on 12)

The authentication credential protection system according to claim 12, wherein the splitting algorithm comprises a secure multi-party data splitting algorithm.

### Claim 14 (depends on 12)

The authentication credential protection system according to claim 12, wherein:
the trusted device comprises a second device and a third device, and the at least two second key segments comprises three first key segments;
the first communications module is configured to send two of the three key segments to the second device and the third device in a one-to-one correspondence for storage.

### Claim 15 (depends on 12)

The authentication credential protection system according to claim 12, wherein the trusted device comprises a second communications module, and the first communications module is connected to the second communications module through a secure channel.

### Claim 16 (depends on 15)

The authentication credential protection system according to claim 15, wherein the trusted device comprises:
an authentication module, configured to authenticate user identity information; and
the second communications module is further configured to: after the user identity information is determined, receive a first one of the at least two key segments sent by the first device.

### Claim 17 (depends on 12)

The authentication credential protection system according to claim 12, wherein
the trusted device comprises a second processing module;
the first processing module and the second processing module perform secure multi-party computation of Advanced Encryption Standard (MPC_AES) between the trusted device and the first device by using the at least two key segments respectively stored on the trusted device and the first device as key division input to the secure multi-party computation, and decrypt the authentication secret information (old authentication secret information) on the first device.

### Claim 18 (depends on 17)

The authentication credential protection system according to claim 17, wherein the first processing module is further configured to: reset the lock screen password, and generate new authentication secret information based on the reset lock screen password and the hardware secret information of the first device; and transfer the old authentication secret information and the new authentication secret information to a Trusted Execution Environment (TEE) as parameters, the TEE compares the old authentication secret information with the stored authentication secret information, and if the two pieces of authentication secret information match, the TEE replaces the stored authentication secret information with the new authentication secret information.

### Claim 19 (depends on 18)

The authentication credential protection system according to claim 18, wherein the first processing module is further configured to randomly generate a new symmetric key and use the new symmetric key as a new encryption key for the new authentication secret information.

### Claim 20 (depends on 19)

The authentication credential protection system according to claim 19, wherein the first processing module is further configured to split the new encryption key into at least two second key segments by using the splitting algorithm; the first storage module, configured to store one of the at least two second key segments; the first communications module, configured to send an other one of the at least two second key segments to the trusted device.
