Malisa, Can you please comment? Thomas On Wed, Jul 18, 2018 at 8:16 PM Tero Kivinen <[email protected]> wrote:
> I think the Link_Layer_Key can very easily changed to send any kind of > keys that are supported by 802.15.4. > > If it is updated as follows: > > Link_Layer_Key = ( > key_index : uint, > ? key_usage : uint / nint, > key_value : bstr, > ? key_source : bstr, > ) > > Then it can include all KeyIdModes of 802.15.4. > > For KeyIdMode 0 (pairwise keys), the key_index is set to 0, and > key_source is omitted. The key_index 0 is invalid for other modes, and > KeyIdMode 0 do not have key_index, so this will allow us to transmit > pairwise keys between the peers (the addresses needs to be taken from > the MAC header). > > For KeyIdMode 1 (key index only), the key_index is set, and key_source > is omitted. This is what is defined now. > > For KeyIdMode 2 (key index + pan id and short address of key owner), > the key_index is set and key_source is set to contain 4 octets, > containing 2 octet pan id, and 2 octet short address. > > For KeyIdMode 3 (key index + extended address of key owner), the > key_index is set, and key_source is set to contain 8 octets of > extended address of the key owner. > -- > [email protected] > > _______________________________________________ > 6tisch mailing list > [email protected] > https://www.ietf.org/mailman/listinfo/6tisch > -- ________________________________________ Thomas Watteyne, PhD Research Scientist & Innovator, Inria Sr Networking Design Eng, Analog Devices Founder & co-lead, UC Berkeley OpenWSN Co-chair, IETF 6TiSCH www.thomaswatteyne.com ________________________________________
_______________________________________________ 6tisch mailing list [email protected] https://www.ietf.org/mailman/listinfo/6tisch
