Symmetric key attestation for removable circuitry
By using the secure in-vehicle communication protocol and message authentication code of the automotive open system architecture in the computing device, the certification and verification of the symmetric key is realized, which solves the problem of insufficient PCIe backplane communication protection and ensures secure communication and symmetric encryption between computing devices. Key security.
Patent Information
- Application Number
- CN202311361388.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2023-10-19
- Publication Date
- 2024-10-01
AI Technical Summary
Existing technology has limited protection when it comes to protecting PCIe backplane communications, and unauthorized boxes can easily expose PCIe links, resulting in insecure access to communications, especially in field-replaceable component environments.
By using microcontroller unit circuits, processing circuits, and backplane buses in computing devices, secure in-vehicle communication protocols and message authentication codes based on automotive open system architecture enable the certification and verification of symmetric keys, limit initial insecure communications, and generate allowable List and enable secure communications, blocking access from unauthenticated circuits.
Effectively protects PCIe backplane communications, prevents unauthorized access, ensures secure data transmission between computing devices, and enhances security for field-replaceable components.
Smart Images

Figure CN118740386A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to systems and methods for symmetric key attestation of removable circuits. Background Art
[0002] Inside the electronic unit, data is sent from one box to another via a backplane bus. Since the boxes are expected to be replaceable by the end consumer, the interface between the boxes and the backplane is easily accessible. Peripheral Component Interconnect Express (PCIe) is a backplane bus that is commonly used to connect the boxes. PCIe has limited protection in terms of detecting, blocking or auditing unauthorized boxes. Limited protection is problematic for field replaceable components because unauthorized boxes expose the PCIe link, thereby providing access to communications on the PCIe backplane.
[0003] Accordingly, those skilled in the art continue to conduct research and development efforts in the area of symmetric-key authentication of removable circuits. Summary of the invention
[0004] A device is provided herein. The device includes a first computing device having a microcontroller unit circuit, a plurality of processing circuits and a backplane bus. The first computing device can be coupled to a local area network bus. The first computing device includes a first microcontroller unit circuit, a plurality of first processing circuits and a first backplane bus. Initial unsecured communication through the first backplane bus is restricted. The first microcontroller unit circuit is permanently connected to the first computing device and is operable to authenticate the plurality of first processing circuits with a plurality of first processor certificates through the local area network bus based on a secure vehicle communication protocol, a symmetric key and a first message authentication code of an automotive open system architecture. The plurality of first processing circuits are removably coupled to the first computing device and are operable to: reply to a corresponding one of the plurality of first processor certificates through the local area network bus; and verify the first microcontroller unit circuit based on the secure vehicle communication protocol, the symmetric key and the first message authentication code received from the first microcontroller unit circuit. Based on the authentication of the plurality of first processing circuits and the verification of the first microcontroller unit circuit, secure communication through the first backplane bus is enabled among the plurality of first processing circuits.
[0005] In one or more embodiments of the apparatus, a first computing device may be coupled to the physical communication link and further includes a first switch circuit and a first serial management bus. The first microcontroller unit circuit is further operable to: communicate with the first switch circuit via the first serial management bus; and generate a first allow list based on the authentication of the plurality of first processing circuits. The first switch circuit is permanently coupled to the first computing device and is operable to: convert data between the first backplane bus and the physical communication link; and enable secure communication to the first backplane bus based on the first allow list.
[0006] In one or more embodiments of the apparatus, the first computing device further includes a first memory circuit and a first memory management bus. The first microcontroller unit circuit is further operable to: authenticate the first memory circuit with a first memory certificate via the first memory management bus based on the secure vehicle communication protocol, the symmetric key, and the first message authentication code; and generate a first allow list based on the authentication of the first memory circuit and the authentication of the plurality of first processing circuits. The first memory circuit is removably coupled to the first computing device and is operable to: reply to the first memory certificate via the first memory management bus; and enable secure communication between the plurality of first processing circuits and the first memory circuit via the first backplane bus based on the first allow list.
[0007] In one or more embodiments of the apparatus, the first computing device further includes a first unauthenticated circuit; the first microcontroller unit circuit is further operable to: attempt to authenticate the first unauthenticated circuit based on the secure vehicle communication protocol, the symmetric key and the first message authentication code; and in response to failure to authenticate the first unauthenticated circuit, generate a first rejection list to isolate the first unauthenticated circuit. The plurality of first processing circuits are further operable to: block communication to the first unauthenticated circuit on the first backplane bus based on the first rejection list.
[0008] In one or more embodiments of the apparatus, the symmetric key is updated using a secure hardware extended key update protocol.
[0009] In one or more embodiments of the apparatus, the first computing device further includes a non-compliant circuit that is non-compliant with the secure vehicle communication protocol. The electronic control unit identification value and the unlocking electronic control unit key are programmed into the non-compliant circuit for use during authentication.
[0010] In one or more embodiments of the apparatus, the first microcontroller unit circuit is further operable to: allocate additional key slots to remember one or more previously installed circuits in the first computing device; and clear one or more keys of the one or more previously installed circuits based on the elapse of time since they were last installed in the first computing device.
[0011] In one or more embodiments of the apparatus, the local area network bus is one or more of an Ethernet bus, an inter-integrated circuit bus, a serial peripheral interface bus, and a universal asynchronous receiver-transmitter bus. The first backplane bus is a peripheral component interconnect express bus. The first microcontroller unit circuit is further operable to authenticate the plurality of first processing circuits based on one or more of: (i) a power-on condition, (ii) detecting that one or more of the plurality of first processing circuits are newly installed in the first computing device, and (iii) periodically.
[0012] In one or more embodiments, the apparatus further includes a second computing device coupled to the local area network bus. The second computing device includes a second microcontroller unit circuit, a plurality of second processing circuits, and a second backplane bus. Initial unsecured communications through the second backplane bus are restricted. The second microcontroller unit circuit is permanently connected to the second computing device and is operable to: authenticate the plurality of second processing circuits with a plurality of second processor certificates through the local area network bus based on the secure vehicle communication protocol, the symmetric key, and the second message authentication code; and generate a second allowed list based on the authentication of the plurality of second processing circuits. The plurality of second processing circuits are removably coupled to the second microcontroller unit circuit and are operable to: reply to a corresponding one of the plurality of second processor certificates through the local area network bus; and verify the second microcontroller unit circuit based on the secure vehicle communication protocol, the symmetric key, and the second message authentication code received from the second microcontroller unit circuit. Based on the authentication of the plurality of second processing circuits and the verification of the second microcontroller unit circuit, secure communications through the second backplane bus are enabled among the plurality of second processing circuits.
[0013] A method for symmetric key attestation of a removable circuit is provided herein. The method includes limiting initial unsecured communications through a first backplane bus of a first computing device. The first computing device is coupleable to a local area network bus and includes a first microcontroller unit circuit, a plurality of first processing circuits, and a first backplane bus. The first microcontroller unit circuit is permanently connected to the first computing device. The plurality of first processing circuits are removably coupled to the first computing device. The method includes using the first microcontroller unit circuit to authenticate the plurality of first processing circuits with a plurality of first processor attestations through the local area network bus based on a secure vehicle communication protocol of an automotive open system architecture, a symmetric key, and a first message authentication code; replying with a plurality of first processing circuits through the local area network bus to a corresponding one of the plurality of first processor attestations; using the plurality of first processing circuits to verify the first microcontroller unit circuit based on the secure vehicle communication protocol, the symmetric key, and the first message authentication code received from the first microcontroller unit circuit; and enabling secure communications through the first backplane bus among the plurality of first processing circuits based on the authentication of the plurality of first processing circuits and the verification of the first microcontroller unit circuit.
[0014] In one or more embodiments, the method includes communicating with a first switch circuit of a first computing device using a first microcontroller unit circuit; generating a first allow list based on authentication of the plurality of first processing circuits; converting data between a first backplane bus and a physical communication link, wherein the first computing device can be coupled to the physical communication link; and enabling secure communications between the first switch circuit and the first backplane bus based on the first allow list.
[0015] In one or more embodiments, the method includes authenticating, using a first microcontroller unit circuit, a first memory circuit of a first computing device using a first memory certificate based on a secure vehicle communication protocol, a symmetric key, and a first message authentication code through a first memory management bus of the first computing device. The first memory circuit is removably coupled to the first computing device. The method further includes replying, using the first memory circuit through the first memory management bus, the first memory certificate; generating a first allow list based on the authentication of the first memory circuit and the authentication of the plurality of first processing circuits; and enabling communication on a first backplane bus between the plurality of first processing circuits and the first memory circuit based on the first allow list.
[0016] In one or more embodiments, the method includes attempting, using a first microcontroller unit circuit, to authenticate a first unauthenticated circuit of a first computing device based on a secure in-vehicle communication protocol, a symmetric key, and a first message authentication code; in response to a failure to authenticate the first unauthenticated circuit, generating a first deny list using the first microcontroller unit circuit to isolate the first unauthenticated circuit; and based on the first deny list, blocking communication to the first unauthenticated circuit on a first backplane bus using a plurality of first processing circuits.
[0017] In one or more embodiments, the method includes updating the symmetric key using a secure hardware extended key update protocol. The symmetric key is regionalized to accommodate multiple local regions.
[0018] In one or more embodiments of the method, the first computing device further includes a non-compliant circuit that is non-compliant with the secure vehicle communication protocol. The electronic control unit identification value and the unlocking electronic control unit key are programmed into the non-compliant circuit for use during authentication.
[0019] In one or more embodiments, the method includes allocating additional key slots in the first microcontroller unit circuit to remember one or more previously installed circuits in the first computing device; and clearing one or more keys for the one or more previously installed circuits based on the elapse of time since they were last installed in the first computing device.
[0020] A system is provided herein. The system includes a first computing device and a second computing device. The first computing device is coupled to a local area network bus and includes a first microcontroller unit circuit, a plurality of first processing circuits, and a first backplane bus. The second computing device is coupled to the local area network bus and includes a second microcontroller unit circuit, a plurality of second processing circuits, and a second backplane bus. The first microcontroller unit circuit is operable to authenticate a plurality of first processing circuits with a plurality of first processor certificates through the local area network bus based on a secure vehicle communication protocol of an automotive open system architecture, a symmetric key, and a first message authentication code. The plurality of first processing circuits are operable to reply to a corresponding one of the plurality of first processor certificates through the local area network bus. Based on the authentication of the plurality of first processing circuits and the authentication of the first microcontroller unit circuit, secure communication through the first backplane bus is enabled among the plurality of first processing circuits. The second microcontroller unit circuit is operable to authenticate a plurality of second processing circuits with a plurality of second processor certificates through the local area network bus based on a secure vehicle communication protocol, a symmetric key, and a second message authentication code. The plurality of second processing circuits are operable to reply to a corresponding one of the plurality of second processor certificates through the local area network bus. Based on the authentication of the plurality of second processing circuits and the authentication of the second microcontroller unit circuit, secure communications among the plurality of second processing circuits over the second backplane bus are enabled.
[0021] In one or more embodiments of the system, a first central computer is coupled to the physical communication link and further includes a first switch circuit and a first serial management bus. The first microcontroller unit circuit is further operable to: communicate with the first switch circuit via the first serial management bus; and generate a first allow list based on the authentication of multiple first processing circuits. The first switch circuit is operable to: convert data between the first backplane bus and the physical communication link; and enable secure communication to the first backplane bus based on the first allow list. The second computing device is coupled to the physical communication link and further includes a second switch circuit and a second serial management bus. The second microcontroller unit circuit is further operable to: communicate with the second switch circuit via the second serial management bus; and generate a second allow list based on the authentication of multiple second processing circuits. The second switch circuit is operable to: convert data between the second backplane bus and the physical communication link; and enable secure communication to the second backplane bus based on the second allow list.
[0022] In one or more embodiments of the system, the first computing device is further operable to authenticate the second computing device with the first inter-computing device attestation over the physical communication link. The second computing device is further operable to authenticate the first computing device with the second inter-computing device attestation over the physical communication link. Based on the authentication of the first computing device and the authentication of the second computing device, the first switch circuit is enabled to communicate with the second switch circuit over the physical communication link.
[0023] In one or more embodiments, the system includes a vehicle housing a first computing device and a second computing device.
[0024] The present invention also relates to the following technical solutions.
[0025] Solution 1. A device comprising:
[0026] A first computing device, which may be coupled to a local area network bus and includes a first microcontroller unit circuit, a plurality of first processing circuits, and a first backplane bus, wherein:
[0027] Initial unsecured communications over the first backplane bus are restricted;
[0028] The first microcontroller unit circuit is permanently connected to the first computing device and is operable to authenticate the plurality of first processing circuits with a plurality of first processor certifications over a local area network bus based on a secure in-vehicle communication protocol of an automotive open system architecture, a symmetric key, and a first message authentication code;
[0029] A plurality of first processing circuits are removably coupled to the first computing device and are operable to:
[0030] replying via the local area network bus to a corresponding one of the plurality of first processor credentials; and
[0031] authenticating the first microcontroller unit circuit based on the secure in-vehicle communications protocol, the symmetric key, and the first message authentication code received from the first microcontroller unit circuit; and
[0032] Based on the authentication of the plurality of first processing circuits and the verification of the first microcontroller unit circuit, secure communications among the plurality of first processing circuits over the first backplane bus are enabled.
[0033] Scheme 2. The device according to Scheme 1, wherein:
[0034] The first computing device may be coupled to the physical communication link and further include a first switch circuit and a first serial management bus;
[0035] The first microcontroller unit circuit is further operable to:
[0036] communicating with the first switch circuit via a first serial management bus; and
[0037] generating a first allowed list based on authentication of the plurality of first processing circuits; and
[0038] The first switching circuit is permanently coupled to the first computing device and is operable to:
[0039] converting data between the first backplane bus and the physical communication link; and
[0040] Secure communications to the first backplane bus are enabled based on the first allow list.
[0041] Scheme 3. The device according to Scheme 1, wherein:
[0042] The first computing device further includes a first memory circuit and a first memory management bus;
[0043] The first microcontroller unit circuit is further operable to:
[0044] authenticating the first memory circuit with a first memory certificate via the first memory management bus based on the secure in-vehicle communication protocol, the symmetric key, and the first message authentication code; and
[0045] generating a first allowed list based on the authentication of the first memory circuit and the authentication of the plurality of first processing circuits; and
[0046] The first memory circuit is removably coupled to the first computing device and is operable to:
[0047] replying the first memory certificate via the first memory management bus; and
[0048] Based on the first allow list, secure communications between the plurality of first processing circuits and the first memory circuit over the first backplane bus are enabled.
[0049] Scheme 4. The device according to Scheme 1, wherein:
[0050] The first computing device further includes a first unauthenticated circuit;
[0051] The first microcontroller unit circuit is further operable to:
[0052] Attempting to authenticate the first unauthenticated circuit based on the secure vehicle communication protocol, the symmetric key, and the first message authentication code; and
[0053] In response to a failure to authenticate the first unauthenticated circuit, generating a first reject list to isolate the first unauthenticated circuit; and
[0054] The plurality of first processing circuits are further operable to:
[0055] Based on the first deny list, communications to the first unauthenticated circuit on the first backplane bus are blocked.
[0056] Scheme 5. The device according to Scheme 1, wherein:
[0057] Symmetric keys are updated using a secure hardware-extended key update protocol.
[0058] Scheme 6. The device according to Scheme 1, wherein:
[0059] The first computing device further includes a non-compliant circuit that is non-compliant with the secure in-vehicle communication protocol; and the electronic control unit identification value and the unlocking electronic control unit key are programmed into the non-compliant circuit for use during authentication.
[0060] Scheme 7. The device according to Scheme 1, wherein:
[0061] The first microcontroller unit circuit is further operable to:
[0062] allocating additional key slots to remember one or more previously installed circuits in the first computing device; and
[0063] One or more keys of one or more previously installed circuits are cleared based on an elapsed time since last being installed in the first computing device.
[0064] Embodiment 8. The device according to embodiment 1, wherein:
[0065] The LAN bus is one or more of an Ethernet bus, an inter-integrated circuit bus, a serial peripheral interface bus, and a universal asynchronous receiver-transmitter bus;
[0066] The first backplane bus is a Peripheral Component Interconnect Express bus; and
[0067] The first microcontroller unit circuit is further operable to authenticate the plurality of first processing circuits based on one or more of: (i) a power-on condition, (ii) detecting that one or more of the plurality of first processing circuits are newly installed in the first computing device, and (iii) periodically.
[0068] Solution 9. The device according to solution 1 further comprises:
[0069] a second computing device coupled to the local area network bus and comprising a second microcontroller unit circuit, a plurality of second processing circuits, and a second backplane bus, wherein
[0070] Initial unsecured communications over the second backplane bus are restricted;
[0071] The second microcontroller unit circuit is permanently connected to the second computing device and is operable to:
[0072] authenticating the plurality of second processing circuits with a plurality of second processor certificates via the local area network bus based on the secure vehicle communication protocol, the symmetric key, and a second message authentication code; and
[0073] generating a second allowed list based on authentication of the plurality of second processing circuits;
[0074] A plurality of second processing circuits are removably coupled to the second microcontroller unit circuit and are operable to:
[0075] replying via the local area network bus to a corresponding one of the plurality of second processor credentials; and
[0076] authenticating the second microcontroller unit circuit based on the secure in-vehicle communications protocol, the symmetric key, and the second message authentication code received from the second microcontroller unit circuit; and
[0077] Based on the authentication of the plurality of second processing circuits and the verification of the second microcontroller unit circuitry, secure communications among the plurality of second processing circuits over the second backplane bus are enabled.
[0078] Solution 10. A method for symmetric key attestation of a removable circuit, comprising: restricting initial unsecured communications through a first backplane bus of a first computing device, wherein:
[0079] A first computing device may be coupled to the local area network bus and includes a first microcontroller unit circuit, a plurality of first processing circuits, and a first backplane bus;
[0080] The first microcontroller unit circuit is permanently connected to the first computing device; and
[0081] a plurality of first processing circuits removably coupled to the first computing device;
[0082] Authenticating the plurality of first processing circuits with a plurality of first processor certificates via a local area network bus using the first microcontroller unit circuit, based on a secure in-vehicle communication protocol of an automotive open system architecture, a symmetric key and a first message authentication code;
[0083] replying, using the plurality of first processing circuits, via the local area network bus, to a corresponding one of the plurality of first processor certificates;
[0084] authenticating, using the plurality of first processing circuits, the first microcontroller unit circuit based on the secure vehicle communication protocol, the symmetric key, and the first message authentication code received from the first microcontroller unit circuit; and
[0085] Based on the authentication of the plurality of first processing circuits and the verification of the first microcontroller unit circuit, secure communications over a first backplane bus are enabled among the plurality of first processing circuits.
[0086] Scheme 11. The method according to Scheme 10 further comprises:
[0087] Communicating with a first switch circuit of a first computing device using a first microcontroller unit circuit; generating a first allow list based on authentication of the plurality of first processing circuits;
[0088] converting data between the first backplane bus and a physical communication link, wherein the first computing device is coupleable to the physical communication link; and
[0089] Secure communications between the first switch circuit and the first backplane bus are enabled based on the first allow list.
[0090] Scheme 12. The method according to Scheme 10, further comprising:
[0091] authenticating, using the first microcontroller unit circuit, a first memory circuit of the first computing device using a first memory attestation over a first memory management bus of the first computing device based on a secure in-vehicle communication protocol, a symmetric key, and a first message authentication code, wherein the first memory circuit is removably coupled to the first computing device;
[0092] Replying a first memory certificate with the first memory circuit via the first memory management bus; generating a first allowed list based on the authentication of the first memory circuit and the authentication of the plurality of first processing circuits; and
[0093] Communications between the plurality of first processing circuits and the first memory circuit on the first backplane bus are enabled based on the first allow list.
[0094] Solution 13. The method according to solution 10 further comprises:
[0095] Attempting, using the first microcontroller unit circuit, to authenticate the first unauthenticated circuit of the first computing device based on the secure vehicle communication protocol, the symmetric key, and the first message authentication code;
[0096] In response to a failure to authenticate the first unauthenticated circuit, generating, using the first microcontroller unit circuit, a first reject list to isolate the first unauthenticated circuit; and
[0097] Based on the first deny list, communications to the first unauthenticated circuit on the first backplane bus are blocked using the plurality of first processing circuits.
[0098] Scheme 14. The method according to Scheme 10 further comprises:
[0099] A symmetric key is updated using a secure hardware extended key update protocol, where the symmetric key is regionalized to accommodate multiple local zones.
[0100] Scheme 15. The method according to Scheme 10, wherein:
[0101] The first computing device further includes a non-compliant circuit that is non-compliant with the secure in-vehicle communication protocol; and
[0102] The ECU identification value and unlock ECU key are programmed into the non-compliant circuit for use during authentication.
[0103] Scheme 16. The method according to Scheme 10, further comprising:
[0104] allocating additional key slots in the first microcontroller unit circuit to remember one or more previously installed circuits in the first computing device; and
[0105] One or more keys for one or more previously installed circuits are cleared based on an elapsed time since last being installed in the first computing device.
[0106] Solution 17. A system comprising:
[0107] a first computing device coupled to the local area network bus and comprising a first microcontroller unit circuit, a plurality of first processing circuits, and a first backplane bus; and
[0108] a second computing device coupled to the local area network bus and comprising a second microcontroller unit circuit, a plurality of second processing circuits, and a second backplane bus, wherein:
[0109] The first microcontroller unit circuit is operable to authenticate the plurality of first processing circuits with the plurality of first processor certificates via the local area network bus based on a secure in-vehicle communication protocol of an automotive open system architecture, a symmetric key, and a first message authentication code;
[0110] The plurality of first processing circuits are operable to reply to a corresponding one of the plurality of first processor credentials via the local area network bus;
[0111] enabling secure communications among the plurality of first processing circuits over the first backplane bus based on authentication of the plurality of first processing circuits and authentication of the first microcontroller unit circuit;
[0112] The second microcontroller unit circuit is operable to authenticate the plurality of second processing circuits with the plurality of second processor certificates via the local area network bus based on the secure in-vehicle communication protocol, the symmetric key, and the second message authentication code;
[0113] The plurality of second processing circuits are operable to reply to a corresponding one of the plurality of second processor credentials via the local area network bus; and
[0114] Based on the authentication of the plurality of second processing circuits and the authentication of the second microcontroller unit circuit, secure communications among the plurality of second processing circuits over the second backplane bus are enabled.
[0115] Embodiment 18. The system according to embodiment 17, wherein:
[0116] A first central computer is coupled to the physical communication link and further includes a first switching circuit and a first serial management bus;
[0117] The first microcontroller unit circuit is further operable to:
[0118] communicating with the first switch circuit via a first serial management bus; and
[0119] generating a first allowed list based on authentication of the plurality of first processing circuits;
[0120] The first switching circuit is operable to:
[0121] converting data between the first backplane bus and the physical communication link; and
[0122] enabling secure communications to the first backplane bus based on the first allow list;
[0123] a second computing device coupled to the physical communication link and further comprising a second switch circuit and a second serial management bus;
[0124] The second microcontroller unit circuit is further operable to:
[0125] communicating with the second switch circuit via a second serial management bus; and
[0126] generating a second allowed list based on authentication of the plurality of second processing circuits; and
[0127] The second switching circuit is operable to:
[0128] converting data between the second backplane bus and the physical communication link; and
[0129] Secure communications to the second backplane bus are enabled based on the second allow list.
[0130] Embodiment 19. The system according to embodiment 18, wherein:
[0131] The first computing device is further operable to authenticate the second computing device with the first inter-computing device attestation via the physical communication link;
[0132] The second computing device is further operable to authenticate the first computing device using the second inter-computing device attestation over the physical communication link; and
[0133] Based on the authentication of the first computing device and the authentication of the second computing device, the first switching circuit is enabled to communicate with the second switching circuit over the physical communication link.
[0134] Option 20. The system according to Option 18 further includes a vehicle that accommodates the first computing device and the second computing device.
[0135] The above features and advantages and other features and advantages of the present disclosure are readily apparent from the following detailed description of the best modes for carrying out the disclosure when taken in connection with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0136] Figure 1 is a schematic plan view of a vehicle surrounding environment according to one or more exemplary embodiments.
[0137] Figure 2 is a schematic block diagram of a system having multiple computing devices according to one or more exemplary embodiments.
[0138] Figure 3 is a schematic block diagram of another computing device according to one or more exemplary embodiments.
[0139] Figure 4 is a schematic block diagram of a demonstration according to one or more exemplary embodiments.
[0140] Figure 5 is a schematic diagram of a technique for key derivation according to one or more exemplary embodiments.
[0141] Figure 6 is a schematic diagram of a technique for key transmission according to one or more exemplary embodiments.
[0142] Figure 7 is a schematic block diagram of a technique for new peripheral device processing according to one or more exemplary embodiments.
[0143] Figure 8 is a flow chart of a method for authentication within a computing device according to one or more exemplary embodiments.
[0144] Fig. 9 is a flow chart of a method for completing authentication within a computing device according to one or more exemplary embodiments.
[0145] Fig.10 is a flow chart of a method for authenticating within another computing device according to one or more exemplary embodiments.
[0146] Fig.11 is a flow chart of a method for completing authentication within another computing device according to one or more exemplary embodiments.
[0147] Fig.12 is a flow chart of a method for authentication between computing devices according to one or more exemplary embodiments. DETAILED DESCRIPTION
[0148] Embodiments of the present disclosure generally provide systems, devices and / or methods for symmetric key certification of removable circuits. Removable circuits can be used in software-defined vehicles. By using symmetric key certification and corresponding key schedules with the secure on-board communication (SecOC) protocol authentication mechanism of the automotive open system architecture (AUTOSAR), large-scale authentication of circuits attached to the rapid peripheral component interconnect (PCIe) backplane for automotive applications is achieved. In addition, the technology utilizes existing device provisioning, registration, and secure hardware extension (SHE) key update mechanisms. Circuits that do not comply with the SecOC protocol are supported by a SecOC abstraction layer (SAL) located between compliant circuits and non-compliant circuits that comply with the SecOC protocol.
[0149] refer to Figure 1 , a schematic plan view of an example context of an environment 70 around a vehicle 80 is shown, according to one or more exemplary embodiments. The vehicle 80 has a system 90. The system 90 generally includes one or more electronic control units 100a-100n (two are shown), a local area network bus 102, and a physical communication link 104.
[0150] The vehicle 80 implements a gas powered vehicle, an electric vehicle, a hybrid vehicle, or a plug-in hybrid vehicle. In various embodiments, the vehicle 80 may include, but is not limited to, a passenger car, a truck, an automobile, a gas powered vehicle, an electric powered vehicle, a hybrid vehicle, a motorcycle, a boat, and / or an airplane. Other types of vehicles 80 may be implemented to meet the design criteria of a particular application. The vehicle 80 houses (or carries) the system 90 and the components within the system 90.
[0151] System 90 implements an electrical system in a software-defined vehicle. System 90 includes electronic control units 100a-100n, sensors, actuators, communication circuits, etc. System 90 has field-replaceable components (e.g., circuits, boxes, and / or devices). The renter and / or owner of vehicle 80 can easily access the field-replaceable components.
[0152] Each electronic control unit (ECU) 100a-100n implements one or more digital computing circuits within the device. Each electronic control unit 100a-100n has a corresponding housing that surrounds the digital computing circuit. The digital computing circuits within a single ECU 100a-100n can exchange data with each other across an internal backplane bus. Some digital computing circuits can transmit data among the electronic control units 100a-100n via a local area network bus 102 and a physical communication link 104. The digital computing circuits can be implemented with hardware, software executed on hardware, or a combination of the two.
[0153] The LAN bus 102 implements a computer network. In various embodiments, the LAN bus 102 may be an Ethernet bus, an inter-integrated circuit (I 2 The LAN bus 102 may be a serial peripheral interface (SPI) bus, and / or a universal asynchronous receiver / transmitter (UART) bus. The LAN bus 102 may be operable to facilitate device authentication. The LAN bus 102 may be used by the ECUs 100a-100n as an out-of-band communication path (or channel) for authenticating challenge messages and authenticated response messages.
[0154] The physical communication link 104 implements a serial digital bus. In various embodiments, the physical communication link 104 can be implemented as a Peripheral Component Interconnect Express (PCIe) bus. Other communication buses can be implemented to meet the design criteria of a specific application. For some applications, the physical communication link 104 is operable to transmit data internally within a separate electronic control unit 100a-100n. For other applications, the physical communication link 104 is operable to transmit data between ECUs 100a-100n. Proof challenge messages and response messages that authenticate the circuits attached to the physical communication link 104 pass through the physical communication link 104.
[0155] refer to Figure 2 , a schematic block diagram of an example implementation of a system 90 with multiple computing devices is shown according to one or more exemplary embodiments. In this example, the system 90 includes a local area network bus 102, a physical communication link 104, a plurality of (two are shown) computing devices (CDs) 110a-110b, and a service tool / over-the-air (OTA) port 112. In various embodiments, the computing devices 110a-110b are housed in a common ECU (e.g., Figure 1 In other embodiments, the computing devices 110a-110b are housed in different ECUs (e.g., Figure 1 The computing devices 110a-110b may be coupled to the LAN bus 102.
[0156] The first computing device 110a includes a first microcontroller unit circuit (MCU) 120a, one or more first processing circuits 122a (three are shown), one or more first switch circuits 124a (one is shown), one or more first memory circuits 126a (one is shown), a first backplane 128a, a first backplane bus 130a, one or more first serial management buses 132a (one is shown), and one or more first memory management buses 134a (one is shown). The first microcontroller unit circuit 120a and the first processing circuit 122a are connected to the local area network bus 102. The first processing circuit 122a, the first switch circuit 124a, and the first memory circuit 126a are connected to the first backplane bus 130a. The first microcontroller unit 120a and the first switch circuit 124a are connected to the first serial management bus 132a. The first microcontroller unit circuit 120a and the first memory circuit 126a are connected to the first memory management bus 134a. The first SecOC abstraction layer (SAL) 140a is provided by the first microcontroller unit circuit 120a.
[0157] The second local computing device 110b includes a second microcontroller unit circuit (MCU) 120b, one or more second processing circuits 122b (three are shown), one or more second switch circuits 124b (one is shown), one or more second memory circuits 126b (one is shown), a second backplane 128b, a second backplane bus 130b, one or more second serial management buses 132b (one is shown), and one or more second memory management buses 134b (one is shown). The second microcontroller unit circuit 120b and the second processing circuit 122b are connected to the local area network bus 102. The second processing circuit 122b, the second switch circuit 124b and the second memory circuit 126b are connected to the second backplane bus 130b. The second microcontroller unit circuit 120b and the second switch circuit 124b are connected to the second serial management bus 132b. The second microcontroller unit circuit 120b and the second memory circuit 126b are connected to the second memory management bus 134b. The second SecOC abstraction layer (SAL) 140b is provided by the second microcontroller unit circuit 120b.
[0158] The service tool / air port 112 implements wired nodes and / or wireless nodes that can be connected to the LAN bus 102 (e.g., connected to the LAN bus 102 via the first computing device 110a, as shown). The service tool / air port 112 is operable to enable programming for updating firmware, software, and / or encryption keys in circuits within the vehicle 80.
[0159] The first microcontroller unit circuit 120a and the second microcontroller unit circuit 120b implement microcontrollers. The microcontroller unit circuits 120a-120b are permanently connected to the corresponding computing devices 110a-110b. In various embodiments, the permanent connection is achieved by welding, gluing and / or riveting the microcontroller unit circuits 120a-120b to the corresponding base plates 128a-128b. The microcontroller unit circuits 120a-120b are designated as trust anchors (TAs) 136 and are operable to provide general board management controls.
[0160] The first microcontroller unit circuit 120a and the second microcontroller unit circuit 120b each include processing resources, tangible non-temporary memory and temporary memory. For example, the first microcontroller unit circuit 120a and the second microcontroller unit circuit 120b may include an appropriate amount of random access memory, read-only memory, flash memory and other types of electrically erasable programmable read-only memory, as well as accompanying hardware in the form of high-speed clocks or timers, analog-to-digital and digital-to-analog circuits, input / output circuits and devices, and appropriate signal conditioning and buffering circuits.
[0161] Computer readable and executable instructions embodying the present method may be recorded (or stored) in a memory and executed as described herein. The executable instructions may be a series of instructions for running an application on the first microcontroller unit circuit 120a and / or the second microcontroller unit circuit 120b (in the foreground or background). The first microcontroller unit circuit 120a and / or the second microcontroller unit circuit 120b may receive commands and information in the form of one or more input signals from various controls and / or components in the vehicle 80 and transmit instructions to other electronic components.
[0162] The first processing circuit 122a and the second processing circuit 122b implement replaceable devices within the respective computing devices 110a-110b. The first processing circuit 122a and the second processing circuit 122b are operable to communicate on the local area network bus 102 and the corresponding memory management bus 134a-134b through connectors on the corresponding backplane 128a-128b. The processing circuits 122a-122b are operable to provide the main functions of the computing devices 110a-110b.
[0163] The first processing circuit 122a and the second processing circuit 122b each include processing resources, tangible non-transitory memory, and temporary memory. For example, the first processing circuit 122a and the second processing circuit 122b may include an appropriate amount of random access memory, read-only memory, flash memory, and other types of electrically erasable programmable read-only memory, as well as accompanying hardware in the form of high-speed clocks or timers, analog-to-digital and digital-to-analog circuits, and input / output circuits and devices, and appropriate signal conditioning and buffering circuits.
[0164] Computer-readable and executable instructions embodying the present method may be recorded (or stored) in a memory and executed as described herein. The executable instructions may be a series of instructions for running an application on the first processing circuit 122a and / or the second processing circuit 122b (in the foreground or background). The first processing circuit 122a and / or the second processing circuit 122b may receive commands and information in the form of one or more input signals from various controls and / or components in the vehicle 80 and transmit instructions to other electronic components.
[0165] The first switch circuit 124a and the second switch circuit 124b implement a bus switch circuit. In various embodiments, the switch circuits 124a-124b may implement a fast peripheral component interconnect switch. The first switch circuit 124a and the second switch circuit 124b are permanently connected to the corresponding computing devices 110a-110b. In various embodiments, the permanent connection is achieved by welding, gluing and / or riveting the switch circuits 124a-124b to the corresponding base plates 128a-128b.
[0166] The first switch circuit 124a and the second switch circuit 124b are operable to route (and, where appropriate, convert) bus traffic on the backplane bus 130a-130b between the processing circuits 122a-122b and the memory circuits 126a-126b, respectively. The first switch circuit 124a and the second switch circuit 124b are also operable to convert and route bus traffic between the first microcontroller unit circuit 120a and the second microcontroller unit circuit 120b via the physical communication link 104.
[0167] The first memory circuit 126a and the second memory circuit 126b implement a multi-port non-volatile solid-state memory and / or a solid-state drive (SSD). The memory circuits 126a-126b are removably connected to the computing devices 110a-110b. The memory circuits 126a-126b communicate on respective backplane buses 130a-130b and respective memory management buses 134a-134b.
[0168] The memory circuits 126a-126b are operable to store data and instructions for the computing devices 110a-110b. In various embodiments, the memory circuits 126a-126b may comply with the Non-Volatile Memory Express (NVMe) or Non-Volatile Memory Host Controller Interface Specification (NVMHCIS). Other memory interface specifications may be implemented to meet the design criteria of a particular application.
[0169] The first backplane 128a and the second backplane 128b implement a computer motherboard. The backplanes 128a-128b include conductive traces for the LAN bus 102, the physical communication link 104, the backplane bus 130a-130b, the serial management bus 132a-132b, and the memory management bus 134a-134b. The backplanes 128a-128b typically include sockets to accommodate the insertion and removal of the processing circuits 122a-122b and the memory circuits 126a-126b. Mounting hardware is included in the backplanes 128a-128b to secure the microcontroller unit circuits 120a-120b and the switch circuits 124a-124b.
[0170] The first backplane bus 130a and the second backplane bus 130b each implement multiple peripheral component interconnect express (PCIe) buses. For example, one PCIe bus 130a can form a point-to-point link (or connection) between a first processing circuit 122a and a first switch circuit 124a. Another PCIe bus 130a can form another point-to-point link (or connection) between two first processing circuits 122a, and so on. The backplane buses 130a-130b provide a standard interface for transmitting high-speed data among circuits within the computing devices 110a-110b. Other bus standards can be implemented to meet the design criteria of specific applications.
[0171] The serial management bus 132a-132b implements an inter-integrated circuit (I 2 C) Bus. The serial management bus 132a-132b may be a synchronous, multi-master / multi-slave, single-ended, serial digital bus. Other bus standards may be implemented to meet the design criteria of a particular application.
[0172] The memory management bus 134a-134b implements the system management bus (SMBus). For lightweight communication purposes, the memory management bus 134a-134b may be a single-ended simple two-wire bus. Other bus standards may be implemented to meet the design criteria of a particular application.
[0173] The first SecOC abstraction layer 140a and the second SecOC abstraction layer 140b are located between compliant SecOC circuits (e.g., microcontroller unit circuits 120a-120b) and non-compliant SecOC circuits (e.g., switch circuits 124a-124b and memory circuits 126a-126b). The SecOC abstraction layers 140a-140b are operable to provide SecOC-like authentication mechanism communications with non-compliant SecOC circuits.
[0174] In various embodiments, buses 132a, 132b, 134a, and 134b typically provide an out-of-band (OOB) management interface that is primarily used for device configuration, calibration, and diagnostics. Out-of-band management may not be used for primary device functions, such as traffic management (switching) or storage (NVMe SSD). Out-of-band management typically provides device access even if the primary communication path is not working. In other embodiments, in-band management can be implemented due to physical limitations of adding out-of-band communications to a separate expansion module (e.g., a separate (NVMe SSD) storage enclosure for memory circuits 126a-126b).
[0175] Symmetric key attestation over the SecOC protocol leverages automated message authentication techniques and key provisioning, distribution, and update methods. This technique allows for large-scale attestation of field-replaceable components using proven technology. Attestation over SecOC can be performed using trusted out-of-band channels, such as Ethernet, SMBus, SPI, and / or UART. Attestation over SecOC can be performed using in-band paths (e.g., PCIe) through an abstraction layer. As a result, various inter-circuit communication links can be disabled until attestation is complete.
[0176] Symmetric key attestation is faster than asymmetric techniques, which is useful for fast vehicle startup. Symmetric key attestation also limits the expansion of compromised keys. For asymmetric processes, if a private / public key pair becomes compromised, the key may be cloned and expanded. Mitigation of compromised key pairs includes regular monitoring, detection, and identification of identical public keys, with accompanying infrastructure support. Mitigation of compromised symmetric keys is limited to the affected key pairs. Internet connectivity and a one-time registration of provisioning keys can be used to configure newly installed circuits in computing devices 110a-110b. Internet connectivity also supports updating standard SecOC keys and configuration tables.
[0177] Symmetric key attestation on the SecOC protocol can be viewed from two perspectives. From the first perspective, an unauthenticated circuit (or component or device) can be inserted into a computing device. From the second perspective, a stand-alone circuit can be inserted into a debugger, lab equipment, and / or similar interface where the memory can be modified before being installed in a vehicle. Such circuits are owner-upgradeable, and therefore the supply chain is not as secure as it could be. Therefore, a defining feature is that the system uses symmetric key attestation to mutually authenticate circuits - the computing device authenticates the removable circuit (perspective 1), and the replaceable circuit authenticates (or verifies) the computing device (perspective 2). Mutual attestation is also used to detect unauthenticated PCI circuits that are inserted into vehicle circuits using cartridge connectors and / or inter-board cables. Mutual attestation allows these components to authenticate the computing device before allowing communication over the PCIe link, and vice versa.
[0178] For a circuit or other field replaceable device, every serial connection (not just PCIe links) is treated as a public connection at startup until the attestation process is complete. The microcontroller unit circuit is initialized before the attestation procedure begins. At initialization, there is an option to lock down traffic or limit traffic to well-defined messages and operations (e.g., unsecured communications) until attestation on the SecOC is successfully completed. Illegal field replaceable circuits can be started in the normal manner, but serial communications to and from the replaceable circuit may be limited and / or prohibited.
[0179] In various embodiments, the allow list and deny list are generated by a single circuit during attestation and distributed to the connected circuits. In other embodiments, the allow list and deny list are built individually by each individual circuit and not distributed. The former is generally faster; the latter may be more suitable for architectural changes and forward / backward compatibility.
[0180] The Automotive Open System Architecture is a development partnership of automotive stakeholders. At a high level of abstraction, the Automotive Open System Architecture provides three software layers running on microcontrollers: Application, Runtime Environment (RTE) and Basic Software (BSW), and provides a modular and scalable software development. The Automotive Open System Architecture specification is available at www.autosar.org.
[0181] Secure Hardware Extensions (SHE) provide an on-chip extension to a microcontroller that transfers key control from the software domain to the hardware domain to protect the keys from software attacks. The Secure Hardware Extensions specification is available at www.vector.com.
[0182] refer to Figure 3 , a schematic block diagram of an example implementation of a computing device 110c according to one or more exemplary embodiments is shown. The computing device 110c may be a variant of the computing devices 110a and / or 110b. The computing device 110c includes a local area network bus 102, a first microcontroller unit circuit 120a, a plurality of first processing circuits 122a, and a first memory circuit 126a. The first switch circuit is not present. The local area network bus 102 may be connected to a service tool / air port 112. The first microcontroller unit circuit 120a is designated as a trust anchor 136.
[0183] In various embodiments, the first memory circuit 126a can be implemented as an NVMe fabric (NVMe-oF). The fabric includes InfiniBand, Fibre Channel, RDMA over Converged Ethernet (RoCE), iWARP computer network protocol, and Transmission Control Protocol (TCP). The NVME-oF approach can achieve decomposition and improve cable distances (e.g., greater than 2 meters).
[0184] For NVMe over TCP, Ethernet can be used at the SoC level, and an Ethernet to PCIe converter is used to connect the Ethernet to the memory circuit. This architecture enables a standard Ethernet cable to interface with the NVMe SSD storage bay, and the converter is placed in the bay. This architecture can reduce costs compared to using PCIe cables, which are high-speed but have limited cable run lengths and require expensive supporting electronics such as retimers. In-band device management is particularly useful for NVMe-oF because the target device may be located away from the SOC and board management controller (disaggregation).
[0185] The computing device 110c illustrates an example of symmetric key authentication over PCIe (in-band). A SecOC abstraction layer 140c exists between the first processing circuit 122a and non-SecOC peripheral devices (e.g., memory circuit 126a). Each first processing circuit 122a is responsible for authenticating its connection to the peripheral device. Alternatively, a single first processing circuit 122a can authenticate the peripheral device and distribute an updated allowed list. Here, the SecOC key and cryptographic engine are used in the first processing circuit 122a, but are converted through the abstraction layer 140c to generate challenge messages and response messages to the peripheral device over the first backplane bus 130a.
[0186] For interoperability with circuits that do not support SecOC, the abstraction layer 140c provides an interface to non-compliant SecOC circuits. For example, if a password-based message authentication code is usually used for SecOC message authentication, but the non-compliant device calculates a hash-based message authentication code (HMAC), the abstraction layer 140c uses a symmetric key with a local cryptographic service to calculate the HMAC.
[0187] refer to Figure 4 , shows a schematic block diagram of an example proof according to one or more exemplary embodiments. The proof involves a verifier 150 and a prover 152 in communication across a bus 154. For example, the verifier 150 may be one of the first processing circuits 122a, the prover 152 may be another of the first processing circuits 122a, and the bus 154 may be Figure 2 The first backplane bus 130a shown. In another example, the verifier 150 can be the first microcontroller unit circuit 120a, and the prover 152 can be one of the first processing circuits 122a. Other combinations of verifiers 150 and provers 152 are also possible. In general, the roles of the verifier and prover can be reversed to provide mutual proof. Different pre-shared keys can be used in each direction to prevent challenges from being reflected back to the source, where the source will calculate a valid response. For symmetric key proofs on SecOC, different keys are used to calculate the CMAC in either direction.
[0188] The verifier 150 has access to a challenge code (or value) 156. The challenge code 156 is transmitted across the bus 154 to the prover 152 in a challenge message 157. The verifier 150 generates a first code 160 using a cipher-based message authentication code (CMAC) 161. The CMAC 161 processes the challenge code 156 and a reference list value 162 using a pre-shared symmetric key 164. The prover 152 generates a second code (or value) 170 using another CMAC 172. The CMAC 172 processes the challenge code 156 and a measurement value 174 using the pre-shared symmetric key 164. The measurement value 174 can be a measure of firmware, software, hardware, and / or some arrangement thereof. The second code 170 is transmitted back to the verifier 150 from the prover 152 via the bus 154 in a response message 176. The verifier 150 compares 166 the first code 160 with the second code 170. If the two codes 160 and 170 match, the verifier 150 infers a pass as the proof result 168. If the two codes 160 and 170 do not match, the verifier 150 infers a fail as the proof result 168.
[0189] The cipher-based message authentication code provides a tool for computing a message authentication code using a block cipher in conjunction with a symmetric key 164. The integrity and authenticity of a message can be verified by a cipher-based message authentication code.
[0190] refer to Figure 5, a schematic diagram of an example technique for key derivation according to one or more exemplary embodiments is shown. Technique 180 includes process 182 and process 200. Process 182 uses UNLOCK_ECU_KEY 188 (unlock electronic control unit key) to encrypt input block 184 with advanced encryption standard (AES)-CMAC cipher 190 to generate encryption / decryption key 192. Input block 184 includes multiple fields 186a-186f. Fields 186a, 186c, and 186f may contain fixed bit patterns. Field 186b contains a pre-shared key (PSK) value for a memory circuit. The PSK value is a password used as a "key" to activate a secure network. Field 186d contains an ECU identification (ECU_ID) value. Field 186e may contain a random value from a target component. Process 200 uses UNLOCK_ECU_KEY 188 to encrypt input block 204 with advanced encryption standard (AES)-CMAC cipher 190 to generate CMAC key 208. Input block 204 includes multiple fields 206a-206e. Fields 206a, 206c, and 206e may contain fixed bit patterns. Field 206b contains a DATA_INT_MAC value. The DATA_INT_MAC value is the MAC value of the internal data. Field 206d contains an ECU identification value. Process 182 and process 200 are common to office environments and NVMe SSD controllers, so that each party can generate encryption / decryption and CMAC keys using only public information (ECU_ID, nonce). The "NVME_SSD_PSK" value and the "DATA_INT_MAC" value may be fixed ASCII string labels for generating different input materials for the same ECU_ID. Due to the different input materials, the encryption / decryption key and the CMAC key are different. In various embodiments, the random number can be eliminated for the CMAC key, resulting in a fixed CMAC key for each ECU_ID.
[0191] Some PCIe components, such as memory circuit 126 (see Figure 2), does not support the AUTOSAR standard or the SHE standard. To allow vendor-specific attestation, a zeroed attestation key is used during component manufacturing, and the final attestation key is securely sent to the component in final assembly or integration. Secure transmission is established by programming the ECU identification value and the matching UNLOCK_ECU_KEY 188 when the component is manufactured, and retrieving a random number from the target component during the process. These values are used to derive encryption / decryption keys 192 and CMAC keys 208. The AES-CMAC cipher 190 allows key encryption and authentication of a device-specific final attestation key (e.g., a symmetric key for secure transmission). The idea is to have a final attestation key that can be updated once to prevent replay attacks (e.g., someone records the update process and replays it at a later time). This approach may be useful if the key is compromised and therefore updated to a new key; an attacker wants to reinstall the old, compromised key, which will cause the attestation to fail.
[0192] refer to Figure 6 , a schematic diagram showing an example technique for key transmission according to one or more example embodiments. Technique 210 includes process 212 and process 220. Process 212 and process 220 are implemented in an office environment.
[0193] Process 212 uses encryption / decryption key 192 to encode proof PSK plaintext block 214 for transmission with AES-128 Electronic Codebook Mode (ECB) cipher 216, thereby generating proof PSK ciphertext block 218. Proof PSK plaintext block 214, after being transmitted to and installed in computing devices 110a-110b, ultimately becomes pre-shared symmetric key 164 ( Figure 4 Process 220 encodes a portion of input block 222 (eg, fields 224a-224c) using AES-CMAC cipher 190 using CMAC key 208 to generate second code 170 (see Figure 4 ). Input block 222 includes multiple fields 224a-224d. Field 224a can contain an ECU identification value. Field 224b can contain a random value. Field 224c contains the proof PSK ciphertext block 218. Field 224d is used to store the second code 170 generated by the AES-CMAC cipher 190. Technology 210 generally provides encryption and authentication of the final proof for secure transmission in an office environment (e.g., encryption followed by MAC).
[0194] refer to Figure 7 , a schematic block diagram of an example technique for new peripheral device processing is shown according to one or more exemplary embodiments. Technique 230 includes process 232 and process 234. Process 232 and process 234 are implemented outside of the office environment to which block 222 is transferred.
[0195] The process 232 encodes a portion of the input block 222 (e.g., fields 224a-224c) using the AES-CMAC cipher 190 using the CMAC key 208 to generate the first code 160. The second code 170 is extracted from the field 224d of the input block 222. The extracted second code 170 is compared 166 with the first code 160 to determine a pass / fail certification result 168.
[0196] In process 234, proof PSK ciphertext block 218 is extracted from input block 222. Proof PSK ciphertext block 218 is decrypted using AES-128ECB decryption 236 using encryption / decryption key 192 to recover proof PSK plaintext 226 for prover 152. The recovered proof PSK plaintext 226 is used as pre-shared symmetric key 164 ( Figure 4 ). Technology 230 typically provides authentication and decryption of the final attestation key in the NVMe SSD controller (e.g., MAC then decryption).
[0197] refer to Figure 8 , a flow chart of an example method 240 for authentication within a computing device according to one or more exemplary embodiments is shown. The method 240 is illustrated for a first computing device 110a. As illustrated, the method (or process) 240 includes steps 242 to 262. The order of the steps is shown as a representative example. Other orders of steps may be implemented to meet the criteria of a particular application.
[0198] A centralized job scheduler running from a trust anchor (TA) in each local computing device 110a-110b can be run at boot time, after a removable circuit is detected as newly installed, after a removable circuit is detected as removed, or at other defined events. The job scheduler logic is symmetrical so that each scheduler evaluates components within a local computing device 110a-110b. Trust anchors are typically mutually authenticated. Mutual authentication allows specialized topology changes to be made without additional code or library support. The certification process begins with disabling or limiting bus ports, establishing an allow list for each local computing device 110a-110b, and distributing the allow list to authenticated circuits. Bus ports to the enabled circuits are enabled, while bus ports to unauthenticated circuits are disabled.
[0199] In step 242, the first processing circuit 122a, the first switch circuit 124a, and the first memory circuit 126a may disable or restrict access to the ports 243a-243c of the first backplane bus 130a. The first microcontroller unit circuit 120a and the first processing circuit 122a may mutually authenticate each other through mutual authentication in step 244. Mutual authentication involves the first microcontroller unit circuit 120a sending an authorization request message (e.g., Figure 4 The authorization request message may be sent sequentially to one first processing circuit 122a at a time, or broadcasted to the first processing circuits 122a simultaneously. In step 246, each first processing circuit 122a calculates a CMAC response. In step 247, the CMAC response is returned to the first microcontroller unit circuit 120a. In step 248, the first microcontroller unit circuit 120a uses the internally generated challenge code and the received response value to authenticate / verify each first processing circuit 122a. If the verification passes / fails, as part of step 248, the first microcontroller unit circuit 120a adds the first processing circuit 122a to the first allowed list / first denied list.
[0200] In step 249, the first processing circuits 122a each send an authorization request message to the first microcontroller unit circuit 120a. In step 250, the first microcontroller unit circuit 120a calculates a CMAC response and sends the response to the first processing circuit 122a in step 251. In step 252, the first processing circuit 122a authenticates / verifies the CMAC response. If the verification passes / fails, as part of step 252, the first processing circuit 122a adds the first microcontroller unit circuit 120a to the first allow list / first deny list.
[0201] In step 254, the first microcontroller unit circuit 120a sends an authorization request message (e.g., a first memory certificate) to the first memory circuit 126a. In step 256, the first memory circuit 126a calculates a CMAC response. In step 258, the first memory circuit 126a sends an authorization response message back to the first microcontroller unit circuit 120a. In step 260, the first microcontroller unit circuit 120a authenticates / verifies the first memory circuit 126a and adds the first memory circuit 126a to an allow list / deny list of pass / fail authentication. In step 262, the first microcontroller unit circuit 120a may perform inter-computing device authentication to link with the second microcontroller unit circuit 120b (see Fig.12 ).
[0202] refer to Fig. 9, a flow chart of an example method 270 for completing authentication within a computing device is shown according to one or more exemplary embodiments. The method 270 is illustrated for a first computing device 110a. As illustrated, the method (or process) 270 includes steps 272 to 290. The order of the steps is shown as a representative example. Other step orders can be implemented to meet the criteria of a specific application.
[0203] In step 272, the first microcontroller unit circuit 120a notifies the first processing circuit 122a that the authentication has ended. In step 273, the first microcontroller unit circuit 120a generates a CMAC relative to the allow / deny list of the first processing circuit 122a, and in step 274, sends an authorization completion message with the first allow list 238a and the first deny list 239a to each first processing circuit 122a. The authorization completion message can be sent sequentially to one first processing circuit 122a at a time, or broadcast to the first processing circuits 122a at the same time. If the first microcontroller unit circuit 120a was previously allowed, each first processing circuit 122a verifies the first allow list 238a in step 276 and enables the first backplane bus port identified in the first allow list 238a for secure communication. In step 278, the first processing circuit 122a sends a respective authentication completion response back to the first microcontroller unit circuit 120a. Step 278 is a confirmation to the initiator and is used for error handling.
[0204] In step 279, the first microcontroller unit circuit 120a generates a CMAC relative to the allow / deny list of the first memory circuit 126a. In step 280, the first microcontroller unit circuit 120a sends an authorization completion message with the first allow list 238a and the first deny list 239a to the first memory circuit 126a. The first memory circuit 126a verifies the first allow list 238a based on the CMAC in step 282 and enables the first backplane bus port identified in the first allow list 238a. In step 284, the first memory circuit 126a sends an authentication completion response back to the first microcontroller unit circuit 120a.
[0205] In step 285, the first microcontroller unit circuit 120a generates a CMAC with respect to the allow / deny list of the first switch circuit 124a. In step 286, the first microcontroller unit circuit 120a sends an authorization completion message with the first allow list 238a and the first deny list 239a to the first switch circuit 124a. The first switch circuit 124a verifies the first allow list 238a in step 288 and enables the first backplane bus port identified in the first allow list 238a. In step 290, the first switch circuit 124a sends an authentication completion response back to the first microcontroller unit circuit 120a.
[0206] refer to Fig.10 , a flow chart of an example method 300 for authentication within a second computing device 110b according to one or more exemplary embodiments is shown. As illustrated, the method (or process) 300 includes steps 302 to 322. The order of the steps is shown as a representative example. Other step orders may be implemented to meet the criteria of a particular application.
[0207] In step 302, the second processing circuit 122b, the second switch circuit 124b, and the second memory circuit 126b may disable or restrict access to the ports 303a-303c of the second backplane bus 130b. The second microcontroller unit circuit 120b and the second processing circuit 122b may mutually authenticate each other through mutual authentication in step 304. Mutual authentication involves the second microcontroller unit circuit 120b sending an authorization request message (e.g., Figure 4 The authorization request message may be sent sequentially to one second processing circuit 122b at a time, or broadcasted to the second processing circuits 122b simultaneously. In step 306, each second processing circuit 122b calculates a CMAC response. In step 307, the CMAC response is returned to the second microcontroller unit circuit 120b. In step 308, the second microcontroller unit circuit 120b uses the internally generated challenge code and the received response value to authenticate / verify each second processing circuit 122b. If the verification passes / fails, as part of step 308, the second microcontroller unit circuit 120b adds the second processing circuit 122b to the second allowed list / second denied list.
[0208] In step 309, the second processing circuits 122b each send an authorization request message to the second microcontroller unit circuit 120b. In step 310, the second microcontroller unit circuit 120b calculates a CMAC response, and in step 311, sends the response to the second processing circuit 122b. In step 312, the second processing circuit 122b authenticates / verifies the CMAC response. If the verification passes / fails, as part of step 252, the first processing circuit 122a adds the first microcontroller unit circuit 120a to the second allowed list / second denied list. In step 314, the second microcontroller unit circuit 120b sends an authorization request message (e.g., a second memory certificate) to the second memory circuit 126b. In step 316, the second memory circuit 126b calculates a CMAC response. In step 318, the second memory circuit 126b sends an authorization response message back to the second microcontroller unit circuit 120b. The second microcontroller unit circuit 120b authenticates / verifies the second memory circuit 126b in step 320, and adds the second memory circuit 124b to the second allowed list or the second denied list based on the authentication. In step 322, the second microcontroller unit circuit 120b may perform inter-computing device authentication to link with the first microcontroller unit circuit 120a (see Fig.12 ).
[0209] refer to Fig.11 , a flow chart of an example method 330 for completing authentication within a second computing device 110b is shown according to one or more exemplary embodiments. As illustrated, the method (or process) 330 includes steps 332 to 350. The order of the steps is shown as a representative example. Other step orders can be implemented to meet the criteria of a specific application.
[0210] In step 332, the second microcontroller unit circuit 120b generates a CMAC relative to the allow / deny list of the second processing circuit b in step 333, and notifies the second processing circuit 122b that the authentication has ended. In step 334, the second microcontroller unit circuit 120b sends an authorization completion message with a second allow list 238b and a second deny list 239b to each second processing circuit 122b. The authorization completion message can be sent sequentially to one second processing circuit 122b at a time, or broadcast to the second processing circuits 122b at the same time. If the second microcontroller unit circuit 120b was previously allowed, each second processing circuit 122b verifies the second allow list 238b in step 336 and enables the second backplane bus port identified in the second allow list 238b for secure communication. In step 338, the second processing circuit 122b sends a respective authentication completion response back to the second microcontroller unit circuit 120b.
[0211] In step 339, the second microcontroller unit circuit 120b generates a CMAC relative to the allow / deny list of the second memory circuit 126b. In step 340, the second microcontroller unit circuit 120b sends an authorization completion message with the second allow list 238b and the second deny list 239b to the second memory circuit 126b. The second memory circuit 126b verifies the second allow list 238b based on the CMAC in step 342 and enables the second backplane bus port identified in the second allow list 238b. In step 344, the second memory circuit 126b sends an authentication completion response back to the second microcontroller unit circuit 120b.
[0212] In step 345, the second microcontroller unit circuit 120b generates a CMAC with respect to the allow / deny list of the second switch circuit 124b. In step 346, the second microcontroller unit circuit 120b sends an authorization completion message with the second allow list 238b and the second deny list 239b to the second switch circuit 124b. The second switch circuit 124b verifies the second allow list 238b in step 348 and enables the second backplane bus port identified in the second allow list 238b. In step 350, the second switch circuit 124b sends an authentication completion response back to the second microcontroller unit circuit 120b.
[0213] refer to Fig.12 , a flowchart of an example method 360 for authentication between computing devices according to one or more exemplary embodiments is shown. The method 360 is Figure 8 The expansion of step 262 and Fig.10 As shown, method (or process) 360 includes steps 362 to 384. The order of the steps is shown as a representative example. Other step orders can be implemented to meet the criteria of a specific application.
[0214] In step 362, the first microcontroller unit circuit 120a may generate a first challenge message 390 and send it to the second microcontroller unit circuit 120b via the local area network bus 102 (e.g., first inter-computing device attestation). In step 364, the second microcontroller unit circuit 120b verifies the first CMAC value of the first challenge message 390. In step 366, the first challenge message 390 is stored by the second microcontroller unit circuit 120b for later use.
[0215] In step 368, the second microcontroller unit circuit 120b generates a second challenge message 392 and sends it to the first microcontroller unit circuit 120a via the local area network bus 102 (e.g., second inter-computing device attestation). In step 370, the first microcontroller unit circuit 120a verifies the second CMAC value of the second challenge message 392. In step 372, the second challenge message 392 is stored by the first microcontroller unit circuit 120a for later use.
[0216] In step 374, the first microcontroller unit circuit 120a generates a third CMAC value 394 for the second challenge message 392 for local storage (in step 372) and sends it to the second microcontroller unit circuit 120b via the first serial management bus 132a, the first switch circuit 124a, the physical communication link 104, the second switch circuit 124b, and the second serial management bus 132b. The second microcontroller unit circuit 120b verifies the third CMAC value 394 against the fourth CMAC value 396 of the first challenge message 390 for local storage (step 366) in step 376. If the third CMAC value 394 matches the fourth CMAC value 396, then in step 378, the second microcontroller unit circuit 120b adds the inter-computing device communication to the second allowed list. The second switch circuit 124b responds to the second allowed list by enabling communication to and from the second computing device 110b over the physical communication link 104. Otherwise, the inter-computing device communication (if it already exists) is removed from the second allow list and added to the second deny list. The second switch circuit 124b responds to the second deny list by blocking communications to and from the second computing device 110b over the physical communication link 104.
[0217] In step 380, the second microcontroller unit circuit 120b sends the fourth CMAC value 396 for the locally stored first challenge message 390 to the first microcontroller unit circuit 120a via the second serial management bus 132b, the second switch circuit 124b, the physical communication link 104, the first switch circuit 124a, and the first serial management bus 132a. The first microcontroller unit circuit 120a verifies the fourth CMAC value 396 against the locally stored (step 372) fifth CMAC value of the second challenge message 392 in step 382. If the fourth CMAC value 396 matches the fifth CMAC value, then in step 384, the first microcontroller unit circuit 120a adds the inter-computing device communication to the first allow list. The first switch circuit 124a responds to the first allow list by enabling communication to and from the first computing device 110a over the physical communication link 104. Otherwise, the inter-computing device communication (if it already exists) is removed from the first allow list and added to the first deny list. The first switch circuit 124 a responds to the first deny list by blocking communications to and from the first computing device 110 a over the physical communication link 104 .
[0218] Embodiments of the present disclosure generally provide a symmetric key authentication technique over SecOC, wherein the SecOC key and message authentication method is used to authenticate a user removable device. Authentication can be performed over a local area network bus (e.g., Ethernet). The symmetric key authentication technique over SecOC can use a background connection (e.g., service tool / air port 112, Figure 2 ) to register a newly installed device. The Electronic Control Unit Identification Value or similar identifier is used to identify the new device. The SecOC key can be updated using the Secure Hardware Extended Key Update Protocol.
[0219] In various embodiments of the symmetric key attestation technique over SecOC, an abstraction layer provides an interface between SecOC-compliant devices and non-SecOC-compliant devices. The electronic control unit identification value and the UNLOCK_ECU_KEY value can be securely programmed in a non-SecOC-compliant device. The key encryption key and the authentication key are derived from the electronic control unit identification value and the UNLOCK_ECU_KEY value. In some embodiments of the symmetric key attestation, the final attestation key can be wrapped using a derived key encryption key and constructed with an electronic control unit identification value, a non-previous ID value (NBID), and a message authentication code. The message authentication code is calculated using the derived authentication key.
[0220] Symmetric key attestation techniques on SecOC typically implement unique keys in each direction to prevent replay attacks. Additional key slots may be allocated to remember devices that were previously installed and then removed. Keys for previously installed devices are cleared based on the amount of time that has elapsed since the removed device was last seen.
[0221] The links through the backplane bus are initially disabled or limited. Therefore, the SecOC authentication technique is performed using an out-of-band channel, such as Ethernet, I 2 C, SPI or UART. In various embodiments, each computing device includes a centralized job scheduler. Each centralized job schedule uses mutual certification to build an allow list. In other embodiments, a distributed job scheduler is included in each computing device. The distributed job schedule in each computing device builds a local allow list.
[0222] In the symmetric key attestation technique on SecOC, device measurements can include measurements from the device's backplane bus configuration space. The symmetric key attestation process can also authenticate links between computing devices (e.g., Figure 2 The symmetric key certification process can isolate unauthenticated devices by distributing an allow list to authenticated devices, which respond by opening the PCIe link only to authenticated devices.
[0223] In some embodiments, symmetric key attestation can use regionalized keys to distinguish different local regions. A background device registration and attestation job scheduler is included, where duplicate electronic control unit identification values are added to a deny list. Electronic control unit identification values on the deny list are removed from the allow list. In various embodiments of symmetric key attestation, challenge messages and response messages are periodically broadcast between devices.
[0224] The apparatus, method and system of the present disclosure provide a technique for preventing unauthorized devices installed in vehicle electronic equipment from communicating with authorized devices. The technique provides symmetric key certification of removable devices by authenticating multiple processing circuits with multiple processor certifications with a microcontroller unit circuit. The processing circuit replies with the processor certification and verifies / authenticates the microcontroller unit circuit. Based on the authentication of the processing circuit and the verification of the microcontroller unit circuit, secure communication is enabled on the backplane bus among the processing circuits.
[0225] The numerical values of parameters (e.g., quantities or conditions) in this specification, including the appended claims, should be understood as being modified by the term "approximately" in the examples, whether or not "approximately" actually appears before the numerical value. "Approximately" means that the numerical value allows some slight imprecision (with a certain proximity to the exact value; approximately or reasonably close to the value; almost). If the imprecision provided by "approximately" is not otherwise understood in the art as this ordinary meaning, then "approximately" as used herein at least represents the changes that may be produced by the ordinary methods of measuring and using these parameters. In addition, the disclosure of the range includes the disclosure of the values within the entire range and the further divided ranges. Each value within the range and the endpoints of the range are disclosed as separate embodiments herein.
[0226] While the best modes for carrying out the disclosure have been described in detail, those familiar with the art to which this disclosure relates will recognize various alternative designs and embodiments for practicing the disclosure within the scope of the appended claims.
Claims
1. A device comprising: A first computing device, which may be coupled to a local area network bus and includes a first microcontroller unit circuit, a plurality of first processing circuits, and a first backplane bus, wherein: Initial unsecured communications over the first backplane bus are restricted; The first microcontroller unit circuit is permanently connected to the first computing device and is operable to authenticate the plurality of first processing circuits with a plurality of first processor certifications over a local area network bus based on a secure in-vehicle communication protocol of an automotive open system architecture, a symmetric key, and a first message authentication code; A plurality of first processing circuits are removably coupled to the first computing device and are operable to: replying via the local area network bus to a corresponding one of the plurality of first processor certificates; and authenticating the first microcontroller unit circuit based on the secure in-vehicle communication protocol, the symmetric key, and the first message authentication code received from the first microcontroller unit circuit; and Based on the authentication of the plurality of first processing circuits and the verification of the first microcontroller unit circuit, secure communications among the plurality of first processing circuits over the first backplane bus are enabled.
2. The device according to claim 1, wherein: The first computing device may be coupled to the physical communication link and further include a first switch circuit and a first serial management bus; The first microcontroller unit circuit is further operable to: communicating with the first switch circuit via a first serial management bus; and generating a first allowed list based on authentication of the plurality of first processing circuits; and a first switching circuit permanently coupled to the first computing device and operable to: converting data between the first backplane bus and the physical communication link; and Secure communications to the first backplane bus are enabled based on the first allow list.
3. The device according to claim 1, wherein: The first computing device further includes a first memory circuit and a first memory management bus; The first microcontroller unit circuit is further operable to: authenticating the first memory circuit with a first memory certificate via the first memory management bus based on the secure in-vehicle communication protocol, the symmetric key, and the first message authentication code; and generating a first allowed list based on the authentication of the first memory circuit and the authentication of the plurality of first processing circuits; and The first memory circuit is removably coupled to the first computing device and is operable to: replying the first memory certificate via the first memory management bus; and Based on the first allow list, secure communications between the plurality of first processing circuits and the first memory circuit over the first backplane bus are enabled.
4. The device according to claim 1, wherein: The first computing device further includes a first unauthenticated circuit; The first microcontroller unit circuit is further operable to: Attempting to authenticate the first unauthenticated circuit based on the secure vehicle communication protocol, the symmetric key, and the first message authentication code; and In response to a failure to authenticate the first unauthenticated circuit, generating a first reject list to isolate the first unauthenticated circuit; and The plurality of first processing circuits are further operable to: Based on the first deny list, communications to the first unauthenticated circuit on the first backplane bus are blocked.
5. The device according to claim 1, wherein: Symmetric keys are updated using a secure hardware-extended key update protocol.
6. The device according to claim 1, wherein: The first computing device further includes non-compliant circuitry that is non-compliant with the secure in-vehicle communications protocol; and The ECU identification value and unlock ECU key are programmed into the non-compliant circuit for use during authentication.
7. The device according to claim 1, wherein: The first microcontroller unit circuit is further operable to: allocating additional key slots to remember one or more previously installed circuits in the first computing device; and One or more keys of one or more previously installed circuits are cleared based on an elapsed time since last being installed in the first computing device.
8. The device according to claim 1, wherein: The LAN bus is one or more of an Ethernet bus, an inter-integrated circuit bus, a serial peripheral interface bus, and a universal asynchronous receiver-transmitter bus; The first backplane bus is a Peripheral Component Interconnect Express bus; and The first microcontroller unit circuit is further operable to authenticate the plurality of first processing circuits based on one or more of: (i) a power-on condition, (ii) detecting that one or more of the plurality of first processing circuits are newly installed in the first computing device, and (iii) periodically.
9. The apparatus according to claim 1, further comprising: a second computing device coupled to the local area network bus and comprising a second microcontroller unit circuit, a plurality of second processing circuits, and a second backplane bus, wherein Initial unsecured communications over the second backplane bus are restricted; The second microcontroller unit circuit is permanently connected to the second computing device and is operable to: authenticating the plurality of second processing circuits with a plurality of second processor certificates via the local area network bus based on the secure vehicle communication protocol, the symmetric key, and a second message authentication code; and generating a second allowed list based on authentication of the plurality of second processing circuits; A plurality of second processing circuits are removably coupled to the second microcontroller unit circuit and are operable to: replying via the local area network bus to a corresponding one of the plurality of second processor certificates; and authenticating the second microcontroller unit circuit based on the secure in-vehicle communication protocol, the symmetric key, and the second message authentication code received from the second microcontroller unit circuit; and Based on the authentication of the plurality of second processing circuits and the verification of the second microcontroller unit circuitry, secure communications among the plurality of second processing circuits over the second backplane bus are enabled.
10. A method for symmetric key authentication of a removable circuit, comprising: Initial unsecured communications over a first backplane bus of a first computing device are restricted, wherein: A first computing device may be coupled to the local area network bus and includes a first microcontroller unit circuit, a first plurality of processing circuits, and a first backplane bus; The first microcontroller unit circuit is permanently connected to the first computing device; and a plurality of first processing circuits removably coupled to the first computing device; Authenticating the plurality of first processing circuits with a plurality of first processor certificates via a local area network bus using the first microcontroller unit circuit, based on a secure in-vehicle communication protocol of an automotive open system architecture, a symmetric key and a first message authentication code; replying, using the plurality of first processing circuits, via the local area network bus, to a corresponding one of the plurality of first processor certificates; authenticating the first microcontroller unit circuit based on the secure vehicle communication protocol, the symmetric key, and the first message authentication code received from the first microcontroller unit circuit using the plurality of first processing circuits; and Based on the authentication of the plurality of first processing circuits and the verification of the first microcontroller unit circuit, secure communications over a first backplane bus are enabled among the plurality of first processing circuits.
