# US 2021/0232708 A1 · Method for protecting encrypted control word, hardware security module, main chip and terminal

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

- Number: US 2021/0232708 A1
- Document ID: US20210232708A1
- Status: Published application
- Kind: A1
- Application number: 16/489,592
- Filed: 2018-02-09
- Published: 2021-07-29
- Earliest claimed: 2017-02-28
- Assignees: Academy of Broadcasting Science, Nrta; Beijing Novel-Super Digital Tv Technology Co., Ltd; Sumavision Technologies Co., Ltd; Hisilicon Technologies Co., Ltd.
- Applicants: Academy of Broadcasting Science, Nrta; Beijing Novel-Super Digital Tv Technology Co., Ltd.; Sumavision Technologies Co., Ltd; Hisilicon Technologies Co., Ltd.
- Inventors: Zhifan Sheng; Wei Xie; Jing Zhang; Xuebing Tian; Bin Xiong; Lizheng Zheng; Haifeng Yan; Zhonghua Fang; Qiang Wang; Qing Yang; Peng Chen; Longhui Jin; Jinglei Liu
- Web page: https://patentgrep.com/patent/US20210232708A1

## CPC

- G06F 21/72: in cryptographic circuits
- G06F 21/10: Protecting distributed programs or content, e.g. vending or licensing of copyrighted material (protection in video systems or pay television H04N7/16) {; Digital rights management [DRM]}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/0897: {involving additional devices, e.g. trusted platform module [TPM], smartcard or USB}
- H04L 9/3234: {involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token (network architectures or network communication protocols for supporting authentication of entities using an additional device in a packet data network H04L63/0853)}
- H04N 21/26606: {for generating or managing entitlement messages, e.g. Entitlement Control Message [ECM] or Entitlement Management Message [EMM] (arrangements for conditional access to broadcast information or to broadcast-related services H04H60/14)}
- H04N 21/26613: {for generating or managing keys in general (key distribution for secret or secure communication involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP] H04L9/083; network support of key management H04L63/06; key management for network security in communication control or processing H04W12/04)}
- H04N 21/42623: {involving specific decryption arrangements}
- H04N 21/4623: Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message] {(arrangements for conditional access to broadcast information or to broadcast-related services H04H60/14)}
- 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)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Provided is a method for protecting an encrypted control word. The method includes: receiving a hardware security module entitlement management message and an encrypted control word transmitted from a main chip, where the hardware security module entitlement management message includes a key for decrypting the encrypted control word; decrypting, based on the hardware security module entitlement management message and a hardware security module root key stored in the hardware security module, the encrypted control word to obtain a control word; reencrypting the control word based on a re-encryption key stored in the hardware security module to obtain a reencrypted control word; and transmitting the reencrypted control word to the main chip, so that the main chip decrypts, based on a main chip entitlement management message transmitted from the front end, the reencrypted control word to obtain the control word.

## Claims

### Claim 1

A method for protecting an encrypted control word, comprising:
receiving a hardware security module entitlement management message and an encrypted control word transmitted from a main chip, wherein the hardware security module entitlement management message comprises a key for decrypting the encrypted control word;
decrypting, based on the hardware security module entitlement management message and a hardware security module root key stored in a hardware security module, the encrypted control word to obtain a control word;
reencrypting, based on a re-encryption key stored in the hardware security module, the control word to obtain a reencrypted control word; and
transmitting the reencrypted control word to the main chip, so that the main chip decrypts, based on a main chip entitlement management message transmitted from the front end, the reencrypted control word to obtain the control word, wherein the main chip entitlement management message comprises a key for decrypting the reencrypted control word.

### Claim 2 (depends on 1)

The method of claim 1, wherein before the hardware security module entitlement management message and the encrypted control word transmitted from the main chip are received, the method further comprises:
receiving an activation message transmitted from the main chip, wherein the activation message comprises at least one of: a pairing key, the re-encryption key and the hardware security module root key;
storing the re-encryption key and the hardware security module root key, and establishing a security authentication channel between the hardware security module and the main chip based on the pairing key;
wherein the hardware security module entitlement management message and the encrypted control word transmitted from the main chip are received through the security authentication channel; and
the reencrypted control word is transmitted to the main chip through the security authentication channel.

