END-TO-END PROTECTION METHOD
The present disclosure relates to an electronical device adapted to execute a communication via a communication bus, and comprising a hardware component, different from a processor, and able to execute directly an end-to-end protection method of said communication.
1 . An electronical device configured to execute a communication via a communication bus, wherein the electronical device comprises a hardware component different from a processor, and wherein the electronical device is configured to execute directly an end-to-end protection method of the communication;
wherein the electronical device, during the communication, is configured to receive, to transmit, or to receive and to transmit at least one message comprising a control field data; and
wherein the end-to-end protection method comprises:
generating the control field data of the at least one message using data from the message to calculate the control field data and increasing a message counter.
2 . The electronical device of claim 1 , wherein the communication bus is a controller area network bus.
3 . The electronical device of claim 1 , wherein the communication bus is a controller area network flexible data-rate bus.
4 . The electronical device of claim 1 , wherein the communication bus is a controller area network flexible data-rate light bus.
5 . The electronical device of claim 1 , wherein the communication bus is a controller area network flexible data-rate XL bus.
6 . The electronical device of claim 1 , wherein the hardware component is a finite-state-machine.
7 . (canceled)
8 . (canceled)
9 . (canceled)
10 . The electronical device of claim 1 , wherein the end-to-end protection method further comprises:
verifying the control field data of the at least one message.
11 . The electronical device of claim 10 , wherein verifying the control field data of the at least one message comprises:
using data from the message to calculate a first version of the control field data;
verifying the first version with a second version of the control field data comprised in the message;
verifying a value of a message counter to a stored value of the message counter;
if a verification fails, increasing an error counter; and if all verifications succeed, decreasing an error counter.
12 . An end-to-end protection method of a communication executed directly by a hardware component of an electronical device adapted to execute the communication via a communication bus, wherein the end-to-end protection method comprises:
wherein the electronical device, during the communication, is configured to receive, to transmit, or to receive and to transmit at least one message comprising a control field data;
generating the control field data of at least one message, wherein generating the control field data comprises:
using data from the message to calculate the control field data; and
increasing a message counter;
performing verification comprising:
using data from the message to calculate a first version of the control field data;
verifying the first version with a second version of the control field data comprised in the message;
verifying a value of a message counter to a stored value of the message counter;
if one of the verification fails, increasing an error counter; and
if all the verifications succeed, decreasing an error counter.
13 . The end-to-end protection method of claim 12 , wherein the communication bus is a controller area network bus.
14 . The end-to-end protection method of claim 12 , wherein the communication bus is a controller area network flexible data-rate bus.
15 . The end-to-end protection method of claim 12 , wherein the communication bus is a controller area network flexible data-rate light bus.
16 . The end-to-end protection method of claim 12 , wherein the communication bus is a controller area network flexible data-rate XL bus.
17 . The end-to-end protection method of claim 12 , wherein the hardware component is a finite-state-machine.
18 . A system comprising the first electronical device of claim 1 and at least one second electronical device.
19 . The system of claim 18 , wherein the at least one second electronical device comprises a second electronical device of the electronical device of claim 1 .
20 . The system of claim 18 , wherein the at least one second electronical device is configured to execute an end-to-end protection method.