# US 2020/0396080 A1 · Electronic device and method for transmitting and receiving data on the basis of security operating system in electronic device

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

- Number: US 2020/0396080 A1
- Document ID: US20200396080A1
- Status: Published application
- Kind: A1
- Application number: 16/764,608
- Filed: 2018-11-19
- Published: 2020-12-17
- Earliest claimed: 2017-11-20
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Jaesung YOO; Girim SON; Hyungchul JUNG
- Web page: https://patentgrep.com/patent/US20200396080A1

## CPC

- G06F 21/74: operating in dual or compartmented mode, i.e. at least one secure mode
- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- G06F 21/606: {by securing the transmission between two devices or processes}
- G06F 21/725: {operating on a secure reference time value}
- H04L 9/0631: {Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms}
- H04L 9/3236: {using cryptographic hash functions}
- H04L 63/045: {wherein the sending and receiving network entities apply hybrid encryption, i.e. combination of symmetric and asymmetric encryption (cryptographic mechanisms or cryptographic arrangements using a plurality of keys or algorithms H04L9/14)}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04W 12/03: Protecting confidentiality, e.g. by encryption
- H04W 12/041: Key generation or derivation
- H04W 12/0471: Key exchange
- 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

Various embodiments relating to an electronic device are described, and according to an embodiment, the electronic device may comprise a communication module which performs wireless communication; at least one processor which is electrically connected to the communication module; and a memory which stores instructions which cause at least one processor to receive or transmit data via communication with an external electronic device using the communication module on the basis of a first operating system and to process the received data or data to be transmitted to the external electronic device using a designated key on the basis of a second operating system, at the time of execution thereof.

## Claims

### Claim 1

An electronic device comprising:
a communication module configured to perform wireless communication;
a memory; and
at least one processor configured to be electrically connected to the communication module and the memory,
wherein the memory is configured to store instructions that, when executed, cause the at least one processor to:
receive or transmit data via communication with an external electronic device by using the communication module based on a first operating system; and
process the received data or data to be transmitted to the external server by using a designated key based on a second operating system.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein the designated key corresponds to a secret key, and the memory is configured to store the designated key in a storage area accessible only by the second operating system.

### Claim 3 (depends on 1)

The electronic device of claim 1, wherein the memory comprises a Replay Protected Memory Block (RPMB), and the designated key is stored in the RPMB.

### Claim 4 (depends on 2)

The electronic device of claim 2, wherein the memory is configured to further store instructions that, when executed, cause the at least one processor to:
allow the second operating system to encrypt the designated key and deliver the encrypted designated key to the first operating system; and
allow the first operating system to transmit the encrypted designated key to the external electronic device via the communication module.

### Claim 5 (depends on 4)

The electronic device of claim 4, wherein the instructions are configured to cause the at least one processor to:
when validity information, generated using the designated key, and first data are received from the external electronic device by using the communication module based on the first operating system,
determine whether the first data is valid, by using the validity information based on the second operating system; and
when the first data is valid, update data stored in the electronic device or a state of the electronic device based on the first data.

### Claim 6 (depends on 5)

The electronic device of claim 5, wherein the validity information related to the first data corresponds to a token that the external electronic device generates based on the first data, the designated key, and a random value generated by the electronic device.

### Claim 7 (depends on 5)

The electronic device of claim 5, wherein the validity information comprises a Hash-based Message Authentication Code (HMAC).

### Claim 8 (depends on 5)

The electronic device of claim 5, wherein the first data comprises data for updating display data or a locked state of the electronic device.

### Claim 9 (depends on 1)

The electronic device of claim 1, wherein the instructions are configured to cause the at least one processor to,
when a request for transmission of second data is received from the external electronic device by using the communication module based on the first operating system,
encrypt and provide the second data by using the designated key based on the second operating system.

### Claim 10 (depends on 1)

The electronic device of claim 1, wherein the memory is configured to further store instructions that cause the at least one processor to:
receive authentication information for authentication of the external electronic device, from the external electronic device by using the communication module based on the first operating system; and
authenticate the external electronic device by using the received authentication information based on the second operating system.

### Claim 11

A method for transmitting or receiving data based on a secure operating system in an electronic device, the method comprising:
receiving or transmitting data via communication with an external electronic device by using a communication module based on a first operating system; and
processing the received data or data to be transmitted to the external electronic device by using a designated key based on a second operating system.

### Claim 12 (depends on 11)

The method of claim 11, wherein:
the designated key corresponds to a secret key;
the designated key is stored in a storage area accessible only by the second operating system; and
the storage area accessible only by the second operating system comprises a Replay Protected Memory Block (RPMB) accessible only by the second operating system.

### Claim 13 (depends on 12)

The method of claim 12, further comprising
encrypting the designated key and delivering the encrypted designated key to the first operating system, by the second operating system, and
transmitting the encrypted designated key to the external electronic device via the communication module, by the first operating system,
wherein:
when validity information, generated using the designated key, and first data are received from the external electronic device by using the communication module based on the first operating system,
whether the first data is valid is determined using the designated key and the validity information based on the second operating system; and
when the first data is valid, data stored in the electronic device or a state of the electronic device is updated based on the first data.

### Claim 14 (depends on 13)

The method of claim 13, wherein:
the validity information corresponds to a token that the external electronic device generates based on the first data, the designated key, and a random value generated by the electronic device; and
the first data comprises data for updating display data or a locked state of the electronic device.

### Claim 15

A non-transitory computer-readable recording medium storing a program configured to cause an electronic device to perform:
receiving or transmitting data via communication with an external electronic device by using a communication module based on a first operating system; and
processing the received data or data to be transmitted to the external electronic device by using a designated key based on a second operating system.
