Identify the vehicle's electronic control unit

By using memory and circuit systems in the vehicle's electronic control unit to verify the authenticity and correctness of the hardware, the problem of weakened driver operating capabilities and incorrect hardware installation of autonomous vehicles is solved, improving vehicle safety and reliability.

CN113796045BActive Publication Date: 2024-08-30MICRON TECHNOLOGY INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202080034258.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-10
Publication Date
2024-08-30
Estimated Expiration
2040-03-10

AI Technical Summary

Technical Problem

In vehicles, the weakening of the driver's operating ability may lead to safety risks, and the reliability of autonomous vehicles relies on the correct installation and maintenance of hardware components. Incorrect installation or replacement may lead to safety hazards.

Method used

By using memory and circuitry in the electronic control unit, a runtime cryptographic hash is generated based on the vehicle's electronic control unit identification number and compared with the cryptographic hash stored in memory, ensuring the authenticity and correctness of the hardware if If there is no match, it is reported as unauthenticated and the relevant parties are notified.

Benefits of technology

Ensuring the authenticity and correct installation of hardware in the vehicle reduces safety risks caused by incorrect installation or replacement, improves vehicle reliability and makes the warranty process more transparent.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113796045B_ABST
    Figure CN113796045B_ABST
Patent Text Reader

Abstract

The present disclosure includes apparatus, methods, and systems for validating an electronic control unit of a vehicle. Embodiments include a memory and circuitry configured to generate a runtime cryptographic hash based on an identification (ID) number of an electronic control unit of the vehicle and compare the runtime cryptographic hash to a cryptographic hash stored in a portion of the memory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to semiconductor memories and methods, and more particularly to validating an electronic control unit of a vehicle. Background Art

[0002] Memory devices are typically provided as internal semiconductor integrated circuits and / or external removable devices in computers or other electronic devices. There are many different types of memory, including volatile and non-volatile memory. Volatile memory may require power to maintain its data, and may include random access memory (RAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (SDRAM), among others. Non-volatile memory may provide permanent data by retaining stored data when not powered, and may include NAND flash memory, NOR flash memory, read-only memory (ROM), and resistance variable memory, such as phase change random access memory (PCRAM), resistive random access memory (RRAM), and magnetic random access memory (MRAM), among others.

[0003] Memory devices may be combined together to form solid state drives (SSDs), embedded multimedia cards (e.MMCs), and / or universal flash storage (UFS) devices. SSDs, e.MMCs, and / or UFS devices may include nonvolatile memory (e.g., NAND flash memory and / or NOR flash memory), and / or may include volatile memory (e.g., DRAM and / or SDRAM), as well as various other types of nonvolatile and volatile memory. Nonvolatile memory may be used in a wide range of electronic applications, such as personal computers, portable memory sticks, digital cameras, cellular phones, portable music players such as MP3 players, movie players, and the like.

[0004] For example, a flash memory device may include a memory cell that stores data in a charge storage structure such as a floating gate. Flash memory devices typically use a single transistor memory cell that allows for high memory density, high reliability, and low power consumption. A resistance variable memory device may include a resistive memory cell that can store data based on the resistance state of a storage element (e.g., a resistive memory element having a variable resistance).

[0005] Memory cells can be arranged in an array, and memory cells in the array architecture can be programmed to a target (e.g., desired) state. For example, charge can be placed on or removed from a charge storage structure (e.g., a floating gate) of a flash memory cell to program the cell to a specific data state. The stored charge on the charge storage structure of the cell can indicate the threshold voltage (Vt) of the cell. The state of a flash memory cell can be determined by sensing the stored charge (e.g., Vt) on the charge storage structure of the cell.

[0006] The memory device can be used in a vehicle (e.g., a car, a sedan, a truck, a bus, etc.). In a conventional motor vehicle, the driver operates the control system of the vehicle. For example, the driver of a conventional motor vehicle makes decisions regarding the safe operation of the vehicle. Such decisions may include decisions related to vehicle speed, vehicle steering, obstacle and / or hazard identification, and obstacle and / or hazard avoidance. However, in some cases, the driver's ability to make these decisions and operate the control system of the vehicle may be limited. For example, driver impairment, fatigue, concentration, and / or other factors such as visibility (e.g., due to weather or terrain changes) may limit the driver's ability to safely operate a conventional motor vehicle and / or its control system.

[0007] In order to mitigate the drawbacks resulting from driver operation of conventional motor vehicles, various manufacturers have experimented with autonomous vehicles. While autonomous vehicles may allow for a reduction in problems that may arise due to a driver's reduced ability to operate a conventional motor vehicle, autonomous vehicles have their own drawbacks.

[0008] For example, autonomous vehicles require reliable components because failure of one or more system components may result in injury or death to passengers in the autonomous vehicle. Autonomous vehicles may include several electronic control units (e.g., hardware) that work together to perform specific functions. When hardware is replaced on a vehicle, sometimes the original hardware is replaced with non-original hardware, or untrained or improperly trained personnel may incorrectly install the hardware. For example, the reliability of components in an autonomous vehicle may be ensured by installing hardware provided by the factory (e.g., original hardware) and having the hardware installed by an authorized mechanic. Summary of the invention

[0009] One aspect of the present disclosure provides an apparatus for confirming an electronic control unit of a vehicle, wherein the apparatus includes: a memory; and a circuit system configured to: generate a runtime cryptographic hash based on an identification (ID) number of the electronic control unit of the vehicle; compare the runtime cryptographic hash with a cryptographic hash stored in a portion of the memory; report to a host that the electronic control unit is not authenticated in response to the runtime cryptographic hash being unequal to the cryptographic hash; and send a message from the host to a dealer of the vehicle, a manufacturer of the vehicle, or someone who performs a warranty on the vehicle in response to the electronic control unit being not authenticated.

[0010] Another aspect of the present disclosure provides a method for confirming an electronic control unit of a vehicle, wherein the method includes: detecting power-on of the vehicle; generating a runtime cryptographic hash based on an identification (ID) number of the electronic control unit of the vehicle; and comparing the runtime cryptographic hash with a cryptographic hash stored in a portion of a memory in response to detecting the power-on; reporting to a host that the electronic control unit is not authenticated in response to the runtime cryptographic hash being unequal to the cryptographic hash; and sending a message from the host to a dealer of the vehicle, a manufacturer of the vehicle, or someone servicing the vehicle in response to the electronic control unit being not authenticated.

[0011] Another aspect of the present disclosure provides a method for confirming an electronic control unit of a vehicle, wherein the method includes: receiving an updated cryptographic hash in response to replacing the electronic control unit on the vehicle; generating an updated runtime cryptographic hash based on an identification (ID) number of the replacement electronic control unit of the vehicle; comparing the updated runtime cryptographic hash with the updated cryptographic hash; reporting to a host that the electronic control unit is not authenticated in response to the runtime cryptographic hash being unequal to the cryptographic hash; and sending a message from the host to a dealer of the vehicle, a manufacturer of the vehicle, or someone servicing the vehicle in response to the electronic control unit being not authenticated.

[0012] Another aspect of the present disclosure provides a system for confirming an electronic control unit of a vehicle, wherein the system includes: the electronic control unit; a memory; and a circuit system configured to: receive a cryptographic hash in response to the electronic control unit being installed in the system; generate a runtime cryptographic hash by reading data stored in a portion of the memory and hashing the data using a hash function; compare the runtime cryptographic hash with the received cryptographic hash; confirm the electronic control unit in response to the runtime cryptographic hash being equal to the received cryptographic hash; report to a host that the electronic control unit is not authenticated in response to the runtime cryptographic hash being not equal to the received cryptographic hash; and send a message from the host to a dealer of the system, a manufacturer of the system, or someone who performs a warranty on the system in response to the electronic control unit being not authenticated. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A diagram illustrating a portion of a memory array having several physical blocks according to an embodiment of the present disclosure.

[0014] Figure 2 is a block diagram of a computing system including a host and an apparatus in the form of a memory device according to an embodiment of the present disclosure.

[0015] Figure 3 A block diagram illustrating an example of an electronic control unit confirmation process according to an embodiment of the present disclosure.

[0016] Figure 4A An example of a pair of registers for defining a secure memory array according to an embodiment of the present disclosure is described.

[0017] Figure 4B A diagram illustrating a portion of a memory array including a secure memory array defined in accordance with an embodiment of the present disclosure.

[0018] Figure 5 is a block diagram of an example system including a host and a memory device according to an embodiment of the present disclosure.

[0019] Figure 6 is a block diagram of an example process for determining several parameters according to an embodiment of the present disclosure.

[0020] Figure 7 is a block diagram of an example process for determining several parameters according to an embodiment of the present disclosure.

[0021] Figure 8 is a block diagram of an example process for verifying credentials according to an embodiment of the present disclosure.

[0022] Fig. 9is a block diagram of an example process for verifying a signature according to an embodiment of the present disclosure.

[0023] Fig.10 is a block diagram of an example memory device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] The present disclosure includes apparatus, methods, and systems for validating an electronic control unit of a vehicle. Embodiments include a memory and circuitry configured to generate a runtime cryptographic hash based on an identification (ID) number of the electronic control unit of the vehicle and compare the runtime cryptographic hash to a cryptographic hash stored in a portion of the memory.

