Signature verification device, signature verification method, signature verification program, and encryption processing device

The signature verification and cryptographic processing devices enhance security in vehicle systems by comparing file security strengths to prevent unauthorized updates and downloads, ensuring secure file usage even when algorithms are compromised.

JP2024154671AActive Publication Date: 2024-10-31DENSO CORP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2023068624
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-19
Publication Date
2024-10-31
Estimated Expiration
2043-04-19

AI Technical Summary

Technical Problem

Existing signature and encryption methods in vehicle electronic control systems are vulnerable to compromise, allowing unauthorized software updates and data downloads even when the encryption algorithm is compromised.

Method used

A signature verification device and cryptographic processing device that compare the security strength of incoming files with previously received files, only allowing processing if the new security strength is higher, thereby preventing the use of potentially fraudulent files.

Benefits of technology

Ensures secure file usage by restricting unauthorized updates and downloads, even if the encryption algorithm is compromised, by comparing and ensuring the security strength of incoming files meets or exceeds previous standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024154671000001_ABST
    Figure 2024154671000001_ABST
Patent Text Reader

Abstract

To provide a signature verification device that restricts the use of a potentially fraudulent file, even when an algorithm is compromised.SOLUTION: A signature verification device 11 is configured to receive a file with information recorded thereon and a signature generated from the information, from an external device, and perform processing on the file. The signature verification device includes a receiving unit 101, a security strength comparison unit 102, and a file use processing execution unit 103. The receiving unit receives the file with information recorded thereon and a signature from the external device. The security strength comparison unit compares a first security strength, which is a security strength of the signature, with a second security strength, which is a security strength of a signature received together with a file received in the past. The file use processing execution unit executes processing for using the file when the first security strength is equal to or higher than the second security strength, and does not execute the processing when the first security strength is lower than the second security strength.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a signature verification device, a cryptographic processing device, and a method implemented by a signature verification device, etc., which are primarily installed in an in-vehicle electronic control system, receive a file containing recorded information from an external device, and perform processing to utilize the file based on the security strength of the signature or encryption, and a program that can be executed by a signature verification device, etc. [Background technology]

[0002] Automobiles are equipped with various electronic control devices that are connected via an in-vehicle network. With the recent development of autonomous driving technology, the functions required of automobiles are becoming more complex, and the number of electronic control devices installed in automobiles is increasing.

[0003] The software of electronic control devices needs to be updated in order to eliminate vulnerabilities, improve security performance, add new functions, or improve existing functions. Update files for updating software can be provided, for example, from a distribution device via a communication line.

[0004] When receiving an update file from a distribution device, it is desirable to attach a signature to the update file before transmitting it in order to verify the integrity of the update file, to authenticate it, and to prevent repudiation. Alternatively, it is desirable to encrypt the programs and data contained in the update file in order to prevent leakage.

[0005] However, with the development of research into attack methods and analytical equipment, there is a risk that signatures and encryption may be compromised. For example, Patent Document 1 discloses a technology for collecting compromise information indicating that an encryption key has been compromised from a server, identifying an encryption key to be updated based on the encryption compromise information, and updating the encryption key. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] JP 2018-139369 A Summary of the Invention [Problem to be solved by the invention]

[0007] Here, the present inventors have found the following problem as a result of detailed investigation. The security strength of a signature or encryption is determined by the signature method or encryption method, i.e., the signature or encryption algorithm, and the key length, which is the length of the key used in the algorithm. If the algorithm is compromised, security cannot be ensured because signatures and the like can be forged using the compromised algorithm, even if the key length is extended as described in Patent Document 1, for example.

[0008] Therefore, an object of the present invention is to provide a signature verification device or the like that can restrict the use of potentially fraudulent files even if an algorithm is compromised, thereby preventing, for example, fraudulent software updates. [Means for solving the problem]

[0009] A signature verification device according to an aspect of the present disclosure receives a file in which information is recorded and a signature generated from the information from an external device (30), and processes the file, A receiving unit (101) for receiving the file and the signature; a security strength comparison unit (102) for comparing a first security strength, which is the security strength of the signature, with a second security strength, which is the security strength of a signature received together with a previously received file; a file usage processing execution unit (103) that performs processing for using the file; The file usage process execution unit If the first security strength is higher than the second security strength, a process is executed to use the file; If the first security strength is lower than the second security strength, the process for using the file is not executed.

[0010] A cryptographic processing device according to an aspect of the present disclosure is a cryptographic processing device that receives a file recording encrypted information from an external device (30) and processes the file, A receiving unit (141) for receiving the file; a security strength comparison unit (142) for comparing a first security strength, which is the security strength of the encryption used to encrypt the information, with a second security strength, which is the security strength of the encryption used to encrypt information included in a previously received file; a file usage process execution unit (143) for performing a process for using the file; The file usage process execution unit If the first security strength is higher than the second security strength, a process is executed to use the file; If the first security strength is lower than the second security strength, the process for using the file is not executed.

[0011] In addition, the claims and the numbers in parentheses attached to the constituent elements of the invention described in this section indicate the correspondence between the present invention and the embodiments described below, and are not intended to limit the present invention. The above-mentioned technical fields and problems are merely examples, and the present invention is not limited to these. For example, the present invention may be applied to devices other than those for in-vehicle use. In addition, the present invention may not be applied to software updates, and may be applied to data downloads, for example. Effect of the Invention

[0012] According to the above configuration, the signature verification device, etc. of the present invention compares the security strength of the signature and encryption of a received file with the security strength of the signature and encryption of a file received in the past to determine whether or not to execute a file usage process.Therefore, even if the algorithm is compromised, it is possible to realize a signature verification device, etc. that can restrict the use of potentially fraudulent files, preventing, for example, fraudulent software updates and data downloads. [Brief description of the drawings]

[0013] [Figure 1] A diagram explaining the arrangement of a signature verification device, etc. [Diagram 2] A diagram explaining the layout of the signature verification device and the electronic control system (electronic control device) [Diagram 3] FIG. 1 is a diagram illustrating an example of the configuration of an electronic control system. [Figure 4] A diagram for explaining the conventional problems of a signature verification device. [Diagram 5] FIG. 1 is a block diagram illustrating the configuration of a signature verification device according to the first, second, and third embodiments. [Figure 6] FIG. 1 is an explanatory diagram for explaining a signature information table used in the signature verification device according to the first, second, and third embodiments. [Figure 7] FIG. 1 is a diagram for explaining a specific example of the operation of the signature verification device of the first embodiment. [Figure 8] FIG. 1 is a diagram for explaining the operation of the signature verification device of the first embodiment. [Figure 9] FIG. 1 is a diagram for explaining the structure of a file used in a signature verification device according to a first modified example of the first embodiment. [Figure 10] FIG. 10 is a diagram for explaining the operation of the signature verification device of the second embodiment. [Figure 11] FIG. 11 is a diagram for explaining the operation of the signature verification device of the third embodiment. [Figure 12] FIG. 13 is a block diagram illustrating the configuration of a cryptographic processing device according to a fourth embodiment. [Figure 13] FIG. 13 is an explanatory diagram for explaining a cryptography information table used in the cryptography processing device of the fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0015] The present invention means the invention described in the claims or in the Summary of the Invention section, and is not limited to the following embodiments. Furthermore, at least the words in quotation marks mean the words described in the claims or in the Summary of the Invention section, and are not limited to the following embodiments.

