# US 2013/0297938 A1 · Communication apparatus, control method, and storage medium

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

- Number: US 2013/0297938 A1
- Document ID: US20130297938A1
- Status: Published application
- Kind: A1
- Application number: 13/859,557
- Filed: 2013-04-09
- Published: 2013-11-07
- Earliest claimed: 2012-05-01
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Fumihide Goto
- Web page: https://patentgrep.com/patent/US20130297938A1

## CPC

- H04L 9/0844: {with user authentication or key authentication, e.g. ElGamal, MTI, MQV-Menezes-Qu-Vanstone protocol or Diffie-Hellman protocols using implicitly-certified keys}
- H04L 9/0866: {involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics}
- H04W 12/069: using certificates or pre-shared keys
- H04W 84/18: Self-organising networks, e.g. ad-hoc networks or sensor networks
- 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

Disclosed is a communication apparatus for executing processing for sharing an encryption key between itself and another party's communication apparatus, wherein the communication apparatus executes the processing, respectively at least one time, as an authenticating apparatus and an authenticated apparatus. The communication apparatus determines which encryption key of an encryption key provided by this communication apparatus and an encryption key provided by the other party's communication apparatus is the encryption key used in common by this communication apparatus and the other party's communication apparatus, and decides, in accordance with result of the determination, which of this communication apparatus and the other party's communication apparatus is to be made the authenticating apparatus first.

## Claims

### Claim 1

A communication apparatus for executing processing for sharing an encryption key between itself and another party's communication apparatus, wherein the communication apparatus executes the processing, respectively at least one time, as an authenticating apparatus and an authenticated apparatus, the communication apparatus comprising:
a determination unit configured to determine which encryption key of an encryption key provided by the communication apparatus and an encryption key provided by the other party's communication apparatus is the encryption key used in common by the communication apparatus and the other party's communication apparatus; and
a decision unit configured to decide, in accordance with result of the determination, which of the communication apparatus and other party's communication apparatus is to be made the authenticating apparatus first.

### Claim 2 (depends on 1)

The apparatus according to claim 1, wherein said decision unit decides that an apparatus that does not provide the encryption key used in common for encryption by the communication apparatus and the other party's communication apparatus is to be made the authenticating apparatus first.

### Claim 3 (depends on 1)

The apparatus according to claim 1, wherein said decision unit decides which of the communication apparatus and other party's communication apparatus is to be made the authenticating apparatus first based upon address information of the communication apparatus and address information of the other party's communication apparatus.

### Claim 4 (depends on 1)

The apparatus according to claim 1, wherein said determination unit compares MAC addresses of the communication apparatus and of the other party's communication apparatus and determines that the encryption key provided by the communication apparatus having the smaller MAC address is the encryption key used in common for encryption by the communication apparatus and the other party's communication apparatus.

### Claim 5 (depends on 1)

The apparatus according to claim 1, further comprising a sharing unit configured to execute processing for sharing an encryption key.

### Claim 6 (depends on 5)

The apparatus according to claim 5, wherein said sharing unit executes processing for sharing a unicast key.

### Claim 7 (depends on 5)

The apparatus according to claim 5, wherein said sharing unit executes processing for sharing a group key.

### Claim 8 (depends on 5)

The apparatus according to claim 5, wherein said sharing unit executes processing for sharing an encryption key by wireless communication.

### Claim 9 (depends on 1)

The apparatus according to claim 1, further comprising an error determination unit configured to determine an error in the processing for sharing an encryption key;
wherein encrypted communication using an encryption key shared by previous processing for sharing an encryption key is performed in accordance with the determination made by said error determination unit.

### Claim 10 (depends on 1)

The apparatus according to claim 1, wherein in accordance with the determination made by said determination unit, processing for sharing an encryption key is executed using an encryption key shared by previous processing for sharing an encryption key.

### Claim 11