[0025] Many electronic control units work together to operate a vehicle. When hardware is replaced on a vehicle, sometimes the original hardware is replaced with non-original hardware or untrained or improperly trained personnel replace the hardware. For example, non-original hardware and / or improper installation may cause the vehicle to malfunction.

[0026] Thus, to ensure a safe vehicle, it is important to confirm (e.g., authenticate and / or prove) that the hardware installed in the vehicle is authentic (e.g., identical to the original programming) and properly installed. Confirming the vehicle's hardware can also ensure the warranty of the electronic control unit, as only authentic and original replacement parts can be used. When buying or selling a car, both parties can be confident that the vehicle is the same as sold by the car manufacturer.

[0027] Embodiments of the present disclosure may validate the electronic control unit when the vehicle is started. For example, embodiments of the present disclosure may detect power-on of the vehicle and compare the runtime cryptographic hash with a cryptographic hash stored in a portion of the memory in response to detecting power-on of the vehicle.

[0028] As used herein, "a," "an," or "several" may refer to one or more of something, and "plurality" may refer to two or more such things. For example, a memory device may refer to one or more memory devices, and multiple memory devices may refer to two or more memory devices. Additionally, as used herein, the designators "R," "B," "S," and "N," particularly with respect to reference numerals in the accompanying drawings, indicate that a number of the particular features so designated may be included in several embodiments of the present disclosure. The number may be the same or different between the designators.

[0029] The figures herein follow a numbering convention in which the first digit or digits correspond to the figure number of the drawing and the remaining digits identify the element or component in the drawing. Similar elements or components between different figures may be identified by using similar numerals. For example, 101 may refer to Figure 1 Component "01" in the , and similar components can be found in Figure 2 Cited 201 times.

[0030] Figure 1 A diagram illustrating a portion of a memory array 101 having several physical blocks according to an embodiment of the present disclosure. The memory array 101 may be, for example, a flash memory array, such as a NAND flash memory array. As an additional example, the memory array 101 may be a resistance variable memory array, such as a PCRAM, RRAM, MMRAM, or a spin torque transfer (STT) array, among others. However, embodiments of the present disclosure are not limited to a particular type of memory array. Furthermore, the memory array 101 may be a secure memory array, as will be further described herein. Furthermore, although not described herein, Figure 1 , memory array 101 may be located on a particular semiconductor die along with various peripheral circuitry associated with its operation.

[0031] like Figure 1 , memory array 101 has a number of physical blocks 107-0 (block 0), 107-1 (block 1), ..., 107-B (block B) of memory cells. The memory cells may be single-level cells and / or multi-level cells, such as two-level cells, three-level cells (TLC), or four-level cells (QLC), for example. As examples, the number of physical blocks in memory array 101 may be 128 blocks, 512 blocks, or 1,024 blocks, but embodiments are not limited to a particular power of 2 or any particular number of physical blocks in memory array 101.

[0032] Several physical blocks of memory cells (e.g., blocks 107-0, 107-1, ..., 107-B) may be included in a plane of memory cells, and several planes of memory cells may be included on a die. Figure 1 In the example shown in , each physical block 107-0, 107-1, ..., 107-B can be part of a single die. That is, Figure 1 The portion of the memory array 101 illustrated in may be a die of memory cells.

[0033] like Figure 1 , each physical block 107-0, 107-1, ..., 107-B includes a number of physical rows (e.g., 103-0, 103-1, ..., 103-R) of memory cells coupled to access lines (e.g., word lines). The number of rows (e.g., word lines) in each physical block may be 32, but embodiments are not limited to a particular number of rows 103-0, 103-1, ..., 103-R per physical block. In addition, although not shown in Figure 1 , but the memory cells can be coupled to columns of sense lines (eg, data lines and / or digit lines).

[0034] One of ordinary skill in the art will appreciate that each row 103-0, 103-1, ..., 103-R may include several pages (e.g., physical pages) of memory cells. A physical page refers to programming and / or sensing cells (e.g., several memory cells that are programmed and / or sensed together as a functional group). Figure 1 In the embodiment shown in , each row 103-0, 103-1, ..., 103-R includes one physical page of memory cells. However, the embodiments of the present disclosure are not limited thereto. For example, in an embodiment, each row may include multiple physical pages of memory cells (e.g., one or more even pages of memory cells coupled to even data lines, and one or more odd pages of memory cells coupled to odd data lines). In addition, for embodiments including multi-level cells, a physical page of memory cells may store multiple pages (e.g., logical pages) of data (e.g., an upper page of data and a lower page of data, wherein each cell in the physical page stores one or more bits toward the upper page of data and one or more bits toward the lower page of data).

[0035] like Figure 1 , a page of memory cells may include several physical sectors 105-0, 105-1, ..., 105-S (e.g., a subset of memory cells). Each physical sector 105-0, 105-1, ..., 105-S of a cell may store several logical sectors of data. In addition, each logical sector of data may correspond to a portion of a particular page of data. As an example, a first logical sector of data stored in a particular physical sector may correspond to a logical sector corresponding to a first page of data, and a second logical sector of data stored in a particular physical sector may correspond to a second page of data. Each physical sector 105-0, 105-1, ..., 105-S may store system and / or user data, and / or may include overhead data, such as error correction code (ECC) data, logical block address (LBA) data, and metadata.