[0016] The configurations and methods described in the dependent claims are optional configurations and methods in the invention described in the independent claims. The configurations and methods of the embodiments corresponding to the configurations and methods described in the dependent claims, and the configurations and methods described only in the embodiments without being described in the claims, are optional configurations and methods in the present invention. The configurations and methods described in the embodiments when the description of the claims is broader than the description of the embodiments are also optional configurations and methods in the present invention in the sense that they are examples of the configurations and methods of the present invention. In either case, by being described in the independent claims, they become essential configurations and methods of the present invention.

[0017] The effects described in the embodiments are effects obtained when the configurations of the embodiments are provided as examples of the present invention, and are not necessarily effects that the present invention possesses.

[0018] When there are multiple embodiments (including modified examples; the same applies hereinafter in this paragraph), the configurations disclosed in each embodiment are not limited to each embodiment, but can be combined across the embodiments. For example, a configuration disclosed in one embodiment may be combined with another embodiment. Also, the configurations disclosed in each of the multiple embodiments may be collected and combined.

[0019] The problem described in the Problems to be Solved by the Invention is not a publicly known problem, but was discovered by the inventors themselves, and this fact, together with the configuration and method of the present invention, affirms the inventive step of the invention. The same applies to the problems and findings described in the section on conventional problems in embodiment 1.

[0020] 1. Configuration underlying each embodiment (1) Arrangement of signature verification device or cryptographic processing device FIG. 1 is a diagram for explaining the arrangement of a "signature verification device" or a "cryptography processing device" in each embodiment. For example, as shown in FIG. 1(a), a signature verification device 11, a signature verification device 12, a signature verification device 13, or a cryptography processing device 14 (hereinafter, abbreviated as the signature verification device 11, etc.) is "mounted" on a vehicle, which is a "mobile body". Alternatively, as shown in FIG. 1(b), the signature verification device 11, etc. does not necessarily have to be "mounted" on a "mobile body". An example of the form of the signature verification device 11, etc. in FIG. 1(a) is an electronic control unit (ECU: (Electric Control Unit)), but is not limited thereto. Also, an example of the form of the signature verification device 11, etc. in FIG. 1(b) is a personal computer (PC) or a smartphone, but is not limited thereto. Where: "Mobile object" refers to an object that can move and can move at any speed. It also includes cases where the mobile object is stationary. For example, it includes, but is not limited to, automobiles, motorcycles, bicycles, pedestrians, ships, aircraft, and objects mounted on these. "Mounted" includes not only the case where the device is directly fixed to the moving body, but also the case where the device is not fixed to the moving body but moves with the moving body, such as the case where the device is carried by a person riding on the moving body, or the case where the device is mounted on cargo placed on the moving body.

[0021] In the case of Fig. 1(a), the signature verification device 11 etc. receives a file recording information from the external device 30 mainly via wireless communication. If the vehicle is parked or in a repair shop, the file may be received via wired communication. In the case of Fig. 1(b), the signature verification device 11 etc. receives a file from the external device 30 via wireless or wired communication.

[0022] 2 is a diagram for explaining the arrangement of the signature verification device 11 etc. of each embodiment and the electronic control system S. The signature verification device 11 etc. of each embodiment are "connected" to a plurality of "electronic control devices" 20 (hereinafter referred to as ECUs (Electronic Control Units)) constituting the electronic control system S. Where: The "electronic control device" may be a physically independent electronic control device, or a virtualized electronic control device realized using virtualization technology. "Connection" refers to a state in which data can be exchanged, and includes not only cases in which different hardware is connected via a wired or wireless communications network, but also cases in which virtual machines realized on the same hardware are virtually connected to each other.

[0023] 2(a) shows a case where the signature verification device 11 and the like are provided inside the electronic control system S, and FIG. 2(b) shows a case where the signature verification device 11 and the like are provided outside the electronic control system S and inside the vehicle. That is, the signature verification device 11 and the like are "mounted" on a "mobile body" together with the ECU 20. In the cases of FIG. 2(a) and FIG. 2(b), the signature verification device 11 and the like and the multiple ECUs 20 are "connected" via an in-vehicle communication network such as a Controller Area Network (CAN) or a Local Interconnect Network (LIN). Alternatively, they may be connected using any communication method, whether wired or wireless, such as Ethernet (registered trademark), Wi-Fi (registered trademark), Bluetooth (registered trademark), etc.

[0024] FIG. 2(c) shows a case where the signature verification device 11 and the like are provided outside the electronic control system S and outside the vehicle. That is, the ECU 20 is "mounted" on a "mobile body", and the signature verification device 11 and the like are arranged outside the mobile body. For example, the signature verification device 11 and the like are realized by a server device or the like. In the case of FIG. 2(c), the signature verification device 11 and the like and the multiple ECUs 20 are "connected" via a communication network such as a wireless communication method such as IEEE802.11 (Wi-Fi (registered trademark)), IEEE802.16 (WiMAX (registered trademark)), W-CDMA (Wideband Code Division Multiple Access), HSPA (High Speed ​​Packet Access), LTE (Long Term Evolution), LTE-A (Long Term Evolution Advanced), 4G, 5G, and the like. Alternatively, DSRC (Dedicated Short Range Communication) can be used. When the vehicle is parked in a parking lot or housed in a repair shop, a wired communication method can be used instead of a wireless communication method. For example, a LAN (Local Area Network), the Internet, or a fixed telephone line can be used.

[0025] (2) Configuration of Electronic Control System S Fig. 3 is a diagram showing an example of the configuration of an electronic control system S. The electronic control system S is made up of a plurality of ECUs 20 and an in-vehicle network (NW1 to NW3) that connects these ECUs. Fig. 3 shows eight ECUs (ECU20a to ECU20h) as an example, but the electronic control system S is naturally made up of any number of ECUs. In the following explanation, when describing a single or a plurality of electronic control devices as a whole, they will be described as ECU20 or each ECU20, and when describing each individual electronic control device specifically, they will be described as ECU20a, ECU20b, ECU20c, ....

