Communication device, communication procedure and communication program
Patent Information
- Application Number
- DE112016003611
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2015-08-07
- Filing Date
- 2016-08-04
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2036-08-04
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical FieldThe present disclosure relates to a communication device, a communication method, and a communication program that respectively authenticate communication data communicated in a network using a message authentication code.Prior ArtA technique that authenticates communication data communicated in a network by a message authentication code (MAC) is known (for example, see JP 2013-98 719 A). In a technique disclosed in JP 2013-98 719 A, each of the communication devices connected to the network increments a value stored in a corresponding counter every time another communication device sends a main message.A transmission communication device transmits the main message and a MAC message including a MAC generated based on the main message and a value counted by the counter.A reception communication device determines whether the MAC generated based on a received main message and the value of the counter stored in the reception communication device matches a MAC included in the received MAC message. With this configuration, the reception communication device determines the validity of the received main message.Reference is also made to DE 10 2014 113 111 A1 and EP 31 42 291 A1, which were determined as prior art.In a technique disclosed in JP 2013-98 719 A, validity of a main message may be determined based on a MAC. In the technique disclosed in JP 2013-98 719 A, when the main message is determined to be invalid, the cause of the invalidity cannot be estimated. It is assumed that the cause of invalidity of the main message cannot be estimated. In this case, an appropriate procedure for solving the cause cannot be implemented.In view of the above difficulties, it is an object of the present disclosure to provide a communication device, a communication method, and a communication program each implementing an appropriate procedure by estimating the cause of invalidity when communication data transmitted in a network is determined to be invalid.This object is achieved by the features of the main claim and the subordinate claims. Advantageous further developments are found in the dependent claims.According to an aspect of the present disclosure, a communication device is provided. The communication device is connected to a network and authenticates communication data communicated on the network based on a message authentication code. The communication device includes a counter, a receiving section, an updating section, a code generating section, a determining section, and a transmitting section.The receiving section receives the communication data from another one of the communication devices. The updating section updates a value of the counter to match a value of a counter of the other communication device when the receiving section receives the communication data from the other communication device.The code generating section generates the message authentication code based on the communication data received by the receiving section, the value of the counter, and a common key. The determination section determines whether the message authentication code generated by the code generation section coincides with a message authentication code set in the communication data.The transmitting section transmits a synchronization request. The transmitting section balances the value of the counter with the value of the counter of the other communication device when a number of times the determining section determines a discrepancy between the message authentication code generated by the code generating section and the message authentication code set in the communication data received by the receiving section becomes equal to or greater than a predetermined number of discrepancies.In the above-described configuration, when the discrepancy of the message authentication codes occurs, the cause is estimated as a deviation of the value of the counter between a transmission communication device and a reception communication device, and the transmission communication device transmits the synchronization request for synchronizing the counters. Therefore, when the cause of the discrepancy between the message authentication codes is the deviation of the values of the counters between the transmission communication device and the reception communication device, the cause of the discrepancy between the message authentication codes can be specified by requesting the synchronization of the counters as an appropriate procedure.Brief Description of the DrawingsThe above and other objects, features and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the drawings.The following are shown: FIG. 1 is a block diagram illustrating a communication system according to an embodiment; FIG. 2 is a diagram showing a configuration of a CAN frame; FIG. 3 is a block diagram showing a communication device according to an embodiment; and FIG. 4 is a state transition diagram showing communication processing.Embodiments of the InventionHereinafter, embodiments of the present disclosure will be described with reference to the drawings.<1 Configuration>As shown in FIG. 1, a communication system 2 includes a CAN (Controller Area Network) bus 100 and a plurality of communication devices 10.The network connecting each of the communication connection devices 10 is not limited to CAN, and may be provided by any network under a condition that all the communication devices 10 can communicate with each other via the network. The communication device 10 can be used for any purpose. For example, the communication device 10 may be provided by an ECU (Electronic Control Unit) connected to an in-vehicle network.The communication device 10 determines validity of communication data based on a message authentication code (MAC). In the CAN bus 100, a CAN frame is used as a communication frame, and the communication data is communicated through the CAN frame. The MAC is generated by a well-known MAC generation method such as HMCA or CMAC. As shown in FIG. 2, the MAC is set in a data field of the CAN frame together with data.The communication device 10 includes a microcomputer including a CPU, a RAM, a ROM, a flash memory, an input / output interface, or the like. As shown in FIG. 3, the communication device 10 includes a receiving section 12, a transmitting section 14, a code generating section 16, a determining section 18, a counter 20, an updating section 22, a frame generating section 24, and a notifying section 26 as function blocks.The receiving section 12 receives the CAN frame from the CAN bus 100. The transmission section 14 transmits the CAN frame to the CAN bus 100.It is assumed that the code generation section 16 determines that the communication data received by the reception section 12 is a processing object and an authentication object to be authenticated by the MAC. The determination is made based on the ID of the CAN frame received by the receiving section 12. In this case, the code generating section 16 selects a bit sequence having a same bit length as the MAC set in the data field of the received CAN frame from a bit sequence generated by the ID of the received CAN frame, the record in the data field of the received CAN frame, a value of the counter 20, and a common key. Then, the code generating section 16 generates the MAC based on the selected bit sequence. The common key is stored in a rewritable nonvolatile memory such as a flash memory.More than one communication device 10 may determine that the received communication data is the processing object and the authentication object of the MAC based on the ID of the CAN frame received from the corresponding receiving section 12.It is assumed that the frame generation section 24 generates the CAN frame including the MAC, and the transmission section 14 transmits the generated CAN frame. In this case, the code generating section 16 selects a bit sequence having the same bit length as the MAC set in the data field from the bit sequence generated by the ID of the CAN frame, data set in the data field, the value of the counter 20, and the common key. Then, the code generating section 16 generates the MAC based on the selected bit sequence.It is assumed that the communication data received from the receiving section 12 is the processing object and the authentication object based on the MAC. In this case, the determination section 18 determines whether the MAC generated by the code generation section 16 from the ID of the received CAN frame, the data set in the data field of the received CAN frame, the value of the counter 20, and the common key corresponds to the MAC set in the data field of the received CAN frame. In the following, the correspondence of the MACs represents the equality between the MACs.When the determination section 18 determines that the MAC generated by the code generation section 16 matches the received MAC, the communication data of the CAN frame is determined to be valid. When the determination section 18 determines that the MAC generated by the code generation section 16 does not match the received MAC, the communication data of the CAN frame is determined to be invalid.The value of the counter 20 is stored in a nonvolatile memory device such as the flash memory. The value of the counter 20 is stored for each ID of the CAN frame. Each of the communication devices 10 stores only the value of the counter 20 corresponding to the ID to be processed by the own device.It is assumed that the communication data received from the receiving section 12 is the processing object and the authentication object based on the MAC. In this case, the update section 22 adds one to a value counted by the corresponding counter 20. The update section 22 adds one to the value counted by the counter 20 before the code generation section 16 generates the MAC to be set in the data field of the CAN frame. Then, the CAN frame is generated by the frame generating section 24 and transmitted from the transmitting section 14.When the transmission section 14 transmits the CAN frame, the frame generation section 24 sets a value in each field of each CAN frame. When the transmission section 14 transmits the communication data that is the authentication object based on the MAC, the frame generation section 24 sets the MAC generated by the code generation section 16 in the data field.It is assumed that the MAC generated by the code generation section 16 does not match the received MAC, and the cause of the discrepancy of the MACs cannot be identified. In this case, the notifying section 26 generates a diagnostic code indicating the discrepancy of the MACs and errors in identifying the cause of the discrepancy as abnormality, and stores the diagnostic code in the rewritable nonvolatile memory device such as the flash memory. Alternatively, the notification section 26 may transmit a notification of the abnormality from the transmission section 14 to a notification communication device 10.<2 Processing>Communication processing executed by the communication device 10 will be described with reference to a state transition diagram of FIG. 4.During a normal state, the MAC generated by the code generation section 16 is equal to the MAC set in the data field of the received CAN frame. The code generating section 16 generates the MAC from the ID, the record in the data field each included in the CAN frame received from the receiving section 12, the value of the counter 20 incremented by one by the updating section 22, and the common key.During the normal state for the CAN frame received by the receiving section 12, it is assumed that a number of times the determining section 18 continuously determines a discrepancy between the MACs becomes equal to or greater than a predetermined number of successive discrepancies. In this case, the reception communication device 10 estimates that a value of the counter 20 of the reception communication device 10 is deviated from the value of the counter 20 of the transmission communication device 10, and shifts from the normal state to a counter deviating state.The predetermined number of consecutive discrepancies is set to an appropriate value in consideration of an erroneous determination at the determination section 18 caused by noise, with which it can be estimated that the cause of discrepancies between the MACs is the deviation between the values of the counters 20 at the transmitting end and the receiving end.After the reception communication device 10 has switched from the normal state to the counter deviation state, the transmission section 14 in the reception communication device 10 transmits a synchronization request in the CAN frame to the transmission communication device 10. In the reception communication device 10, the frame generation section 24 generates the synchronization request to be transmitted by the transmission section 14 using the CAN frame. The frame generating section 24 does not set the MAC in the data field of the synchronization request to be transmitted by the transmitting section 14.With the configuration described above, the transmission communication device 10 that receives the synchronization request does not need to authenticate the MAC. Thus, although a count value of the counter of the reception communication device 10 differs from a count value of the counter of the transmission communication device 10, the CAN frame requesting synchronization of the counters is normally processed in the transmission communication device 10.The transmission communication device 10 that receives the synchronization request for the counter 20 transmits the value of the counter 20 to the reception communication device 10 that has transmitted the synchronization request. The transmission communication device 10 does not set the MAC in the data field of the CAN frame including the value of the counter.It is assumed that the receiving section 12 of the reception communication device 10 receives the value of the counter 20 transmitted from the transmission communication device 10 in response to the synchronization request for the counter 20. In this case, the update section 22 of the reception communication device 10 synchronizes the own counter 20 with the counter 20 of the transmission communication device 10 by rewriting the value of the own counter 20 to the received counter value of the transmission communication device 10.Alternatively, a value of a counter 20 of another communication device 10 may be received by the reception communication device 10 and the transmission communication device 10 in response to the synchronization request transmitted from the reception communication device 10 for synchronizing the counters 20. Here, another communication device 10 is other than the reception communication device 10 and the transmission communication device 10. in this case, in each of the reception communication device 10 and the transmission communication device 10, the update section 22 synchronizes the counter 20 with the counter 20 of another communication device 10 by rewriting the value of the counter 20 to the value of the counter 20 of another communication device 10.After the counter 20 is synchronized, when the receiving section 12 of the receiving communication device 10 receives the CAN frame transmitted from the transmitting communication device 10, the determining section 18 of the receiving communication device 10 determines whether the generated MAC matches the received MAC. When it is determined that the generated MAC matches the received MAC, the reception communication device 10 switches from the counter deviation state to the normal state.During the counter deviation state, it is assumed that a number of times the determination section 18 successively determines a discrepancy between the MACs becomes equal to or greater than a predetermined number of synchronizations, although the transmission section 14 transmits the synchronization request for the counter 20. In this case, the reception communication device 10 estimates that at least one of the common keys or the values of the counters 20 deviates between the reception communication device 10 and the transmission communication device 10, and then changes from the counter deviating state to an abnormal state.The predetermined number of synchronizations is set to an appropriate value in consideration of erroneous determination at the determination section 18 caused by noise. Specifically, the predetermined number of synchronizations is set so that the reason for discrepancies between the MACs is estimated that at least one of the common key or the values of the counters 20 differs between the reception communication device 10 and the transmission communication device 10.During the normal state, for the CAN frame received by the receiving section 12 of the reception communication device 10, it is assumed that a total number of times the determining section 18 determines a discrepancy between the MACs becomes equal to or greater than a predetermined number of total discrepancies. In this case, the reception communication device 10 switches from the normal state to the abnormal state. The predetermined number of total discrepancies is set to be greater than the predetermined number of consecutive discrepancies.During the abnormal state, the reception communication device 10 transmits a reset and update request that requests the transmission communication device 10 to reset the value of the counter 20 and update the common key from the transmission section 14 of the reception communication device 10.It is assumed that the reception communication device 10 transmits the reset and update request requesting the reset of the value of the counter 20 and the update of the common key. In this case, the values of the counters 20 of the reception communication device 10, the transmission communication device 10, and another communication device 10 are reset and initialized by the update section 22 of the own communication device 10, and the common key shared by the communication devices 10 is updated and regenerated by the code generation section 16 of the own communication device 10.During the abnormal state, after the value of each counter 20 is reset and the common key is updated, in the CAN frame transmitted from the transmission communication device 10 and received by the receiving section 12 of the reception communication device 10, the determining section 18 of the reception communication device 10 determines whether the generated MAC matches the received MAC. When it is determined that the generated MAC matches the received MAC, the reception communication device 10 shifts from the abnormal state to the normal state.During the abnormal state in the reception communication device 10, it is assumed that a number of times the determination section 18 successively determines a discrepancy between the MACs becomes equal to or greater than a predetermined number of successive resets and updates, although the transmission section 14 transmits the reset and update request. Here, the reset and update request requests the reset of the value of the counter 20 and the update of the common key. In this case, the reception communication device 10 estimates that the abnormality is caused by the failure of specifying the cause of discrepancies between the MACs, and then switches from the abnormal state to an alarm state.The predetermined number of successive resets and updates is set to an appropriate value in consideration of an erroneous determination caused by noise in the determination section 18. Specifically, the predetermined number of successive resets and updates is set so that the reason for discrepancies between the MACs is estimated that the abnormality is caused by the error of specifying the cause of discrepancies between the MACs. A predetermined number of total resets and updates described below are set to an appropriate value for the same reason.During the abnormal state, it is assumed for the reception communication device 10 that a total number of times the determination section 18 determines a discrepancy between the MACs becomes equal to or greater than a predetermined number of total resets and updates even though the transmission section 14 transmits the reset and update request. Here, the reset and update request requests the reset of the value of the counter 20 and the update of the common key. In this case, the reception communication device 10 switches from the abnormal state to the alarm state. The predetermined number of total resets and updates is set to be larger than the predetermined number of successive resets and updates.When the alarm state is switched to, the notification section 26 of the reception communication device 10 stores the diagnostic code in the flash memory. Here, the diagnostic code indicates the abnormality that the cause of the discrepancy between the MACs cannot be specified. The diagnostic code indicating the abnormality may be read out from another communication device 10 in response to a diagnostic request transmitted from another communication device 10. The abnormality may be notified by a display device, a lighting device, an audio device, or the like.When switching to the alarm state, the notification section 26 may transmit the notification of the abnormality from the transmission section 14 to the notification communication device 10.<3>The above-described embodiment can provide the following advantages.(1) It is assumed that the number of times the determination section 18 successively determines the discrepancy between the MACs becomes equal to or greater than the predetermined number of successive discrepancies. In this case, the reception communication device 10 estimates that the discrepancy is caused by the deviation of the value of the counters 20 between the transmission communication device 10 and the reception communication device 10, and the transmission section 14 transmits the synchronization request for synchronizing the counters 20. With this configuration, when the discrepancy between the MACs is caused by the deviation of the values of the counters 20 between the transmission communication device 10 and the reception communication device 10, the cause of the discrepancy between the MACs can be correctly specified and solved by requesting the synchronization of each counter 20 at the transmission end and the reception end as an appropriate procedure.(2) When the number of times the determination section 18 successively determines the discrepancy between the MACs becomes equal to or greater than the predetermined number of successive discrepancies, the reception communication device 10 requests the synchronization of each counter 20 before requesting the update of the common key. With this configuration, execution of the update of the common key, which requires a longer processing time than execution of the synchronization of each counter 20, can be highly avoided. With this configuration, the communication system having a small processing capacity can preferably avoid the update of the common key. The communication system having a small processing capacity may include the communication system in which the communication device 10 is connected to an in-vehicle network.(3) It is assumed as a first case that the number of times the determination section 18 successively determines the discrepancy between the MACs becomes equal to or greater than the predetermined number of synchronizations even if the transmission section 14 has transmitted the synchronization request for synchronizing the counter 20. As a second case, it is assumed that the total number of times the determination section 18 determines the discrepancy between the MACs becomes equal to or greater than the predetermined number of total discrepancies even though the transmission section 14 has transmitted the synchronization request for synchronizing the counter 20. In the first case or the second case, the reception communication device 10 estimates that the cause of the discrepancy between the MACs is caused by the deviation of at least one of the common key or the values of the counters 20, and sends the reset and update request. Here, the reset and update request requests the reset of the value of each counter 20 and the update of the common key.In the above-described configuration, when the discrepancy between the MACs is caused by the deviation of the common key and / or the values of the counter 20, the cause of the discrepancy between the MACs can be solved by requesting the reset of the value of each counter 20 and the update of the common key as an appropriate procedure.(4) During the abnormal state, it is assumed as a first case that the number of times the determination section 18 continuously determines the discrepancy between the MACs is equal to or greater than the predetermined number of successive resets and updates even though the transmission section 14 has transmitted the reset and update request. During the abnormal state, it is assumed as a second case that the total number of times the determination section 18 determines the discrepancy between the MACs becomes equal to or greater than the predetermined number of total resets and updates even though the transmission section 14 has transmitted the reset and update request. Here, the reset and update request requests the reset of the value of each counter 20 and the update of the common key. In the first or second case, the reception communication device 10 sets the diagnostic code indicating the abnormality or sends a signal indicating the abnormality to the notification communication device 10.<4 Other Embodiments>(1) In the above-described embodiment, which corresponds to various conditions indicating the discrepancy of the MACs, either the synchronization request for the counter 20 or the reset and update request is executed. Here, the reset and update request requests the reset of the value of the counter 20 and the update of the common key. Alternatively, only the synchronization request for the counter 20 may be executed according to the various conditions indicating the discrepancy of the MACs.(2) In the above-described embodiment, the data and the MAC are set in the same data field of the CAN frame. Alternatively, the data and the MAC may be set in different CAN frames.The transmission communication device 10 may set the data, the MAC, and a value of at least low bits of the own counter 20 in the data field of the CAN frame transmitted to the reception communication device 10. In this configuration, the reception communication device 10 can rewrite low bits of the value of the own counter 20 to the low bits of the value of the counter 20 of the transmission communication device 10 included in the received CAN frame.(3) In each embodiment, a function of one element may be distributed among a plurality of elements, and a function of a plurality of elements may be integrated into one element. In each embodiment, a part of a configuration may be omitted. At least a part of a configuration described above in one embodiment may be added to another embodiment or may replace the corresponding configuration in another embodiment.(4) Various types of other embodiments other than the communication device 10 described above may be implemented. For example, a communication system 2 including the communication device 10, a communication program executed by a computer to function as the communication device 10, a storage medium storing the communication program, or a communication method may be provided as the various embodiments.
Claims
A communication device connected to a network and authenticating communication data communicated on the network based on a message authentication code, the communication device comprising: a counter (20); a receiving section (12) receiving the communication data from another communication device; an updating section (22) updating a value of the counter (20) to match a value of a counter (20) of the other communication device when the receiving section (12) receives the communication data from the other communication device; a code generating section (16) generating the message authentication code based on the communication data received by the receiving section (12), the value of the counter (20), and a common key; a determination section (18) that determines whether the message authentication code generated by the code generation section (16) coincides with a message authentication code set in the communication data; and a transmission section (14) that transmits a synchronization request and matches the value of the counter (20) with the value of the counter (20) of the other communication device when a number of times the determination section (18) determines a discrepancy between the message authentication code generated by the code generation section (16) and the message authentication code set in the communication data received by the reception section (12) becomes equal to or greater than a predetermined number of discrepancies, wherein the transmission section (14) transmits a reset and update request, requesting resetting of the value of the counter (20) and updating of the common key when a number of times the determination section (18) determines a discrepancy between the message authentication code generated by the code generation section (16) and the message authentication code set in the communication data received by the receiving section (12) becomes equal to or greater than a predetermined number of synchronizations after the transmission section (14) has transmitted the synchronization request.The communication device according to claim 1, wherein the transmitting section (14) transmits the synchronization request and matches the value of the counter with the value of the counter (20) of the other communication device when a number of times the determining section (18) continuously determines the discrepancy between the message authentication code generated by the code generating section (16) and the message authentication code set in the communication data becomes equal to or greater than a predetermined number of consecutive discrepancies.The communication device according to claim 1, wherein the transmitting section (14) transmits a reset and update request requesting resetting of the counter (20) and updating of the common key when a total number of times the determining section (18) determines a discrepancy between the message authentication code generated by the code generating section (16) and the message authentication code set in the communication data received by the receiving section (12) becomes equal to or greater than a predetermined number of total discrepancies, and the predetermined number of total discrepancies is set to be greater than the predetermined number of discrepancies.The communication device according to claim 2, wherein the transmitting section (14) transmits a reset and update request requesting resetting of the counter (20) and updating of the common key when a total number of times the determining section (18) determines a discrepancy between the message authentication code generated by the code generating section (16) and the message authentication code set in the communication data received by the receiving section (12) becomes equal to or greater than a predetermined number of total discrepancies, and the predetermined number of total discrepancies is set to be greater than the predetermined number of consecutive discrepancies.The communication device according to claim 1, wherein the transmitting section (14) transmits the reset and update request requesting the reset of the value of the counter (20) and the update of the common key when a number of times the determining section (18) continuously determines a discrepancy between the message authentication code generated by the code generating section (16) and the message authentication code set in the communication data received by the receiving section (12) becomes equal to or greater than a predetermined number of synchronizations after the transmitting section (14) transmits the synchronization request.The communication device according to any one of claims 3 to 5, further comprising a notifying section (26) that notifies occurrence of abnormality when a number of times the determining section (18) determines a discrepancy between the message authentication code generated by the code generating section (16) and the message authentication code set in the communication data received by the receiving section (12) becomes equal to or greater than a predetermined number of resets and updates after the transmitting section (14) transmits the synchronization request.The communication apparatus according to claim 6, wherein the notifying section (26) notifies occurrence of abnormality when a number of times the determining section (18) successively determines a discrepancy between the message authentication code generated by the code generating section (16) and the message authentication code set in the communication data received by the receiving section (12) becomes equal to or greater than a predetermined number of successive resets and updates after the transmitting section (14) transmits the synchronization request.The communication apparatus according to any one of claims 3 to 7, further comprising a notifying section (26) that notifies occurrence of abnormality when the total number of times the determining section (18) determines a discrepancy between the message authentication code generated by the code generating section (16) and the message authentication code set in the communication data received by the receiving section (12) becomes equal to or greater than a predetermined number of total reset and update requests after the transmitting section (14) transmits the synchronization request.The communication device according to any one of claims 1 to 8, wherein the communication data and the message authentication code used in authenticating the communication data are set together in the same communication frame.The communication device according to any one of claims 1 to 9, wherein the communication device is connected to an in-vehicle network.A communication method, wherein a communication device connected to a network authenticates communication data communicated on the network based on a message authentication code, the communication method comprising: matching a value of a counter (20) of the communication device with a value of a counter (20) of another one of the communication devices by updating the value of the counter (20) of the communication device when the communication data is received from the other communication device; generating the message authentication code based on the communication data received, the value of the counter (20) of the communication device, and a common key; determining whether the message authentication code generated matches a message authentication code set in the communication data received; sending a synchronization request and matching the value of the counter (20) of the communication device with the value of the counter (20) of the other communication device when a number of times that a discrepancy between the message authentication code generated and the message authentication code set in the communication data received becomes equal to or greater than a predetermined number of discrepancies is determined, sending a reset and update request that requests a reset of the value of the counter (20) and an update of the common key when a number of times that a discrepancy between the message authentication code generated and the message authentication code set in the communication data received is determined to be equal to or greater than a predetermined number of synchronizations, after the synchronization request has been sent.A communication program stored in a non-transitory, tangible computer readable storage medium, the communication program comprising instructions to be executed by a computer, the computer being included in a communication device connected to a network and authenticating communication data communicated on the network based on a message authentication code, the instructions implementing: matching a value of a counter (20) of the communication device with a value of a counter (20) of another of the communication device by updating the value of the counter (20) of the communication device when the communication data is received from the other communication device; generating the message authentication code based on the communication data received, the value of the counter (20) of the communication device, and a common key; determining whether the message authentication code generated matches a message authentication code set in the communication data received; and sending a synchronization request and matching the value of the counter (20) of the communication device with the value of the counter (20) of the other communication device when a number of times that a discrepancy between the message authentication code generated and the message authentication code set in the communication data received becomes equal to or greater than a predetermined number of discrepancies is determined, wherein a reset and update request is sent that requests a reset of the value of the counter (20) and an update of the common key when a number of times that a discrepancy between the message authentication code generated, and the message authentication code set in the communication data received becomes equal to or greater than a predetermined number of synchronizations after the synchronization request is transmitted.
Citation Information
Patent Citations
Method and device for secure communication in a vehicle-based data communication system
DE102014113111A1
On-vehicle network system, fraud-detection electronic control unit, and method for tackling fraud
EP3142291A1
Message authentication method for communication system, and communication system
JP2013098719A
JP002013098719A