[0036] Logical block addressing is a scheme that can be used by a host to identify logical sectors of data. For example, each logical sector can correspond to a unique logical block address (LBA). In addition, the LBA can also correspond to (e.g., dynamically map to) a physical address that can indicate the physical location of that logical sector of data in the memory, such as a physical block address (PBA). The logical sector of data can be a number of bytes of data (e.g., 256 bytes, 512 bytes, 1,024 bytes, or 4,096 bytes). However, the embodiments are not limited to these examples.

[0037] It should be noted that other configurations of physical blocks 107-0, 107-1, ..., 107-B, rows 103-0, 103-1, ..., 103-R, sectors 105-0, 105-1, ..., 105-S, and pages are possible. For example, rows 103-0, 103-1, ..., 103-R of physical blocks 107-0, 107-1, ..., 107-B may each store data corresponding to a single logical sector, which may include, for example, more or less than 512 bytes of data.

[0038] Figure 2 2 is a block diagram of a computing system 200 including a host 202 and an apparatus in the form of a memory device 206 according to an embodiment of the present disclosure. As used herein, an "apparatus" may refer to, but is not limited to, any of a variety of structures or combinations of structures, such as, for example, a circuit or circuit system, a die or dies, a module or modules, a device or devices, or a system or systems. Furthermore, in an embodiment, the computing system 200 may include a number of memory devices similar to the memory device 206.

[0039] exist Figure 2 In the embodiment described in FIG. 1 , the memory device 206 may include a memory 216 having a memory array 201. The memory array 201 may be combined with the previously described memory array 201. Figure 1 The memory array 101 described above is similar. In addition, the memory array 201 may be a secure array, as will be further described herein. Figure 2 One memory array 201 is illustrated in FIG. 2 , but memory 216 may include any number of memory arrays similar to memory array 201 .

[0040] like Figure 2 , host 202 may be coupled to memory device 206 via interface 204. Host 202 and memory device 206 may communicate (e.g., send commands and / or data) over interface 204. Host 202 and / or memory device 206 may be Internet of Things (IoT) enabled devices, such as, for example, automotive (e.g., vehicles and / or transportation infrastructure) IoT enabled devices, and other host systems or portions thereof, and may include memory access devices (e.g., processors). One of ordinary skill in the art will appreciate that "processor" may mean one or more processors, such as a parallel processing system, a number of coprocessors, and the like.

[0041] The interface 204 may be in the form of a standardized physical interface. For example, when the memory device 206 is used for information storage in the computing system 200, the interface 204 may be a Serial Advanced Technology Attachment (SATA) physical interface, a Peripheral Component Interconnect Express (PCIe) physical interface, a Universal Serial Bus (USB) physical interface, or a Small Computer System Interface (SCSI), among other physical connectors and / or interfaces. However, in general, the interface 204 may provide an interface for passing control, address, information (e.g., data), and other signals between the memory device 206 and a host (e.g., the host 202) having a receiver compatible with the interface 204.

[0042] The memory device 206 includes a controller 208 to communicate with the host 202 and the memory 216 (e.g., the memory array 201). For example, the controller 208 can send commands to perform operations on the memory array 201, including operations to sense (e.g., read), program (e.g., write), move and / or erase data, and other operations.

[0043] The controller 208 may be included on the same physical device (e.g., the same die) as the memory 216. Alternatively, the controller 208 may be included on a separate physical device that is communicatively coupled to the physical device that includes the memory 216. In an embodiment, the components of the controller 208 may be spread across multiple physical devices (e.g., some components on the same die as the memory, and some components on different dies, modules, or boards) as a distributed controller.