[0026] In the case of FIG. 3, the ECUs 20 are connected to each other via the in-vehicle network described above in the description of FIGS. 2(a) and 2(b) or via other wired or wireless communication methods.

[0027] The electronic control system S shown in FIG. 3 includes an integrated ECU 20a, an external communication ECU 20b, zone ECUs (20c, 20d), and individual ECUs (20e to 20h).

[0028] The integrated ECU 20a is an ECU that has a function of controlling the entire electronic control system S and also has a gateway function of mediating communication between the ECUs 20. The integrated ECU 20a is also called a gateway ECU (G-ECU) or a mobility computer (MC). The integrated ECU 20a may also be a relay device or a gateway device.

[0029] The external communication ECU 20b is an ECU having a communication unit that communicates with an external device provided outside the vehicle, for example, in each embodiment, the external device 30. The communication method used by the external communication ECU 20b is the wireless communication method or the wired communication method described in the explanation of FIG. In order to realize a plurality of communication methods, a plurality of external communication ECUs 20b may be provided. Also, instead of providing the external communication ECU 20b, the integrated ECU 20a may include the function of the external communication ECU 20b.

[0030] The zone ECUs (20c, 20d) are ECUs with a gateway function appropriately arranged according to the location and function of the individual ECUs described below. For example, the zone ECU 20c is an ECU having a gateway function that mediates communication between the individual ECUs 20e and 20f arranged at the front of the vehicle and other ECUs 20, and the zone ECU 20d is an ECU having a gateway function that mediates communication between the individual ECUs 20g and 20h arranged at the rear of the vehicle and other ECUs 20. The zone ECUs (20c, 20d) are sometimes called domain computers (DC). The individual ECUs 20e and 20f are connected to the zone ECU 20c via a network 2 (NW2), and the individual ECUs 20g and 20h are connected to the zone ECU 20d via a network 3 (NW3).

[0031] The individual ECUs (20e to 20h) can be configured with ECUs having any desired functions. For example, they can be drive system electronic control devices that control the engine, steering, brakes, etc., vehicle body electronic control devices that control meters, power windows, etc., information system electronic control devices such as navigation devices, or safety control system electronic control devices that perform control to prevent collisions with obstacles or pedestrians. Also, the ECUs may not be parallel to each other, but may be classified as master and slave.

[0032] In the first, third and fourth embodiments, a case will be described in which the signature verification device 11, the signature verification device 13 and the cryptographic processing device 14 are provided in the integrated ECU 20a. In the second embodiment, a case will be described in which the signature verification device 12 is provided in an individual ECU (20e to 20h). However, the signature verification device 11 and the like may be provided in the external communication ECU 20b, the zone ECU (20c to 20d) or the individual ECU (20e to 20h). When provided in one of the individual ECUs (20e to 20h), it is desirable to use a dedicated ECU for realizing the update control device 11 and the like.

[0033] In addition, among the ECUs 20 constituting the electronic control system S, when an ECU 20 other than the external communication ECU 20b has a built-in function of the signature verification device 11 or the like, a receiving unit 101 of the signature verification device 11 or the like described later acquires a file from outside the electronic control system S via the external communication ECU 20b. In this case, the signature verification device 11 or the like is called a UCM master in the AUTOSAR (AUTomotive Open System ARchitecture) specification. Also, the external communication ECU 20b is called an OTA (Over The Air) client in the AUTOSAR specification. In addition, each ECU 20 in FIG. 3 is called a UCM (Update and Configuration Management) subordinate in the AUTOSAR specification.

[0034] A signature verification device 11 will be described below as an example of the first embodiment, a signature verification device 12 as an example of the second embodiment, a signature verification device 13 as an example of the third embodiment, and a cryptographic processing device 14 as an example of the fourth embodiment.

[0035] 2. Embodiment 1 (1) Previous issues The problems with the conventional technology will be described with reference to FIG. FIG. 4(a) shows how the update target device receives an update file (SW1(1)) for updating software from a distribution device and installs the software (SW1(1)). The update target device has a verification key 1 corresponding to the high security strength post-quantum cryptography (PQC (Post-Quantum Cryptography)) and a verification key 2 corresponding to the medium security strength elliptic curve cryptography (ECC (Elliptic Curve Cryptography)). In particular, during the transitional period to the next-generation cryptography such as PQC, it is considered that a device corresponding to multiple encryption methods is required to support the next-generation cryptography in preparation for the compromise of the cryptography while maintaining connectivity with the existing cryptography. When the update target device receives the signature 1 corresponding to PQC and the update file (SW1 (1)) including the update software (SW1 (1)), the update target device performs verification using the verification key 1, and installs the software (SW1 (1)) if the verification is successful.

[0036] FIG. 4(b) shows how the update target device receives the same software (SW1(2)) again from the distribution device and installs the software (SW1(2)). When the update target device receives an update file (SW1(2)) including an ECC-compliant signature 2 and update software (SW1(2)), the update target device performs verification using verification key 2, and if the verification is successful, installs the currently received software (SW1(2)) so as to overwrite the currently installed software (SW1(1)).

[0037] Here, if the ECC algorithm or ECC verification key 2 is compromised at the time the update file (SW1(2)) is received from the distribution device, there is a possibility that the signature 2 attached to the update file (SW1(2)) is forged. In this case, even if verification is performed using the compromised verification key 2, the verification will be successful and the software (SW1(2)) will be installed. Furthermore, if the software (SW1(2)) has vulnerabilities built into it or has been downgraded, the device to be updated will be exposed to cyber attacks and other risks.

[0038] It should be noted that the software (SW1(1)) and the software (SW1(2)) do not need to be completely the same. For example, there may be cases where functions have been added, where the versions are different, or where modifications have been made as described above. In other words, it is sufficient that there is a possibility that the software can be treated as the same software in the update target device, such as being subject to an overwrite operation in the update target device. This also applies to the second and fourth embodiments in addition to this embodiment.

[0039] The present embodiment aims to eliminate such unauthorized software updates.

[0040] (2) Configuration of Signature Verification Device 11 An example of the configuration of the signature verification device 11 of this embodiment will be described with reference to Fig. 5. The signature verification device 11 includes a receiving unit 101, a security strength comparing unit 102, a file use process executing unit 103, a file storing unit 104, and a signature information storing unit 105. In this embodiment, the signature verification device 11 is provided in the integrated ECU 20a of Fig. 3. The devices to be updated are the zone ECUs (20c, 20d), the individual ECUs (20e to 20h), the external communication ECU 20b, and the integrated ECU 20a of Fig. 3.