### Claim 3 (depends on 1)

The method of claim 1, wherein the hardware security module entitlement management message comprises a hardware security module second-level key and a hardware security module third-level key;
wherein decrypting, based on the hardware security module entitlement management message and a hardware security module root key stored in a hardware security module, the encrypted control word to obtain a control word comprises:
decrypting, based on the hardware security module root key stored in the hardware security module, the hardware security module second-level key and the hardware security module third-level key, the encrypted control word level by level to obtain the control word.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving a key refreshing instruction transmitted from the main chip, updating and storing the hardware security module entitlement management message, the hardware security module root key and the re-encryption key.

### Claim 5

A method for protecting an encrypted control word, comprising:
receiving an encrypted control word, a scrambled content, a main chip entitlement management message and a hardware security module entitlement management message transmitted from a front end;
transmitting the hardware security module entitlement management message and the encrypted control word to a hardware security module, so that the hardware security module decrypts, based on the hardware security module entitlement management message and a hardware security module root key stored in the hardware security module, the encrypted control word to obtain a control word, and reencrypts the control word based on a re-encryption key stored in the hardware security module to obtain a reencrypted control word; and
receiving the reencrypted control word transmitted from the hardware security module, decrypting, based on a main chip root key derived from a main chip and the main chip entitlement management message, the reencrypted control word to obtain the control word so that the scrambled content is descrambled based on the control word.

### Claim 6 (depends on 5)

The method of claim 5, wherein before the encrypted control word, the scrambled content, the main chip entitlement management message and the hardware security module entitlement management message transmitted from the front end are received, the method further comprising:
generating an activation request message and transmitting the activation request message to the front end, wherein the activation request message comprises at least of: an identifier of the main chip, a conditional access certificate and a chip certificate for the hardware security module;
receiving an activation message transmitted from the front end, and transmitting the activation message to the hardware security module, wherein the activation message comprises at least one of: a pairing key, the re-encryption key and the hardware security module root key, and the pairing key, the re-encryption key and the hardware security module root key in the activation message are distributed by the front end based on the activation request message;
establishing a security authentication channel between the main chip and the hardware security module based on the pairing key;
wherein the hardware security module entitlement management message and the encrypted control word are transmitted to the hardware security module through the security authentication channel; and
the reencrypted control word transmitted from the hardware security module is received through the security authentication channel.

### Claim 7 (depends on 5)

The method of claim 5, wherein before the reencrypted control word is decrypted, the method further comprises: deriving, based on a main chip security key and a derivation identifier, the main chip root key by using a derivation algorithm built-in the main chip.

### Claim 8 (depends on 5)

The method of claim 5, wherein the main chip entitlement management message comprises a main chip second-level key and a main chip third-level key;
wherein decrypting, based on a main chip root key derived from the main chip and the main chip entitlement management message, the reencrypted control word to obtain the control word comprises:
decrypting, based on the main chip root key, the main chip second-level key and the main chip third-level key, the reencrypted control word level by level to obtain the control word, wherein the main chip third-level key corresponds to the re-encryption key.

### Claim 9

A hardware security module, applied to a downloadable conditional access system, comprising a processor and a storage device for storing computer executable instructions that when executed by the processor cause the processor to perform functions of the followings:
a first reception unit configured to receive a hardware security module entitlement management message and an encrypted control word transmitted from a main chip, wherein the hardware security module entitlement management message comprises a key for decrypting the encrypted control word;
a security storage area configured to store a hardware security module root key, a re-encryption key and the hardware security module entitlement management message;
a first decryption engine configured to decrypt, based on the hardware security module entitlement management message and the hardware security module root key, the encrypted control word to obtain a control word;
a reencryption engine configured to reencrypt the control word based on the re-encryption key to obtain a reencrypted control word;
a first transmission unit configured to transmit the reencrypted control word to the main chip, so that the main chip decrypts, based on a main chip entitlement management message transmitted from the front end, the reencrypted control word to obtain the control word, wherein the main chip entitlement management message comprises a key for decrypting the reencrypted control word.

### Claim 10 (depends on 9)

