Method of authenticating can packets using mixture of MACs and apparatus for implementing the same

US9787677B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9787677-B2
Application numberUS-201514632467-A
CountryUS
Kind codeB2
Filing dateFeb 26, 2015
Priority dateOct 2, 2014
Publication dateOct 10, 2017
Grant dateOct 10, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method and apparatus for authenticating packets in a controller area network (CAN) are disclosed. The method includes transmitting messages using a mixture of message authentication codes (MACs) in a controller area network (CAN). In addition, a first MAC is generated using a first message and the first MAC is divided into a first MAC part and a second MAC part. A second MAC is generated using a second message and the second MAC is divided into a third MAC part and a fourth MAC part. A linear operation is performed between the second MAC part and the third MAC part to generate a first authentication MAC. The first message is transmitted with the first MAC part and the second message is transmitted with the first authentication MAC.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of transmitting messages using a mixture of message authentication codes (MACs) for authentication of messages in a vehicle controller area network (CAN) including a plurality of CAN controllers equipped in a vehicle, the method comprising: generating, by a sending controller among the plurality of CAN controllers, a first MAC using a first message; dividing, by the sending controller, the first MAC into a first MAC part and a second MAC part; generating, by the sending controller, a second MAC using a second message; dividing, by the sending controller, the second MAC into a third MAC part and a fourth MAC part; performing, by the sending controller, a linear operation between the second MAC part and the third MAC part to generate a first authentication MAC; transmitting, by the sending controller, the first message along with the first MAC part, but not the second MAC part, to a receiving controller among the plurality of CAN controllers; transmitting, by the sending controller, the second message along with the first authentication MAC to the receiving controller; authenticating, by the receiving controller, the first and second messages based on the first MAC part and the first authentication MAC; and performing, by the receiving controller, an operation in the vehicle according to the first and second messages in response to authenticating the first and second messages. 2. The method according to claim 1 , wherein the dividing of the first MAC includes dividing, by the controller, the first MAC into the MAC parts having about the same size and the dividing of the second MAC includes dividing, by the controller, the second MAC into the MAC parts having about the same size. 3. The method according to claim 2 , wherein the first MAC part corresponds to a first half of the first MAC, and the second MAC part corresponds to a second half of the first MAC. 4. The method according to claim 2 , wherein the third MAC part corresponds to a first half of the second MAC, and the fourth MAC part corresponds to a second half of the second MAC. 5. The method according to claim 1 , wherein the linear operation is an exclusive OR (XOR) operation. 6. A method of receiving messages using a mixture of message authentication codes (MACs) for authentication of messages in a vehicle controller area network (CAN) including a plurality of CAN controllers equipped in a vehicle, the method comprising: receiving, by a receiving controller among the plurality of CAN controllers, a first frame including a first message and a first authentication MAC from a sending controller among the plurality of CAN controllers; calculating, by the receiving controller, a first MAC using the first message; dividing, by the controller, the first MAC into a first MAC part and a second MAC part; comparing, by the receiving controller, the first authentication MAC with the first MAC part to partially authenticate the first message; receiving, by the receiving controller, a second frame including a second message and a second authentication MAC from the sending controller; calculating, by the receiving controller, a second MAC using the second message; dividing, by the receiving controller, the second MAC into a third MAC part and a fourth MAC part; performing, by the receiving controller, a linear operation between the second MAC part and the second authentication MAC to calculate the third MAC part; comparing, by the receiving controller, the divided third MAC part and the calculated third MAC part to partially authenticate the second message; and performing, by the receiving controller, an operation in the vehicle according to the first and second messages in response to authenticating the first and second messages. 7. The method according to claim 6 , further comprising: performing, by the controller, a linear operation between the second authentication MAC and the divided third MAC part to calculate the second MAC part; and comparing, by the controller, the calculated second MAC part and the divided second MAC part to authenticate the first message. 8. The method according to claim 7 , wherein the first MAC part corresponds to a first half of the first MAC, and the second MAC part corresponds to a second half of the first MAC. 9. The method according to claim 7 , wherein the third MAC part corresponds to a first half of the second MAC, and the fourth MAC part corresponds to a second half of the second MAC. 10. The method according to claim 6 , further comprising: determining, by the controller, that the first message is authenticated when the divided third MAC part and the calculated third MAC part are identical. 11. The method according to claim 6 , wherein the dividing of the first MAC includes dividing, by the controller, the first MAC into the MAC parts having the same size and the dividing of the second MAC includes dividing, by the controller, the second MAC into the MAC parts having the same size. 12. The method according to claim 6 , wherein the linear operation is an exclusive OR (XOR) operation. 13. The method according to claim 6 , further comprising: comparing, by the controller, results of partially authenticating the first and second messages with a predetermined determination rule to determine a frame in which an error occurs. 14. A controller for transmitting messages using a mixture of message authentication codes (MACs) for authentication of messages in a vehicle controller area network (CAN) including a plurality of CAN controllers equipped in a vehicle, the controller comprising: a memory configured to store program instructions; and a processor configured to execute the program instructions, which when executed cause the processor to: generate a first message and a second message; generate a first MAC using the first message; divide the first MAC into a first MAC part and a second MAC part; generate a second MAC using the second message; divide the second MAC into a third MAC part and a fourth MAC part; perform a linear operation between the second MAC part and the third MAC part to generate a first authentication MAC; transmit the first message together with the first MAC part, but not the second MAC part, to a receiving controller among the plurality of CAN controllers; and transmit the second message along with the first authentication MAC to the receiving controller, wherein the receiving controller authenticates the first and second messages based on the first MAC part and the first authentication MAC and performs an operation in the vehicle according to the first and second messages in response to authenticating the first and second messages. 15. The controller according to claim 14 , wherein the program instructions when executed further cause the processor to divide the first MAC into the MAC parts having about the same size and divides the second MAC into the MAC parts having about the same size. 16. The controller according to claim 15 , wherein the first MAC part corresponds to a first half of the first MAC, and the second MAC part corresponds to a second half of the first MAC. 17. The controller according to claim 15 , wherein the third MAC part corresponds to a first half of the second MAC, and the fourth MAC part corresponds to a second half of the second MAC. 18. The controller according to claim 14 , wherein the linear operation is an exclusive OR (XOR) operation. 19. A controller for receiving messages using a mixture of message authentication codes (MACs) for auth

Assignees

Inventors

Classifications

  • H04L9/32Primary

    including means for verifying the identity or authority of a user of the system {or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials} · CPC title

  • for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838) · CPC title

  • at the data link layer · CPC title

  • H04L63/08Primary

    for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32) · CPC title

  • Data link layer protocols · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9787677B2 cover?
A method and apparatus for authenticating packets in a controller area network (CAN) are disclosed. The method includes transmitting messages using a mixture of message authentication codes (MACs) in a controller area network (CAN). In addition, a first MAC is generated using a first message and the first MAC is divided into a first MAC part and a second MAC part. A second MAC is generated usin…
Who is the assignee on this patent?
Hyundai Motor Co Ltd, Kia Motors Corp, Industry-Academic Coop Found Chosun Univ, and 1 more
What technology area does this patent fall under?
Primary CPC classification H04L9/32. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Oct 10 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).