[0041] The signature verification device 11 can be configured with a general-purpose CPU (Central Processing Unit), a volatile memory such as a RAM, a non-volatile memory such as a ROM, a flash memory, or a hard disk, various interfaces, and an internal bus connecting these. Then, by executing software on this hardware, the device can be configured to perform the functions of each functional block shown in FIG. 5.

[0042] The signature verification device 11 is a device that receives a file in which "information" is recorded and a "signature generated from the information" from the external device 30, and processes the file. The same applies to the signature verification device 12 of the second embodiment and the signature verification device 13 of the third embodiment. Where: "Information" includes software and data. Software includes not only software that runs on an OS (Operating System) but also middleware (e.g., OS). Data includes moving images, still images, maps, audio, etc. A "signature generated from information" includes a signature generated directly from all or part of the information, as well as a signature generated indirectly from all or part of the information, such as a signature generated from a hash value obtained from all or part of the information.

[0043] In this embodiment, the signature verification device 11 is an update control device that controls software update for an update target device that is an update target of "software" which is "information" among a plurality of connected ECUs 20. Such an update control device is, for example, realized by an integrated ECU 20a that receives an update program provided by an external device 30 and manages the update target device within an electronic control system, and is also called OTA (Over The Air) reprogramming. Here, "software" includes not only software that runs on an OS (Operating System), but also middleware (for example, an OS) that runs the electronic control device itself.

[0044] The receiving unit 101 receives an update file (corresponding to a "file") and a signature attached to the update file from the external device 30, which is, for example, a distribution device. Specifically, the receiving unit 101 receives the update file (SW1(N)) and the signature. The received update file is output to the file storage unit 104. The file storage unit 104 can use a non-volatile or volatile recording medium. It is desirable to provide the file storage unit 104 in a secure area.

[0045] As shown in Figures 2(a) and 2(b), when the signature verification device 11 is mounted on a mobile body, the external communication ECU 20b receives an update file from a server device or the like provided outside the electronic control system S via wireless communication or wired communication, and the receiving unit 101 of the signature verification device 11 receives the update file transmitted from the external communication ECU 20b via the in-vehicle network. In addition, as shown in Figure 2 (c), when the signature verification device 11 is realized by a server device outside the vehicle, the receiving unit 101 of the signature verification device 11 receives the update file generated by the server device or by another device via wireless communication or wired communication.

[0046] The update file includes an update file for updating software installed in the update target device. The update file may be an update file group including a plurality of update files for updating a plurality of pieces of software. The update file group may include an update file to be used for each of a plurality of update target devices. Alternatively, the update file may be a single update file divided into a plurality of files.

[0047] The update file may include information for identifying the target device on which the software to be updated is installed, and information indicating the amount of data in each update file. This information may be stored in the header of the update file, or in the update data portion of the update file.

[0048] The signature may include information indicating the size of the signature, the key used for the signature, and the signature method. It may also include information indicating the security strength, which will be described later. This information may be stored in the signature header.

[0049] The security strength comparison unit 102 compares a first security strength, which is the security strength of the signature currently received by the receiving unit 101, with a second security strength, which is the security strength of a signature previously received together with a file previously received by the receiving unit 101. Specifically, it compares the security strength (corresponding to the "first security strength") of the signature attached to the update file (SW1(N)) currently received by the receiving unit 101 with the security strength (corresponding to the "second security strength") of the signature of a previously received update file (SW1(N-1)). The security strength of the previously received update file is determined by reading out the signature information stored in the signature information storage unit 105. The relationship between the software (SW1(N-1)) and the software (SW1(N)) is as described in the conventional problem of this embodiment.

[0050] FIG. 6 is an example of a signature information table stored in the signature information storage unit 105. As shown in FIG. A signature information table is provided for each device to be updated, and SW identification information, signature method information, and security strength are recorded in each signature information table.

[0051] The SW identification information is information for identifying software included in the received update file. In Fig. 6, SW1 is given as information indicating the type of software, and (N-1) and (N-2) are given as identifiers for distinguishing between software of the same type. N is, for example, time information such as the number of times it has been received or a time stamp, or information indicating the version of the software. Furthermore, if there is more than one type of software, for example, if there are four types, SW1 to SW4, information for identifying all of the types of software, SW1 to SW4, may be recorded.

[0052] The signature method information is information indicating the signature method of the signature attached to the software. In FIG. 6, ECC and PQC are recorded as information indicating the signature method, but more detailed information may be recorded. For example, detailed examples of PQC include CRYSTAL-Dilithium, FALCON, and SPHINCS+, which are standard PQCs selected by the National Institute of Standards and Technology in July 2022. Other information such as AES-128, AES-192, and AES-256 may also be used.

[0053] The security strength is the security strength of the signature method. The security strength is determined based on the algorithm of the signature method and the length of the key used for signing. In Fig. 6, the security strength is shown in three stages, high, medium, and low, but it may be shown in more stages. Alternatively, it may be shown by a numerical value indicating the bit unit instead of a stage.

[0054] In Fig. 6, both signature method information and security strength are recorded, but either one may be recorded. If only signature method information is recorded, the security strength can be found by separately preparing a table showing the correspondence between signature methods that may be used and their security strengths. Also, in FIG. 6, signature information is recorded for all previously received software, but in order to reduce the size of signature information storage unit 105, signature information may be recorded only for the most recently received software.

[0055] 5, the signature information storage unit 105 stores the signature information table. A non-volatile or volatile recording medium can be used for the signature information storage unit 105. It is desirable to provide the signature information storage unit 105 in a secure area.

[0056] The file usage process execution unit 103 performs "processing for using a file." Specifically, in this embodiment, the file usage process execution unit 103 transmits, to the update target device, software included in the update file received by the receiving unit 101 and an installation instruction for instructing the installation of the software. In addition, when the update target device is the integrated ECU 20a, that is, when the signature verification device 11 and the update target device are realized by the same integrated ECU 20a, it is not necessary to transmit the software and the installation instruction to the update target device, so the software is installed in the integrated ECU 20a, which is the update target device. An embodiment in which the signature verification device 11 and the update target device are the same device will be described in the second embodiment. Here, the "processing for using a file" may be any processing necessary for using a file, and may be processing that uses the file itself, as well as processing that precedes or follows the processing.

[0057] If the comparison result in the security strength comparison unit 102 shows that the security strength (corresponding to the "first security strength") of the signature attached to the update file (SW1(N)) is equal to or greater than the security strength (corresponding to the "second security strength") of the signature of the update file (SW1(N-1)), i.e., if the security strength of the former is higher than that of the latter, or if the security strength of the former and the security strength of the latter are the same, the file use process execution unit 103 transmits an instruction to install the software (SW1(N)) and the software (SW1(N)) to the update target device. In other words, it executes a process to install the software (SW1(N)). Then, the security strength comparison unit 102 outputs the signature information of the signature attached to the update file (SW1(N)) to the signature information storage unit 105, and the signature information storage unit 105 stores this signature information.