A communication apparatus for executing processing for sharing an encryption key between itself and another party's communication apparatus, wherein the communication apparatus executes the processing, respectively at least one time, as an authenticating apparatus and an authenticated apparatus, the communication apparatus comprising:
a determination unit configured to determine, after the communication apparatus serving as either the authenticating apparatus or the authenticated apparatus has executed the processing for sharing the encryption key, whether an error has occurred in separate processing for sharing the encryption key; and
an execution unit configured to perform, in a case where said determination unit has determined occurrence of an error, and using an encryption key used in common for encryption by the communication apparatus and the other party's communication apparatus, at least either of decryption of a signal, which relates to the processing for sharing the encryption key received from the other party's communication apparatus, and encryption of a signal, which relates to the processing for sharing the encryption key transmitted to the other party's communication apparatus, and to execute the processing for sharing the encryption key.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein the error is at least one of a timeout error, which is ascribable to timing out of a predetermined timer after the start of, and before the end of, a single execution of processing for sharing the encryption key, and a retry error, which is ascribable to retransmission of a signal by the communication apparatus a predetermined number of times.

### Claim 13

A control method in a communication apparatus for executing processing for sharing an encryption key between itself and another party's communication apparatus, wherein the communication apparatus executes the processing, respectively at least one time, respectively at least one time, as an authenticating apparatus and an authenticated apparatus, the method comprising:
determining which encryption key of an encryption key provided by the communication apparatus and an encryption key provided by the other party's communication apparatus is the encryption key used in common by the communication apparatus and the other party's communication apparatus; and
deciding, in accordance with result of the determination, which of the communication apparatus and other party's communication apparatus is to be made the authenticating apparatus first.

### Claim 14 (depends on 13)

The method according to claim 13, wherein in the decision, it is decided that an apparatus that does not provide the encryption key used in common for encryption by the communication apparatus and the other party's communication apparatus is to be made the authenticating apparatus first.

### Claim 15 (depends on 13)

The method according to claim 13, wherein in the decision, it is decided, based upon address information of the communication apparatus and address information of the other party's communication apparatus, which of the communication apparatus and other party's communication apparatus is to be made the authenticating apparatus first.

### Claim 16 (depends on 13)

The method according to claim 13, wherein in the determination, MAC addresses of the communication apparatus and of the other party's communication apparatus are compared and it is determined that the encryption key provided by the communication apparatus having the smaller MAC address is the encryption key used in common for encryption by the communication apparatus and the other party's communication apparatus.

### Claim 17 (depends on 13)

The method according to claim 13, further comprising determining an error in the processing for sharing an encryption key;
wherein encrypted communication using an encryption key shared by previous processing for sharing an encryption key is performed in accordance with the determination of the error.

### Claim 18

A control method in a communication apparatus for executing processing for sharing an encryption key between itself and another party's communication apparatus, wherein the communication apparatus executes the processing, respectively at least one time, as an authenticating apparatus and an authenticated apparatus, the method comprising:
determining, after the communication apparatus serving as either the authenticating apparatus or the authenticated apparatus has executed the processing for sharing the encryption key, whether an error has occurred after the start of, and before completion of, separate processing for sharing the encryption key; and
performing, in a case where occurrence of the error has been determined, by using an encryption key used in common for encryption by the communication apparatus and the other party's communication apparatus, at least either of decryption of a signal, which relates to the processing for sharing the encryption key received from the other party's communication apparatus, and encryption of a signal, which relates to the processing for sharing the encryption key transmitted to the other party's communication apparatus, and executing the processing for sharing the encryption key.

### Claim 19 (depends on 1)

A non-transitory computer-readable storage medium storing a computer program for causing a computer to function as each of the units possessed by the communication apparatus set forth in claim 1.

### Claim 20 (depends on 11)

A non-transitory computer-readable storage medium storing a computer program for causing a computer to function as each of the units possessed by the communication apparatus set forth in claim 11.