[0044] The host 202 may include a host controller ( Figure 2 The host controller 202 may include a controller 208 (not shown) to communicate with the memory device 206. The host controller may send commands to the memory device 206 via the interface 204. The host controller may communicate with the memory device 206 and / or a controller 208 on the memory device 206 to read, write, and / or erase data, among other operations. Furthermore, in an embodiment, the host 202 may be an IoT enabled device with IoT communication capabilities, as previously described herein.

[0045] The controller 208 on the memory device 206 and / or the host controller on the host 202 may include control circuitry and / or logic (e.g., hardware and firmware). In an embodiment, the controller 208 on the memory device 206 and / or the host controller on the host 202 may be an application specific integrated circuit (ASIC) coupled to a printed circuit board including the physical interface. Furthermore, the memory device 206 and / or the host 202 may include a buffer and one or more registers of volatile and / or non-volatile memory.

[0046] For example, Figure 2As shown in , memory device 206 may include circuitry 210. Figure 2 In the embodiment described in , the circuit system 210 is included in the controller 208. However, the embodiments of the present disclosure are not limited thereto. For example, in an embodiment, the circuit system 210 may be included in the memory 216 (e.g., included on the same die as the memory 216) (e.g., instead of in the controller 208). The circuit system 210 may include, for example, hardware, firmware, and / or software.

[0047] The circuit system 210 can generate a runtime cryptographic hash 241 for use in validating (eg, authenticating and / or certifying) a vehicle (eg, Figure 3 An electronic control unit (e.g., Figure 3 The generated runtime cryptographic hash 241 may be based on an identification (ID) number 245 of the electronic control unit. For example, the ID number 245 may be a serial number and may be accessed via an interface (e.g., Figure 3 The ID number 245 may be sent from the electronic control unit to the memory device 216 (e.g., an interface 349 in the memory array 201). The interface may be a Serial Advanced Technology Attachment (SATA) physical interface, a Peripheral Component Interconnect Express (PCIe) physical interface, a Universal Serial Bus (USB) physical interface, a Small Computer System Interface (SCSI) or bus, and other physical connectors and / or interfaces. In some examples, the memory device 216 may receive the ID number 245 from the electronic control unit and / or may store the ID number 245 in the memory 216 (e.g., in the memory array 201).

[0048] As used herein, an electronic control unit (e.g., Figure 3 The electronic control unit 347 in the memory array 201 may include and / or indicate authentication and / or proof that the electronic control unit is authentic (e.g., original, authorized, factory-provided, properly installed, and / or installed by licensed personnel) and has not been altered or improperly installed. The runtime cryptographic hash 241 of the data stored in the memory array 201 including the ID number 245 may include, for example, a SHA-256 cryptographic hash. In addition, the runtime cryptographic hash 241 of the data stored in the memory array 201 may include 256 bytes of data.

[0049] A runtime cryptographic hash 241 of the data stored in the memory array 201 may be generated (e.g., calculated), for example, by the circuit system 210. In this example, the runtime cryptographic hash 241 of the stored data may be generated internally by the memory device 206 without moving external data over the interface 204. As an additional example, the runtime cryptographic hash 241 of the data may be transmitted from an external entity. For example, the host 202 may generate a runtime cryptographic hash 241 of the data stored in the memory array 201 and send the generated runtime cryptographic hash 241 to the memory device 206 (e.g., the circuit system 210 may receive the runtime cryptographic hash 241 of the data stored in the memory array 201 from the host 202).

[0050] Runtime cryptographic hash 241 may be generated (e.g., calculated), for example, by circuit system 210 based on (e.g., in response to) an external command, such as a command received from host 202. For example, the runtime ... reading data stored in memory array 201 and using a cryptographic hash function (e.g., Figure 3 ) to hash the data to generate the runtime cryptographic hash 241. As an additional example, the host 202 may generate the runtime cryptographic hash 241 and send (e.g., provide) the generated runtime cryptographic hash 241 to the memory device 206 (e.g., the circuit system 210 may receive the runtime cryptographic hash 241 from the host 202).

[0051] like Figure 2 , the runtime cryptographic hash 241 can be stored in the memory array 201. For example, the runtime cryptographic hash 241 can be stored in a portion of the memory array 201 that is not accessible to users of the memory device 206 and / or the host 202 (e.g., in a "hidden" area of ​​the memory array 201).

[0052] In an embodiment, memory array 201 (e.g., a subset of array 201, or the entire array 201) may be a secure array (e.g., a region of memory 216 to be kept under control). For example, data stored in memory array 201 may include sensitive (e.g., non-user) data, such as host firmware and / or code to be executed for sensitive applications. In this embodiment, a pair of non-volatile registers may be used to define the secure array. For example, in Figure 2 In the embodiment illustrated in , circuit system 210 includes registers 214-1 and 214-2 that can be used to define a security array. For example, register 214-1 can define the address of the security array (e.g., the starting LBA of the data), and register 214-2 can define the size of the security array (e.g., the ending LBA of the data).

[0053] Once the security array has been defined, the circuit system 210 may use authenticated and anti-replay protected commands to generate (e.g., calculate) a cryptographic hash 243 associated with the security array, which may be referred to herein as a golden hash 243 (e.g., such that only the memory device 206 knows the golden hash 243 and only the memory device 206 is able to generate and update the golden hash 243). In some examples, the golden hash 243 may be received by the memory device 206. For example, the golden hash 243 may be sent from a mechanic, a dealer, and / or a manufacturer. The golden hash 243 may be stored in an inaccessible portion of the memory array 201 and may be used to verify the vehicle (e.g., Figure 3 An electronic control unit (e.g., Figure 3 The electronic control unit 347 in the apparatus is used during the process as will be further described herein.

[0054] The memory device 206 (eg, the circuit system 210 ) may confirm that the data stored in the memory array 201 (eg, Figure 3 data 363 in, including electronic control units (e.g., Figure 3 For example, the circuit system 210 may be responsive to the memory device 206, the electronic control unit and / or the vehicle (e.g., Figure 3 The data stored in the array 201 may be validated upon powering up (e.g., powering on and / or powering up) the vehicle 351 in the array 201. Thus, validation of the electronic control unit may be initiated (e.g., automatically) upon powering up the memory device 206, the electronic control unit, and / or the vehicle.

[0055] As an additional example, circuit system 210 can enable data stored in memory array 201 (eg, Figure 3 For example, the host 202 may send a command to the memory device 206 (eg, the circuit system 210) to start the electronic control unit (eg, Figure 3 The electronic control unit 347 in the system is verified by checking the ID number 245 of the electronic control unit 347 to determine whether the electronic control unit is authentic.

[0056] In embodiments where the memory array 201 is a secure array, the golden hash 243 previously described herein may also be used to validate that data stored in the memory array 201 including the ID number 245 (e.g., Figure 3 For example, runtime cryptographic hash 241 may be generated (e.g., calculated) and compared to golden hash 243. If the comparison indicates that runtime cryptographic hash 241 matches (e.g., is equal to) golden hash 243, then it may be determined that ID number 245 is valid (e.g., Figure 3369), and thus the electronic control unit (e.g., Figure 3 However, if the comparison indicates that the runtime cryptographic hash 241 does not match the golden hash 243, then this may indicate that the ID number 245 is invalid (e.g., Figure 3 371) in the example, and therefore the electronic control unit is not authentic.

[0057] In some instances, a non-authentic electronic control unit (e.g., Figure 3 The host 202 may display a message (e.g., Figure 3 Message 350 in ) and / or send a message. For example, the message can identify the electronic control unit and classify the electronic control unit as being unauthentic and / or improperly installed.

[0058] The circuit system 210 may detect the computing system 200, the memory device 206, the electronic control unit (eg, Figure 3 ECU 347 in the vehicle (e.g. Figure 3 The runtime cryptographic hash 241 is generated by powering the vehicle 351) and compared with the golden hash 243.

[0059] Figure 2 The embodiments described in the specification and implementations of the present disclosure may include additional circuitry, logic, and / or components that are not described in order to avoid obscuring the embodiments of the present disclosure. For example, the memory device 206 may include address circuitry to latch address signals provided on the I / O connector by the I / O circuitry. The address signals may be received and decoded by a row decoder and a column decoder to access the memory array 201. In addition, the memory device 206 may include a main memory separate from and / or in addition to the memory array 201, such as a DRAM or SDRAM, for example. This will be further described herein (e.g., in conjunction with Fig.10 ) further illustrates examples of additional circuit systems, logic and / or components of memory device 206.

[0060] Figure 3 361 is a block diagram of an example of an electronic control unit confirmation process 361 according to an embodiment of the present disclosure. The electronic control confirmation process 361 may include using a circuit system (e.g., Figure 2The circuit system 210 in the embodiment of the present invention is used to generate a runtime cryptographic hash 341 by applying a cryptographic hash function 365. The runtime cryptographic hash 341 can be used to confirm (e.g., authenticate and / or prove) that a file containing an ID number (e.g., Figure 2 The ID number may be received by the memory 316 from the electronic control unit 347 via the interface 349.

[0061] In several embodiments, the ECU validation process 361 may include validating a plurality of ECUs, and the ECU validation process 361 may include generating a runtime cryptographic hash for validation data 363 including each ID number of each of the plurality of ECUs.

[0062] As used herein, validation data 363 stored in memory array 301 may include and / or indicate authentication and / or proof that electronic control unit 347 is authentic (e.g., original, authorized, factory-provided, properly installed, and / or installed by licensed personnel) and has not been installed or replaced with an unauthorized electronic control unit and / or improperly installed. The validation data 363 stored in memory array 301 may include and / or indicate authentication and / or proof that electronic control unit 347 is authentic (e.g., original, authorized, factory-provided, properly installed, and / or installed by licensed personnel) and has not been installed or replaced with an unauthorized electronic control unit and / or improperly installed. Figure 2 245) and applying cryptographic hash function 365 to hash data 363 to generate runtime cryptographic hash 341. In some examples, cryptographic hash function 365 may be a SHA-256 cryptographic hash function.

[0063] Runtime password hash 341 (e.g., Figure 2 The runtime cryptographic hash 241 in may be stored in the memory array 301 (e.g., Figure 2 For example, the runtime cryptographic hash 341 may be stored in a memory device (e.g., Figure 2 206 in the memory device 206) and / or a host (e.g., Figure 2 A portion of the host 202 that is not accessible to users.

[0064] In an embodiment, memory array 301 (e.g., a subset of array 301 or the entire array 301) may be a secure array (e.g., a region of memory 316 to be kept under control). For example, data stored in memory array 301 may include sensitive (e.g., non-user) data, such as host firmware and / or code to be executed for sensitive applications. In this embodiment, a pair of non-volatile registers may be used to define the secure array. For example, in Figure 2, the circuit system 210 includes registers 214-1 and 214-2 that can be used to define a security array. Once the security array has been defined, the circuit system can use authenticated and anti-replay protected commands to generate (e.g., calculate) a cryptographic hash 343 associated with the security array, which may be referred to herein as a golden hash 343 (e.g., such that only the memory device knows the golden hash 343, and only the memory device can generate and update the golden hash 343).

[0065] In some examples, the golden hash 343 may be received by the memory 316, stored in an inaccessible portion of the memory array 301, and may be used during the process 361 of validating the electronic control unit 347. For example, the golden hash 343 may be sent from a mechanic, dealer, and / or manufacturer. In some examples, an updated golden hash may be sent from the mechanic, dealer, and / or manufacturer in response to the mechanic, dealer, and / or manufacturer replacing the electronic control unit 347 on the vehicle 351, and an updated runtime cryptographic hash may be generated based on the ID number of the replacement electronic control unit and compared to the updated golden hash.

[0066] The process 361 of confirming the electronic control unit 347 may be responsive to a memory device (e.g., Figure 2 The confirmation of the electronic control unit 347 may be initiated when the memory device 206 in the electronic control unit 347 and / or the vehicle 351 are powered (e.g., powered on and / or powered up). Thus, the confirmation of the electronic control unit 347 may be initiated (e.g., automatically) when the memory device, the electronic control unit 347 and / or the vehicle 351 are powered.

[0067] As an additional example, the system may respond to a request from a host (e.g., Figure 2 The host 202 in the memory array 301 receives a startup message containing an ID number (e.g., Figure 2 The process 361 of confirming the electronic control unit 347 is started by a confirmation command of the data 363 of the ID number 245).

[0068] A runtime cryptographic hash 341 may be generated (eg, calculated) and compared to the golden hash 343. If the comparison 367 indicates that the runtime cryptographic hash 341 matches (eg, is equal to) the golden hash 343, then an ID number (eg, Figure 2 345) is valid 369, and therefore the electronic control unit 347 is authentic and the process 361 of confirming the electronic control unit 347 can be completed. However, if the comparison 367 indicates that the runtime cryptographic hash 341 does not match the golden hash 343, then this can indicate that the ID number is invalid 371, and therefore the electronic control unit 347 is not authentic.

[0069] In some instances, an inauthentic electronic control unit 347 may be reported to the host computer (e.g., Figure 2 The host 202 in FIG. 10 ). The host may, in response to the electronic control unit being inauthentic, display a message 350, for example, on the infotainment system of the vehicle 351, and / or send the message 350, for example, to the vehicle dealer, the manufacturer, and / or someone who performs a warranty on the vehicle. For example, the message may identify the electronic control unit 347 and classify the electronic control unit 347 as inauthentic and / or improperly installed.

[0070] The message 350 may be removed in response to the updated golden hash being equal to the updated runtime cryptographic hash. For example, the updated golden hash may be sent from the mechanic, dealer, and / or manufacturer in response to the mechanic, dealer, and / or manufacturer replacing the electronic control unit 347 on the vehicle 351, and the updated runtime cryptographic hash may be generated based on the ID number of the replacement electronic control unit and compared to the updated golden hash.

[0071] In some embodiments, in response to runtime cryptographic hash 341 not being equal to cryptographic hash 343, vehicle 351 may be powered off and / or features of vehicle 351 may be unavailable (e.g., disabled). For example, if an inauthentic electronic control unit 347 is associated with the functionality of an autonomous driving feature, the autonomous driving feature may be unavailable. Disabling the autonomous driving feature may prevent injury or death to passengers in autonomous vehicle 351 due to, for example, electronic control unit 347 malfunctioning and / or failing due to electronic control unit 347 being inauthentic or installed by an unlicensed mechanic.

[0072] In response to the updated golden hash being equal to the updated runtime cryptographic hash, the vehicle 351 may be powered on and / or features of the vehicle 351 may be available (e.g., enabled). For example, the updated golden hash may be sent from the mechanic, dealer, and / or manufacturer in response to the mechanic, dealer, and / or manufacturer replacing the electronic control unit 347 on the vehicle 351, and the updated runtime cryptographic hash may be generated based on the ID number of the replacement electronic control unit and compared to the updated golden hash.

[0073] The memory device (e.g., Figure 2 The runtime cryptographic hash 341 is generated and compared with the cryptographic hash 343 by powering (e.g., powering on and / or powering up) the memory device 206 in the electronic control unit 347 and / or the vehicle 351.

[0074] Figure 4A An example of a pair of registers 414-1 and 414-2 for defining a secure memory array according to an embodiment of the present disclosure is illustrated, and Figure 4BA diagram illustrating a portion of a memory array 401 including a secure memory array defined using registers 414-1 and 414-2 according to an embodiment of the present disclosure. Registers 414-1 and 414-2 may be, for example, the same as previously described in connection with Figure 2 The registers 214-1 and 214-2 described above and the secure memory array 401 may be, for example, the previously described Figure 2 The memory array 201 is described. For example, Figure 4B As shown in FIG. 4 , the secure memory array 401 can be combined with the previously Figure 1 The depicted memory array 101 similarly includes a number of physical blocks 407-0, 407-1, ..., 407-B of memory cells, each physical block including a number of physical rows 403-0, 403-1, ..., 403-R having a number of sectors of memory cells.

[0075] like Figure 4A As shown in , register 414-1 may define an address of the security array (e.g., an address of a different portion of the security array), and register 414-2 may define a size of the security array (e.g., a size of a different portion of the security array). The address of the security array defined by register 414-1 may correspond to, for example, a starting point (e.g., a starting LBA) of the security array (e.g., a starting point of a different portion of the security array), and the size of the security array defined by register 414-2 may correspond to, for example, an ending point (e.g., an ending LBA) of the security array (e.g., an ending point of a different portion of the security array).

[0076] For example, Figure 4A As shown in , registers 414-1 and 414-2 may define N pairs of values, where each respective pair includes an address value (e.g., addr) defined by register 414-1 and a size value (e.g., size) defined by register 414-2. Figure 4A In the example illustrated in FIG. 1 , Pair0 includes an address value addr0 and a size value size0 (eg, Pair0=[addr0, size0]), Pair1 includes an address value addr1 and a size value size1 (eg, Pair1=[addr1, size1]), and so on, wherein Pair N Including address value addr N and size value size N (For example, Pair N =[addr N ,size N]). The address value of a pair may correspond to the beginning of a portion of the security array (e.g., a starting LBA), and the sum of the address value and size value of that pair may correspond to the end of that portion of the security array (e.g., an ending LBA). Thus, the entire security array (e.g., a portion that includes the entire security array) may be given by: [addr0, addr0+size0] ∪ [addr1, addr1+size1] ∪ ... ∪ [addr N ,addr N +size N ].

[0077] The first pair of size values ​​defined by register 414-2 with a value of zero may stop the definition of the security array. Figure 4A In the example illustrated in , if the size value of Pair2 is zero, then the secure array is given by: [addr0, addr0+size0]∪[addr1, addr1+size1].

[0078] Figure 4B An example of a security array defined by registers 414-1 and 414-2 is illustrated in FIG. 4 (e.g., where all size values ​​defined by register 414-2 are non-zero). Figure 4B As shown in FIG. 4 , the address (e.g., LBA) associated with sector 405-0 of memory array 401 is addr0, the address associated with sector 405-1 of memory array 401 is addr0+size0, the address associated with sector 405-2 of memory array 401 is addr1, the address associated with sector 405-3 of memory array 401 is addr1+size1, and the address associated with sector 405-4 of memory array 401 is addr0. N , and the address associated with sector 405-5 of memory array 401 is addr N +size N Thus, the security array includes sectors (e.g., data stored in the sectors) 405-0 to 405-1, sectors 405-2 to 405-3, and 405-4 to 405-5. However, sectors of memory array 401 prior to sectors 405-0 and 405-1 to 405-2 of memory array 401 are not part of the security array (e.g., the security array includes a subset of array 401).

[0079] Figure 5 5 is a block diagram of an example system including a host 502 and a memory device 506 according to an embodiment of the present disclosure. The host 502 and the memory device 506 may be, for example, Figure 2 Host 202 and memory device 206 are depicted.

[0080] Computing devices can be booted in stages using layers, where each layer authenticates and loads the next layer and provides increasingly complex runtime services at each layer. One layer can be served by the previous layer and serve the next layer, creating a network of interconnected layers built on lower layers and serving higher layers. Figure 5 , layer 0 ("L0") 551 and layer 1 ("L1") 553 are within the host. Layer 0 551 may provide a firmware derived secret (FDS) key 552 to layer 1 553. FDS key 552 may describe the identity of the code of layer 1 553 and other security-related data. In an example, a specific protocol (such as a robust Internet of Things (RIOT) core protocol) may use FDS 552 to confirm the code of layer 1 553 that it loads. In an example, the specific protocol may include a device identification composition engine (DICE) and / or RIOT core protocol. As an example, the FDS may include the layer 1 firmware image itself, a list that cryptographically identifies authorized layer 1 firmware, a firmware version number of the signed firmware in the context of a secure boot implementation, and / or security-critical configuration settings of the device. Device secrets 558 may be used to create FDS 552 and are stored in a memory with the host 502.

[0081] As illustrated by arrow 554, the host may transfer data to the memory device 506. The transferred data may include an external public identification, a certificate (e.g., an external identification certificate), and / or an external public key. Layer 2 ("L2") 555 of the memory device 506 may receive the transferred data and execute the data in operation of an operating system ("OS") 557 and on a first application 559-1 and a second application 559-2.

[0082] In an example operation, the host 502 may read the device secret 558, hash the identity of the layer 1 553, and perform calculations including:

[0083] K L1 =KDF[Fs(s),Hash(“immutable information”)]

[0084] Where K L1 is an external public key, KDF (e.g., a KDF defined in National Institute of Standards and Technology (NIST) Special Publication 800-108) is a key derivation function (e.g., HMAC-SHA256), and Fs(s) is device secret 558. FDS 552 may be determined by performing the following:

[0085] FDS=HMAC-SHA256[Fs(s),SHA256(“immutable information”)]

[0086] Likewise, memory device 506 may transfer data to host 502 , as indicated by arrow 556 .

[0087] Figure 6 is a block diagram of an example process for determining several parameters according to an embodiment of the present disclosure. Figure 6 is an example of determining parameters including an external public identity, an external certificate, and an external public key, which are then sent to a memory device (e.g., Figure 5 506 ) of the second layer (e.g., second layer 555 ), indicated by arrow 654 . Figure 6 The layer 0 ("L0") 651 in corresponds to Figure 5 Layer 0 551 in FIG. 5 and similarly FDS 652 corresponds to FDS 552 , layer 1 653 corresponds to layer 1 553 , and arrows 654 and 656 correspond to arrows 554 and 556 , respectively.

[0088] The FDS 652 from Layer 0 651 is sent to Layer 1 653 and is used by the asymmetric ID generator 661 to generate a public identifier (“ID lk public ”) 665 and private identifier 667. In the abbreviation “ID lk public ”, “lk” indicates the kth layer (layer 1 in this example), and “public” indicates that the identifier is publicly shared. The public identifier 665 is illustrated as being shared by the arrow extending to the right and outside of layer 1 653 of the host. The generated private identifier 667 is used as a key input into the encryptor 673. The encryptor 673 can be any processor, computing device, etc. for encrypting data.

[0089] The host's layer 1 653 may include an asymmetric key generator 663. In at least one example, a random number generator (RND) 636 may optionally input a random number into the asymmetric key generator 663. The asymmetric key generator 663 may generate a random number with the host, such as Figure 5 The public key (“K Lk public ”)669 (called the external public key) and the private key (“K LK private ”) 671 (referred to as an external private key). The external private key may be linked to the vehicle (e.g., Figure 3The external private key 671 and the result K'675 may be input to an additional encryptor 677 to obtain an output K"679. The output K"679 is transmitted to the second layer ( Figure 5 555) External Certificate ("ID L1 The external certificate 681 may provide the ability to verify and / or authenticate the source of data sent from the device. As an example, data sent from a host may be associated with the identity of the host by verifying the certificate, such as associating Figure 8 Further description. In addition, the external public key (“K L1 public key ”) 683 can be transmitted to Layer 2. Therefore, the host's public identification 665, certificate 681 and external public key 683 can be transmitted to Layer 2 of the memory device.

[0090] Figure 7 is a block diagram of an example process for determining several parameters according to an embodiment of the present disclosure. Figure 7 Description Generating device identification ("ID L2 public") 766, device certificate ("ID L2 Certificate”) 782 and the device public key (“K L2 public key ”) 784 memory device (e.g., Figure 5 Layer 2 755 of the memory device 506 in.

[0091] like Figure 7 As described in the specification, the external public key (“K L1public key ”) 783 is used by the asymmetric ID generator 762 of the memory device to generate a public identifier (“ID lk public ”) 766 and private identifier 768. In the abbreviation “ID lk public ”, “lk” indicates the kth layer (layer 2 in this example), and “public” indicates that the identifier is publicly shared. The public identifier 766 is illustrated as being shared by the arrow extending to the right and outside of layer 2 755. The generated private identifier 768 is used as a key input into the encryptor 774.

[0092] The second layer 755 of the memory device can include an asymmetric key generator 764. In at least one example, the random number generator (RND) 738 can optionally input a random number into the asymmetric key generator 764. The asymmetric key generator 764 can generate a random number associated with the memory device, such as Figure 5 The public key (“K Lk public ”) 770 (referred to as the device public key) and the private key (“K LK private ”) 772 (referred to as the device private key). The device public key 770 may be an input (as “data”) to an encryptor 774. The encryptor 774 may use the input of the device private identifier 768 and the device public key 770 to produce a result K′ 776. The device private key 772 and the result K′ 776 may be input to an additional encryptor 778, resulting in an output K″ 780. The output K″ 780 is transmitted back to the layer 1 ( Figure 5 553) of the device certificate ("ID L2 Device certificate 782 may provide the ability to verify and / or authenticate the source of data sent from the device. As an example, data sent from a memory device may be associated with the identity of the memory device by verifying the certificate, such as associating Figure 8 Further description. In addition, the device public key (“K L2 public key ”) 784 can be transmitted to Layer 1. Therefore, the public identification 766, certificate 782 and device public key 784 of the memory device can be transmitted to Layer 1 of the host.

[0093] In an example, in response to the host receiving a public key from a memory device, the host may use the device public key to encrypt data to be sent to the memory device. Vice versa, the memory device may use an external public key to encrypt data to be sent to the host. In response to the memory device receiving data encrypted using the device public key, the memory device may use its own device private key to decrypt the data. Likewise, in response to the host receiving data encrypted using the external public key, the host may use its own external private key to decrypt the data. Because the device private key is not shared with another device external to the memory device and the external private key is not shared with another device external to the host, data sent to the memory device and the host remains secure.

[0094] Figure 8 is a block diagram of an example process for verifying a certificate according to an embodiment of the present disclosure. Figure 8 In the illustrated example, from a host (e.g., from Figure 5The first layer 553 of the host 502 in the host 502) provides a public key 883, a certificate 881 and a public identification 865. The data of the certificate 881 and the external public key 883 can be used as input to the decryptor 885. The decryptor 885 can be any processor, computing device, etc. for decrypting data. The decryption result of the certificate 881 and the external public key 883 can be used as an input to the secondary decryptor 887 together with the public identification, thereby obtaining an output. As illustrated at 889, the external public key 883 and the output from the decryptor 887 can indicate whether the certificate is verified, thereby obtaining a yes or no 891 as an output. In response to the certificate being verified, the data received from the verified device can be accepted, decrypted and processed. In response to the certificate not being verified, the data received from the verified device can be discarded, removed and / or ignored. In this way, malicious devices that send malicious data can be detected and avoided. As an example, a hacker who sends data to be processed can be identified and the hacker data is not processed.

[0095] Fig. 9 is a block diagram of an example process for verifying a signature according to an embodiment of the present disclosure. In an example where a device is sending data that can be verified in order to avoid subsequent repudiation, a signature can be generated and sent with the data. As an example, a first device can make a request to a second device and once the second device performs the request, the first device can indicate that the first device never made such a request. For example, an anti-repudiation method using a signature can avoid repudiation by the first device and ensure that the second device can perform the requested task without subsequent difficulties.

[0096] Memory device 906 (eg Figure 2 The memory device 206 in the embodiment may send data 990 to the host (e.g. Figure 2 994 . The memory device 906 may generate a signature 996 using the device private key 971. The signature 996 may be transmitted to the host 902. The host 902 may verify the signature using the previously received data 992 and the external public key 969 at 998. In this manner, the signature is generated using the private key and verified using the public key. In this manner, the unique signature of each device may remain private to the device sending the signature while allowing the receiving device to be able to decrypt the signature for verification. This is in contrast to the encryption / decryption of data that is encrypted by the sending device using the public key of the receiving device and decrypted by the receiving device using the private key of the receiver. In at least one example, the device may verify the digital signature by using an internal cryptographic process, such as an elliptic curve digital signature (ECDSA), or a similar process.

[0097] Fig.10 1 is a block diagram of an example memory device 1006 according to an embodiment of the present disclosure. The memory device 1006 may be, for example, a memory device 1006 as previously described in conjunction with Figure 2 Memory device 206 is depicted.

[0098] like Fig.10 As shown in FIG. 1 , the memory device 1006 may include a plurality of memory arrays 1001-1 to 1001-7. The memory arrays 1001-1 to 1001-7 may be combined with the previously described memory arrays 1001-1 to 1001-7. Figure 1 The memory array 101 described above is similar. Fig.10 In the example illustrated in FIG. 1 , memory array 1001-3 is a security array, subset 1011 of memory array 1001-6 includes a security array, and subsets 1013 and 1015 of memory array 1001-7 include security arrays. Subsets 1011, 1013, and 1015 may each include, for example, 4 kilobytes of data. However, embodiments of the present disclosure are not limited to a particular number or arrangement of memory arrays or security arrays.

[0099] like Fig.10 , the memory device 1006 may include a rescue (e.g., recovery) block 1017. The rescue block 1017 may be used as a data source in the event of an error (e.g., mismatch) that may occur during operation of the memory device 1006. The rescue block 1017 may be outside of a region of the memory device 1006 that is addressable by the host.

[0100] like Fig.10 , the memory device 1006 may include a serial peripheral interface (SPI) 1004 and a controller 1008. The memory device 1006 may use the SPI 1004 and the controller 1008 to communicate with a host and the memory arrays 1001-1 to 1001-7, as previously described herein (e.g., in conjunction with Figure 2 ).

[0101] like Fig.10 , the memory device 1006 may include a security register 1019 for managing the security of the memory device 1006. For example, the security register 1019 may configure an application controller and communicate with the application controller externally. In addition, the security register 1019 may be modified by an authentication command.

[0102] like Fig.10 , the memory device 1006 may include a key 1021. For example, the memory device 1006 may include eight different slots to store keys, such as a root key, a DICE-RIOT key, and / or other external session keys.

[0103] like Fig.10 , the memory device 1006 may include an electrically erasable programmable read-only memory (EEPROM) 1023. The EEPROM 1023 may provide a secure non-volatile area available to the host where individual bytes of data may be erased and programmed.

[0104] like Fig.10 , the memory device 1006 may include a counter (e.g., a monotonic counter) 1025. The counter 1025 may be used as an anti-replay mechanism (e.g., a freshness generator) for commands received from and / or sent to the host (e.g., to sign a command set or sequence). For example, the memory device 1006 may include six different monotonic counters, two of which may be used by the memory device 1006 for authenticated commands, and four of which may be used by the host.

[0105] like Fig.10 , the memory device 1006 may include a SHA-256 cryptographic hash function 1027 and / or an HMAC-SHA256 cryptographic hash function 1029. The SHA-256 and / or HMAC-SHA256 cryptographic hash functions 1027 and 1029 may be used by the memory device 1006 to generate cryptographic hashes, such as, for example, the cryptographic hash of block 220 previously described herein, and / or the golden hash for validating data stored in the memory arrays 1001-1 to 1001-7 as previously described herein. In addition, the memory device 1006 may support L0 and L1 of the DICE-RIOT 1031.

[0106] Although specific embodiments have been illustrated and described herein, it will be understood by those of ordinary skill in the art that arrangements calculated to achieve the same results may replace the specific embodiments shown. The present disclosure is intended to cover adaptations or variations of several embodiments of the present disclosure. It should be understood that the above description is provided in an illustrative and non-restrictive manner. Upon reviewing the above description, combinations of the above embodiments and other embodiments not specifically described herein will be apparent to those of ordinary skill in the art. The scope of several embodiments of the present disclosure includes other applications in which the above structures and methods are used. Therefore, the scope of several embodiments of the present disclosure should be determined with reference to the attached claims and the full scope of equivalents to which such claims are assigned.

[0107] In the foregoing detailed description, some features are grouped in a single embodiment for the purpose of simplifying the disclosure. This disclosure method should not be interpreted as reflecting the intention that the disclosed embodiments of the disclosure must use more features than those explicitly stated in each claim. On the contrary, as reflected in the appended claims, the subject matter of the invention lies in less than all the features of a single disclosed embodiment. Therefore, the appended claims are hereby incorporated into the detailed description, wherein each claim stands alone as a separate embodiment.

Claims

1. A device for confirming an electronic control unit of a vehicle, comprising: Memory; and A circuit system configured to: generating a runtime cryptographic hash based on an identification (ID) number of the electronic control unit of the vehicle; comparing the runtime cryptographic hash to a cryptographic hash stored in a portion of the memory; reporting to a host that the electronic control unit is not authenticated in response to the runtime cryptographic hash not being equal to the cryptographic hash; receiving an updated cryptographic hash in response to replacing the electronic control unit with a replacement electronic control unit; generating an updated runtime cryptographic hash based on the ID number of the replacement electronic control unit; comparing the updated runtime cryptographic hash to the updated cryptographic hash; responsive to the updated runtime cryptographic hash not being equal to the updated cryptographic hash, reporting to the host that the replacement electronic control unit is not authenticated; and A message is sent from the host computer to a dealer of the vehicle, a manufacturer of the vehicle, or someone servicing the vehicle in response to the electronic control unit or the replacement electronic control unit being unauthenticated.

2. The apparatus of claim 1, wherein the circuitry is configured to generate the runtime cryptographic hash by reading the ID number stored in the portion of the memory and hashing data using a hash function.

3. The apparatus of claim 1, wherein the portion of the memory is a secure portion of the memory.

4. The apparatus of claim 1, wherein the portion of the memory is defined by one or more registers (214-1, 214-2, 414-1, 414-2).

5. The apparatus of any one of claims 1 to 4, wherein the circuitry is configured to compare the runtime cryptographic hash with a cryptographic hash stored in the portion of the memory in response to detecting that the vehicle is powered on.

6. The apparatus of any one of claims 1 to 4, wherein the circuitry is configured to generate the runtime cryptographic hash based on the ID number in response to detecting that the vehicle is powered on.

7. A method for confirming an electronic control unit of a vehicle, comprising: detecting power-on of the vehicle; generating a runtime cryptographic hash based on an identification (ID) number of the electronic control unit of the vehicle; and comparing the runtime cryptographic hash to a cryptographic hash stored in a portion of a memory in response to detecting the power-on; reporting to a host that the electronic control unit is not authenticated in response to the runtime cryptographic hash not being equal to the cryptographic hash; receiving an updated cryptographic hash in response to replacing the electronic control unit with a replacement electronic control unit; generating an updated runtime cryptographic hash based on the ID number of the replacement electronic control unit; comparing the updated runtime cryptographic hash to the updated cryptographic hash; responsive to the updated runtime cryptographic hash not being equal to the updated cryptographic hash, reporting to the host that the replacement electronic control unit is not authenticated; and A message is sent from the host computer to a dealer of the vehicle, a manufacturer of the vehicle, or someone servicing the vehicle in response to the electronic control unit or the replacement electronic control unit being unauthenticated.

8. The method of claim 7, wherein the method comprises receiving the ID number of the electronic control unit from the electronic control unit via a bus.

9. The method of any one of claims 7 to 8, wherein the method includes displaying a different message in response to the runtime cryptographic hash being not equal to the cryptographic hash, wherein the message classifies the electronic control unit as not authentic.

10. The method of any one of claims 7-8, wherein the method includes displaying a different message in response to the runtime cryptographic hash being unequal to the cryptographic hash, wherein the message classifies the electronic control unit as improperly installed.

11. The method of any one of claims 7-8, wherein the method includes sending different messages identifying the vehicle and the electronic control unit in response to the runtime cryptographic hash and the cryptographic hash not being equal.

12. The method of any one of claims 7-8, wherein the method includes powering off the vehicle in response to the runtime cryptographic hash being unequal to the cryptographic hash.

13. A method for confirming an electronic control unit of a vehicle, comprising: receiving an updated cryptographic hash in response to replacing the electronic control unit on the vehicle with a replacement electronic control unit; generating an updated runtime cryptographic hash based on an identification (ID) number of the replacement electronic control unit of the vehicle; comparing the updated runtime cryptographic hash to the updated cryptographic hash; reporting to a host that the replacement electronic control unit is not authenticated in response to the updated runtime cryptographic hash not being equal to the updated cryptographic hash; and A message is sent from the host computer to a dealer of the vehicle, a manufacturer of the vehicle, or someone servicing the vehicle in response to the electronic control unit or the replacement electronic control unit being unauthenticated.

14. The method of claim 13, wherein the method includes generating the updated runtime cryptographic hash by reading the ID of the replacement electronic control unit and using a hash function, wherein the hash function is a SHA-256 cryptographic hash function.

15. The method of claim 13, wherein the method includes comparing a previous runtime cryptographic hash to a previous cryptographic hash prior to receiving the updated cryptographic hash.

16. The method of claim 15, wherein the previous runtime cryptographic hash is based on an ID number of the electronic control unit.

17. The method of claim 13, wherein the method includes removing a message that the electronic control unit is invalid in response to the updated runtime cryptographic hash being equal to the updated cryptographic hash.

18. A system for validating an electronic control unit of a vehicle, comprising: said electronic control unit; Memory; and A circuit system configured to: receiving a cryptographic hash in response to installing the electronic control unit in the system; generating a runtime cryptographic hash by reading data stored in a portion of the memory and hashing the data using a hash function; comparing the runtime cryptographic hash to the received cryptographic hash; validating the electronic control unit in response to the runtime cryptographic hash being equal to the received cryptographic hash; reporting to a host that the electronic control unit is not authenticated in response to the runtime cryptographic hash and the received cryptographic hash not being equal; receiving an updated cryptographic hash in response to replacing the electronic control unit with a replacement electronic control unit; generating an updated runtime cryptographic hash based on the ID number of the replacement electronic control unit; comparing the updated runtime cryptographic hash to the updated cryptographic hash; responsive to the updated runtime cryptographic hash not being equal to the updated cryptographic hash, reporting to the host that the replacement electronic control unit is not authenticated; and A message is sent from the host computer to a dealer of the system, a manufacturer of the system, or someone servicing the system in response to the electronic control unit or the replacement electronic control unit being unauthenticated.

19. The system of claim 18, wherein the data stored in the portion of the memory includes an identification (ID) number of the electronic control unit.

Citation Information

Patent Citations

  • Method and system for vehicle subassembly authentication of a component

    US20040003233A1

  • Method and system for verifying software platform of vehicle

    US20110138188A1