[0058] On the other hand, if the comparison result in the security strength comparison unit 102 indicates that the security strength (corresponding to the "first security strength") of the signature attached to the update file (SW1(N)) is lower than the security strength (corresponding to the "second security strength") of the signature of the update file (SW1(N-1)), the file use process execution unit 103 does not transmit an installation instruction for the software (SW1(N)) and the software (SW1(N)) to the update target device. In other words, the process for installing the software (SW1(N)) is not executed. Furthermore, the security strength comparison unit 102 does not output the signature information of the update file (SW1(N)) to the signature information storage unit 105.

[0059] In this embodiment, when the security strength of the signature attached to the update file (SW1(N)) is the same as the security strength of the signature of the update file (SW1(N-1)), processing to use the file is executed, but in this case, processing to use the file may not be executed.

[0060] FIG. 7 shows a specific example of the operation of the signature verification device 11. In FIG. FIG. 7(a) shows past processing. The receiving unit 101 received the update file (SW1(N-1)) and signature 1 corresponding to the PQC. Then, the receiving unit 101 verified signature 1 with verification key 1, and if the verification was successful, the software (SW1(N-1)) was installed.

[0061] 7(b) and 7(c) show the current process. The receiving unit 101 receives the update file (SW1(N-1)) and signature 1 corresponding to the PQC. The security strength comparison unit 102 reads the security strength of the signature of the software (SW1(N-1)) from the signature information table in the signature information storage unit 105, and compares the security strength of the signature 1 attached to the update file (SW1(N)) with the security strength of the signature 1 attached to the update file (SW1(N-1)). In the case of FIG. 7(b), the security strength of the signature 1 of the update file (SW1(N)) is "high", and the security strength of the signature 1 of the update file (SW1(N-1)) is "high", so the security strength of the signature 1 of the update file (SW1(N)) is the same as the security strength of the signature 1 of the update file SW1(N-1)), that is, the security strength of the signature 1 of the update file (SW1(N)) is equal to or greater than the security strength of the signature 1 of the update file SW1(N-1)). Therefore, the file usage process execution unit executes a process for installing the software (SW1(N)) included in the update file (SW1(N)).

[0062] In FIG. 7(c), the receiving unit 101 receives the update file (SW1(N)) and the signature 2 corresponding to the ECC. The security strength comparison unit 102 reads the security strength of the signature of the software (SW1(N-1)) from the signature information table in the signature information storage unit 105, and compares the security strength of the signature 2 attached to the update file (SW1(N)) with the security strength of the signature 2 attached to the update file (SW1(N-1)). In the case of Fig. 7(c), the security strength of the signature 2 of the update file (SW1(N)) is "medium" and the security strength of the signature 1 of the update file (SW1(N-1)) is "high", so the security strength of the signature 2 of the update file (SW1(N)) is lower than the security strength of the signature 1 of the update file SW1(N-1)). Therefore, the file usage process execution unit does not execute the process for installing the software (SW1(N)) included in the update file (SW1(N)).

[0063] (3) Operation of the signature verification device 11 The operation of signature verification device 11 will be described with reference to Fig. 8. Note that the operation shown in Fig. 8 not only shows the signature verification method executed by signature verification device 11, but also shows the processing procedure of a signature verification program executable by signature verification device 11. The processing shown here is not limited to the order shown in Fig. 8. In other words, the order may be changed as long as there are no constraints, such as a relationship in which a certain step utilizes the result of the previous step. The same applies to Figs. 10, 11, and 14 described below.

[0064] The receiving unit 101 of the signature verification device 11 receives an update file in which software is recorded, and signature 1 generated from the software, from the external device 30 (S101).

[0065] The receiving unit 101 outputs the signature 1 to the security strength comparing unit 102 (S102), and stores the updated file in the file storing unit 104 (S103).

[0066] The security strength comparison unit 102 receives the signature 1 from the receiving unit 101 (S104). Next, the security strength comparison unit 102 outputs a read request to the signature information storage unit 105, and reads, from the signature information storage unit 105, Signature 2 that was received together with the previously received update file (S105). Then, the security strength comparison unit 102 compares the security strength of signature 1 (corresponding to the "first security strength") with the security strength of signature 2 (corresponding to the "second security strength") (S106). Instead of reading out signature 2 from signature information storage unit 105, security strength comparison unit 102 may read out the security strength of signature 2 (corresponding to “second security strength”).

[0067] If the security strength of signature 1 is equal to or greater than the security strength of signature 2, security strength comparison unit 102 instructs file use process execution unit 103 to execute the file use process (S107). Furthermore, the security strength comparison unit 102 outputs the signature information of signature 1 to the signature information storage unit 105, and the signature information storage unit 105 stores the signature information of signature 1 (S108).

[0068] The file use process execution unit 103 executes a process for using a file. In this embodiment, specifically, the update file is read from the file storage unit 104 (S109), signature 1 is verified (S110), and version verification or rollback verification is further performed (S111). Version verification, for example, refers to confirming that the version of the software after the update is newer than the version of the software before the update. Rollback verification refers to confirming that the software is returned to an earlier version due to a software defect or the like, for example, refers to confirming that the version of the software after the update is older than the version of the software before the update. Note that version verification or rollback verification is optional. If the verification of signature 1, the version verification, and the like are successful, the update file and an installation instruction are transmitted to the update target device (S112).

[0069] If the security strength of signature 1 is lower than the security strength of signature 2, security strength comparison unit 102 ends the series of processes (S113). As a result, file use process execution unit 103 does not execute the process for using the file.

[0070] (4) Summary As described above, according to the signature verification device 11 of this embodiment, the security strength of a received signature is compared with the security strength of a previously received signature to determine whether or not to execute a process for using a file. Therefore, even if the algorithm is compromised as well as the key is compromised, the use of a potentially unauthorized file can be restricted. Moreover, according to the signature verification device 11 of the present embodiment, since it is determined whether or not to update the software of the ECU 20, which is the device to be updated, it is possible to prevent unauthorized software updates. For example, it is possible to prevent the installation of vulnerable software and downgrade attacks.

[0071] (5) Variation 1 In this embodiment, a signature is attached to each file, and the security strength of each file is compared with that of previously received files. However, there are also cases where files have an inclusive relationship, that is, a relationship in which one file is contained within another file. For example, as shown in FIG. 9, one package file contains update files and specification data for multiple software, and each update file is attached with a signature (signature 1, signature 2, signature 3) generated from each update file 1 to 3, the specification data is attached with a signature (signature 4) generated from the specification data, and the package file is attached with a signature (signature 5) generated from the package file.