The hardware security module of claim 9, wherein the processor is further caused to perform functions of the followings:
a second reception unit configured to receive an activation message transmitted from the main chip, wherein the activation message comprises at least of: a pairing key, the re-encryption key and the hardware security module root key;
a first pairing unit configured to establish a security authentication channel between the hardware security module and the main chip based on the pairing key;
wherein the first reception unit is configured to receive the hardware security module entitlement management message and the encrypted control word transmitted from the main chip through the security authentication channel; and
the first transmission unit is configured to transmit the reencrypted control word to the main chip through the security authentication channel.

### Claim 11 (depends on 9)

The hardware security module of claim 9, wherein the hardware security module entitlement management message comprises a hardware security module second-level key and a hardware security module third-level key;
wherein the first decryption engine is configured to:
decrypt, based on the hardware security module root key stored in the hardware security module, the hardware security module second-level key and the hardware security module third-level key, the encrypted control word level by level to obtain the control word.

### Claim 12 (depends on 9)

The hardware security module of claim 9, wherein the processor is further caused to perform functions of the followings:
an updating unit configured to receive a key refreshing instruction transmitted from the main chip, and update the hardware security module entitlement management message, the hardware security module root key and the re-encryption key;
wherein the security storage area is further configured to store the updated hardware security module entitlement management message, the updated hardware security module root key and the updated re-encryption key.

### Claim 13

A main chip, applied to a downloadable conditional access system, comprising a processor and a storage device for storing computer executable instructions that when executed by the processor cause the processor to perform functions of the followings:
a third reception unit configured to receive an encrypted control word, a scrambled content, a main chip entitlement management message and a hardware security module entitlement management message transmitted from a front end;
a second transmission unit configured to transmit the hardware security module entitlement management message and the encrypted control word to a hardware security module, so that the hardware security module decrypts, based on the hardware security module entitlement management message and a hardware security module root key stored in the hardware security module, the encrypted control word to obtain a control word, and reencrypts the control word based on a re-encryption key stored in the hardware security module to obtain a reencrypted control word; and
a fourth reception unit configured to receive the reencrypted control word transmitted from the hardware security module; and
a second decryption engine configured to decrypt, based on a main chip root key derived by the main chip and the main chip entitlement management message, the reencrypted control word to obtain the control word so that the scrambled content is descrambled based on the control word.

### Claim 14 (depends on 13)

The main chip of claim 13, wherein the processor is further caused to perform functions of the followings:
an activation request message generation unit configured to generate an activation request message and transmit the activation request message to the front end, wherein the activation request message comprises at least one of: an identifier of the main chip, a conditional access certificate and a chip certificate for the hardware security module;
an activation message reception unit configured to receive an activation message transmitted from the front end, and transmit the activation message to the hardware security module, wherein the activation message comprises at least one of: a pairing key, the re-encryption key and the hardware security module root key, and the pairing key, the re-encryption key and the hardware security module root key in the activation message are distributed by the front end based on the activation request message;
a second pairing unit configured to establish a security authentication channel between the main chip and the hardware security module based on the pairing key;
wherein the second transmission unit is configured to transmit the hardware security module entitlement management message and the encrypted control word to the hardware security module through the security authentication channel; and
the fourth reception unit is configured to receive the reencrypted control word transmitted from the hardware security module through the security authentication channel.

### Claim 15 (depends on 13)

The main chip of claim 13, wherein the processor is further caused to perform functions of the followings:
a root key derivation unit configured to derive, based on a main chip security key and a derivation identifier, the main chip root key by using a derivation algorithm built-in the main chip.

### Claim 16 (depends on 13)

The main chip of claim 13, wherein the main chip entitlement management message comprises a main chip second-level key and a main chip third-level key;
wherein the second decryption engine is configured to decrypt, based on the main chip root key, the main chip second-level key and the main chip third-level key, the reencrypted control word level by level to obtain the control word, wherein the main chip third-level key corresponds to the re-encryption key.

### Claim 17 (depends on 9, 13)

A terminal, applied to a downloadable conditional access system, comprising a hardware security module of claim 9 and a main chip of claim 13.

### Claim 18 (depends on 1)

A non-transitory computer-readable storage medium storing computer-executable instructions for executing the method of claim 1.

### Claim 19 (depends on 3)

A non-transitory computer-readable storage medium storing computer-executable instructions for executing the method of claim 3.
