摘要 |
A system for communicating over electrical wiring in a house or other building is presented. Components are grouped and each group is assigned a group identifier code. Components communicate only with components of the same group, using the group identifier code. Each message includes the group identifier code, message data, and a message authentication code (MAC1) that is calculated for each message. A receiving component disregards any message whose group identifier code is not the same as that of the receiving component. MACs are calculated using a shared key value and a one-way hash function. The shared key value, in turn, is taken from an ordered sequence of key values that is defined for each component group based on a counter value. To change to a new key value, one component of the group simply starts using the new key value. When a receiving component receives a message that does not. Authenticate using the current key value, it tries the next value in sequence. If the message authenticates using the next key value, the next key value is adopted as the current key value for future communications.
|