[0072] In this case, security strength comparison unit 102 compares the security strength of these signatures with the security strength of the signature attached to the corresponding update file or data received in the past. Then, file use process execution unit 103 executes a process for using the package file if the security strength of at least one of these signatures is equal to or greater than the security strength of the signature attached to the corresponding file or data received in the past.

[0073] For example, in the case of Figure 9, if at least one of the security strengths of the signatures (signature 1, signature 2, signature 3) generated from each update file 1 to 3 and the signature (signature 4) generated from the specification data (all of which correspond to "individual signatures"), and the signature (signature 5) generated from the package file (corresponding to "overall signature"), is equal to or greater than the security strength of the corresponding signatures attached to a previously received package file and the multiple update files and specification data contained therein, the file usage process execution unit 103 executes a process to install all update files.

[0074] If an attacker tries to illegally perform a software update, he or she needs to forge all of signatures 1 to 5, but if even one of the signatures is difficult to forge, the software can be considered to be protected by the security level of the signatures that are difficult to forge as a whole. According to this modified example, there is no need to verify all the signatures, and the installation process can be started if, for example, the first signature verified satisfies the conditions, which reduces the burden on the hardware and allows the installation process to start quickly.

[0075] This modification can also be applied to the second to fourth embodiments.

[0076] (6) Variation 2 When software has versions, the version of the software included in the currently received file is usually higher than the version of the software included in a previously received file. In other words, the functionality and attack resistance of software improves as the software undergoes repeated version upgrades. For example, in FIG. 7, the version of the software (SW1(N)) included in the update file (SW1(N)) is higher than the version of the software (SW1(N-1)) included in the update file (SW1(N-1)).

[0077] However, when you download and install the latest version of software, it may cause problems due to hardware compatibility or performance issues. Also, the latest version of the software itself may have bugs or other problems. In such cases, you may need to download a lower version of the software to revert to the previous version.

[0078] In such a case, as in the present embodiment, the file use process execution unit 103 executes a process for installing the software if the comparison result in the security strength comparison unit 102 indicates that the security strength of the signature affixed to the update file (SW1(N)) is equal to or greater than the security strength of the signature affixed to the update file (SW1(N-1)). Also, if the comparison result in the security strength comparison unit 102 indicates that the security strength of the signature affixed to the update file (SW1(N)) is lower than the security strength of the signature affixed to the update file (SW1(N-1)), the file use process execution unit 103 does not execute a process for installing the software.

[0079] In other words, when downgrading and installing software, even if the signature attached this time is the same as the signature attached when the same lower version software was downloaded in the past, if a higher version of the software was installed in the meantime, and the security strength of the signature attached to the higher version of the software was stronger than the security strength of the signature attached to the lower version of the software, then the lower version of the software downloaded this time must be attached with a signature with the same or greater security strength as the signature attached to the higher version of the software.

[0080] For example, if the security strength of the signature attached to the currently downloaded lower version software is lower than the security strength of the signature attached to the previously downloaded higher version software, the file usage processing execution unit 103 will interrupt the installation process and send a request to the external device 30 to resend the software with a signature having a security level equal to or higher than the security strength of the signature attached to the higher version software.

[0081] According to this variant, even when downgrading software, the security strength of the signature is used to determine whether or not to execute the process to use the file. Therefore, even if the same version of the software was previously downloaded, it is possible to restrict the use of potentially fraudulent files even if the key or algorithm has been compromised since then.

[0082] This modification can also be applied to the second to fourth embodiments.

[0083] 3. Embodiment 2 (1) Configuration of signature verification device 12 In the signature verification device 11 of the first embodiment, the signature verification device 11 and the update target device are provided in different devices. In the present embodiment, the signature verification device 12 is provided in the same device as the update target device. For example, in FIG. 3, the signature verification device 12 is provided in the individual ECU 20e, and the update target device is also provided in the individual ECU 20e. As described in the first embodiment, the case where the signature verification device 11 is provided in the integrated ECU 20a, and the update target device is also provided in the integrated ECU 20a also corresponds to this embodiment.

[0084] Since signature verification device 12 of this embodiment has the same configuration as signature verification device 11 in Fig. 5, except for some of the operations of file use process execution unit 103, Fig. 5 and the corresponding description of embodiment 1 will be cited. In addition, at least Fig. 6 (any one of the signature information tables) and Fig. 7 are also figures showing this embodiment, so the corresponding description of embodiment 1 will be cited. Only the parts that differ from embodiment 1 will be explained below.

[0085] The signature verification device 12 of this embodiment is an update control device that controls the update of "software", which is "information", for the ECU 20 that implements the signature verification device 12. There are examples where such an update control device receives an update program provided by a diagnostic device connected via a wire and is implemented by the update target device itself that has an update control function, and this is also called wired reprogramming.

[0086] The file use process execution unit 103 performs “processing for using a file” in the same manner as in the first embodiment. Specifically, in the present embodiment, software installation is performed on the ECU 20e, which is the update target device and also the signature verification device 12.

[0087] (2) Operation of the signature verification device 12 The operation of the signature verification device 12 will be described with reference to Fig. 10. Below, only the parts that differ from Fig. 8 which explains the operation of the signature verification device 11 of the first embodiment will be described, and Fig. 8 and the corresponding description of the first embodiment will be cited for the parts that are the same. The file use process execution unit 103 executes a process for using a file. Specifically, in this embodiment, the file use process execution unit 103 reads the updated file from the file storage unit 104 (S109), verifies the signature 1 (S110), and performs version verification or rollback verification (S111). If the verification of the signature 1 and the version verification are successful, the software is installed in the ECU 20e which is the update target device and also the signature verification device 12 (S212).

[0088] (3) Summary As described above, according to the signature verification device 12 of this embodiment, the security strength of the received signature is compared with the security strength of a previously received signature to determine whether or not to execute the process for using the file. Therefore, even if the algorithm is compromised as well as the key is compromised, the use of a potentially unauthorized file can be restricted. Furthermore, the signature verification device 12 of the present embodiment determines whether or not to update the software of its own device, which is the device to be updated, and therefore can prevent unauthorized software updates. For example, it can prevent the installation of vulnerable software and downgrade attacks.

[0089] 4. Embodiment 3 (1) Configuration of the signature verification device 13 The signature verification device 11 and the signature verification device 12 in the first and second embodiments are update control devices that control software update for an update target device that is an update target of "software", which is "information", among a plurality of connected ECUs 20. The signature verification device 13 of this embodiment is a data usage control device that controls the usage of "data," which is "information." That is, the embodiment differs from the first and second embodiments in that the information contained in a file is data, not software. Here, "data" includes moving images, still images, maps, audio, etc., and the data may be in any format.

[0090] The signature verification device 13 of this embodiment has the same configuration as the signature verification device 11 of Fig. 5, except for some of the operations of the receiving unit 101 and the file use process execution unit 103, so Fig. 5 and the corresponding description of embodiment 1 will be cited. At least Figs. 6 and 7 also show this embodiment, so the corresponding descriptions of embodiment 1 will be cited. However, software should be read as data as appropriate.

[0091] The receiving unit 101 receives a data file (corresponding to a "file") and a signature attached to the data file from the external device 30, which is, for example, a distribution device. The received data file is output to the file storage unit 104.

[0092] The file usage process execution unit 103 performs "processing for using a file" in the same manner as in the first embodiment. In the present embodiment, specifically, the file usage process execution unit 103 decrypts or saves data, or executes downloading of data. When the process for using a file is data decoding, file usage process execution unit 103 reads the data file from file storage unit 104 and decodes the encoded data. When the process for using the file is data storage, the file use process execution unit 103 reads the data file from the file storage unit 104 and stores the data file in a predetermined recording device. The predetermined recording device may be provided in the ECU 20 in which the signature verification device 13 is mounted, or in another ECU 20. The former case corresponds to the process of the second embodiment, and the latter case corresponds to the process of the first embodiment. When the process for using a file is to download data, the file use process execution unit 103 requests the external device 30 to transmit data from a transmission unit (not shown), and the reception unit 101 receives the data file.

[0093] (2) Operation of the signature verification device 13 The operation of the signature verification device 13 will be described with reference to Fig. 11. Below, only the parts that differ from Fig. 8 which explains the operation of the signature verification device 11 of the first embodiment will be described, and Fig. 8 and the corresponding description of the first embodiment will be cited for the parts that are the same.

[0094] The receiving unit 101 of the signature verification device 13 receives a data file in which data is recorded, and a signature 1 generated from the data, from the external device 30 (S301).

[0095] The receiving unit 101 outputs the signature 1 to the security strength comparing unit 102 (S102), and stores the data file in the file storing unit 104 (S303).

[0096] The file use process execution unit 103 executes a process for using a file. Specifically, in this embodiment, the file use process execution unit 103 reads a data file from the file storage unit 104 (S309), verifies the signature 1 (S110), and performs version verification or rollback verification (S111). If the verification of signature 1, the version verification, etc. are successful, the file use process execution unit 103 decrypts the data file and performs display, etc. (S312).

[0097] (3) Summary As described above, according to the signature verification device 13 of this embodiment, even when a data file is downloaded from the external device 30, the security strength of the received signature is compared with the security strength of a previously received signature to determine whether or not to execute the process for using the data file. Therefore, even if the key or algorithm is compromised, the use of a potentially fraudulent data file can be restricted.

[0098] 5. Embodiment 4 (1) Configuration of the cryptographic processing device 14 The signature verification device 11, the signature verification device 12, and the signature verification device 13 in the first to third embodiments are devices that verify a signature affixed to a file. The cryptographic processing device 14 of this embodiment is a cryptographic processing device that receives a file in which encrypted information is recorded from an external device 30 and processes the file.

[0099] An example of the configuration of the cryptographic processing device 14 of this embodiment will be described with reference to Fig. 12. The cryptographic processing device 14 includes a receiving unit 401, a security strength comparing unit 402, a file use process executing unit 403, a file saving unit 404, and a cryptographic information saving unit 405. In this embodiment, the cryptographic processing device 14 is assumed to be provided in the integrated ECU 20a of Fig. 3.

[0100] The receiving unit 401 receives a file in which encrypted information is recorded (hereinafter, referred to as an encrypted file) from the external device 30, which is, for example, a distribution device. The encrypted information is, for example, encrypted software or encrypted data.

[0101] The encrypted file may contain information indicating the key used for encryption and the encryption method. It may also contain information indicating the security level. These pieces of information may be stored in the header of the encrypted file.

[0102] Security strength comparison unit 402 compares a first security strength, which is the security strength of the encryption used in the encrypted file currently received by receiving unit 401, with a second security strength, which is the security strength of the encryption used in the encrypted file previously received by receiving unit 401. The security strength of the encryption used in the encrypted file previously received is determined by reading out encryption information stored in encryption information storage unit 405.

[0103] FIG. 13 is an example of a signature information table stored in the encryption information storage unit 405. As shown in FIG. At least one encryption information table needs to be provided, unlike in embodiment 1. SW / data identification information, encryption method information, and security strength are recorded in the encryption information table.

[0104] The SW / data identification information is information for identifying software or data contained in the received encrypted file. In Fig. 13, SW1 is given as information indicating the type of software, and (N-1) and (N-2) are given as identifiers for distinguishing between software of the same type. The rest is the same as Fig. 6 of the embodiment.

[0105] The encryption method information is information that indicates the encryption method of the encrypted file. In Fig. 13, ECC and PQC are recorded as information indicating the encryption method, but more detailed information may be recorded.

[0106] The security strength is the security strength of the encryption method. The security strength is determined based on the encryption method algorithm and the length of the key used for encryption. In Figure 13, the security strength is shown in three stages, high, medium and low, but it may be shown in more stages. Alternatively, it may be shown by a number indicating the bit unit instead of a stage.

[0107] 12, the encryption information storage unit 405 stores an encryption information table. A non-volatile or volatile recording medium can be used for the encryption information storage unit 405. It is preferable that the encryption information storage unit 405 is provided in a secure area.

[0108] The file usage process execution unit 403 performs "processing for using a file." In this embodiment, specifically, this is processing for decrypting or saving information recorded in an encrypted file, or downloading information. Also, if the information is software, this is processing for transmitting the encrypted file to the device to be updated, or installing the software. The operation of the file use process execution unit 403 is the same as that of the first embodiment, and therefore the description of the first embodiment will be cited. In this case, the signature is replaced with encryption, the verification key with decryption key, and verification with decryption.

[0109] (2) Summary As described above, according to the cryptographic processing device 14 of this embodiment, the security strength of the cipher used to encrypt a received file is compared with the security strength of the cipher used to encrypt a file received in the past to determine whether or not to execute a process to use the file. Therefore, even if the algorithm is compromised as well as the key is compromised, the use of a potentially fraudulent encrypted file can be restricted.

[0110] 6. Summary The features of the signature verification device and the cryptographic processing device in each embodiment of the present invention have been described above.

[0111] The terms used in each embodiment are merely examples and may be replaced with synonymous terms or terms having the same functions.

[0112] The block diagrams used to explain the embodiments classify and organize the configuration of the device by function. The blocks showing the respective functions are realized by any combination of hardware or software. In addition, since the block diagrams show the functions, they can also be understood as disclosures of a method invention and a program invention that realizes the method.

[0113] The order of the functional blocks that can be understood as the processes, flows, and methods described in each embodiment may be changed as long as there are no constraints such as a relationship in which one step utilizes the results of another step prior to it.

[0114] The terms first, second, through Nth (N is an integer) used in each embodiment and in the claims are used to distinguish two or more configurations or methods of the same type, and do not limit the order or superiority or inferiority.

[0115] Examples of the form of the device of the present invention are as follows. Examples of the component form include a semiconductor element, an electronic circuit, a module, and a microcomputer. Examples of semi-finished products include electronic control units (ECUs (Electric Control Units)) and system boards. Finished product forms include mobile phones, smartphones, tablets, personal computers (PCs), workstations, and servers. Other examples include devices with communication functions, such as video cameras, still cameras, and car navigation systems.

[0116] Furthermore, necessary functions such as an antenna and a communication interface may be added to each device.

[0117] In addition, the present invention can be realized not only by dedicated hardware having the configuration and functions described in each embodiment, but also as a combination of a program for realizing the present invention recorded on a recording medium such as a memory or a hard disk, and general-purpose hardware having a dedicated or general-purpose CPU and memory capable of executing the program.

[0118] A program stored in a non-transient physical recording medium (for example, an external storage device (hard disk, USB memory, CD / BD, etc.) or an internal storage device (RAM, ROM, etc.)) of dedicated or general-purpose hardware can be provided to the dedicated or general-purpose hardware via a recording medium, or via a communication line from a server without using a recording medium. This makes it possible to always provide the latest functions through program upgrades. [Industrial Applicability]

[0119] Although the present disclosure has been described mainly as a signature verification device and a cryptographic processing device for an on-board electronic control device mounted on an automobile, the present disclosure can be applied to any moving object such as a motorcycle, a ship, a train, an airplane, etc. Furthermore, the present disclosure can be applied not only to moving objects but also to any product that includes a microcomputer. [Explanation of symbols]

[0120] 11, 12, 13 signature verification device, 14 encryption processing device, 101 receiving unit, 102 security strength comparison unit, 103 file use processing execution unit, 104 file storage unit, 105 signature information storage unit, 20 electronic control unit (ECU), 30 external device

Claims

1. A signature verification device that receives a file in which information is recorded and a signature generated from the information from an external device (30) and processes the file, A receiving unit (101) for receiving the file and the signature; a security strength comparison unit (102) for comparing a first security strength, which is the security strength of the signature, with a second security strength, which is the security strength of a signature received together with a previously received file; A file usage processing execution unit (103) that performs processing for using the file, The file usage process execution unit If the first security strength is higher than the second security strength, a process is executed to use the file; If the first security strength is lower than the second security strength, a process for using the file is not executed. A signature verification device (11, 12, 13).

2. The file usage process execution unit If the first security strength is equal to or greater than the second security strength, a process for using the file is executed. A signature verification device (11, 12, 13).

3. The signature verification device is an update control device that controls the update of the software for an update target device that is an update target of the software, which is the information, among a plurality of connected electronic control devices (20), the file usage process execution unit transmits the file to the update target device as a process for using the file. A signature verification device (11) according to claim 2.

4. the signature verification device is an update control device that controls an update of software, which is the information, for an electronic control device that realizes the signature verification device; the file usage process execution unit executes installation of the software as a process for using the file. The signature verification device (12) of claim 2.

5. the signature verification device is a data usage control device that controls usage of the data, which is the information; the file usage process execution unit decrypts or saves the data, or downloads the data, as a process for using the file.

2. The signature verification device (13) of claim 1.

6. The file includes a plurality of the software programs, the signature is a plurality of individual signatures generated from the plurality of pieces of software, and an overall signature generated from the file, the file use process execution unit executes a process for using the file when at least one of the first security strengths of each of the plurality of individual signatures and the whole signature is higher than the second security strength of a corresponding individual signature or whole signature. A signature verification device (11, 12) according to claim 3 or 4.

7. the version of the software contained in the received file is lower than the version of the software contained in a previously received file; A signature verification device (11, 12) according to claim 3 or 4.

8. The security strength of the signature is determined based on the algorithm of the signature method and the length of the key used for the signature. A signature verification device (11, 12, 13) according to claim 2.

9. The signature verification device is mounted on a moving object.

2. A signature verification device (11, 12, 13) according to claim 1.

10. the signature verification device is mounted on a moving body together with the electronic control device; A signature verification device (11) according to claim 3 or 4.

11. The electronic control device is mounted on a moving object, the signature verification device is disposed outside the mobile object; A signature verification device (11) according to claim 3.

12. A signature verification method executed by a signature verification device (11, 12, 13) that receives a file in which information is recorded and a signature generated from the information from an external device (30) and processes the file, comprising: The file and the signature are received (S101); A first security strength, which is the security strength of the signature, is compared with a second security strength, which is the security strength of a signature received together with a previously received file (S106); If the first security strength is higher than the second security strength, a process for using the file is executed (S109 to S112); If the first security strength is lower than the second security strength, the process for using the file is not executed (S113). The signature verification method.

13. A signature verification program executable by a signature verification device (11, 12, 13) that receives a file in which information is recorded and a signature generated from the information from an external device (30) and processes the file, The file and the signature are received (S101); A first security strength, which is the security strength of the signature, is compared with a second security strength, which is the security strength of a signature received together with a previously received file (S106); If the first security strength is higher than the second security strength, a process for using the file is executed (S109 to S112); If the first security strength is lower than the second security strength, the process for using the file is not executed (S113). Signature verification program.

14. A cryptographic processing device that receives a file recording encrypted information from an external device (30) and processes the file, A receiving unit (141) for receiving the file; a security strength comparison unit (142) for comparing a first security strength, which is the security strength of the encryption used to encrypt the information, with a second security strength, which is the security strength of the encryption used to encrypt information included in a previously received file; a file usage processing execution unit (143) for performing processing for using the file; The file usage process execution unit If the first security strength is higher than the second security strength, a process is executed to use the file; If the first security strength is lower than the second security strength, a process for using the file is not executed. A cryptographic processing device (14).

15. the file usage process execution unit decrypts or saves the information and downloads the information as a process for using the file. The cryptographic processing device (14) according to claim 14.

Citation Information

Patent Citations

  • Confirmation device, confirmation method and confirmation program

    JP2012103436A

  • Authentication station apparatus, authentication station program and authentication station operation method

    JP2016032247A

  • Center device and on-vehicle electronic control device

    JP2022133732A

  • Information processing device

    JP2023182388A

  • System for managing security index scores

    US20050283622A1