macsec: key identifier is 128 bits, not 64
authorSabrina Dubroca <sd@queasysnail.net>
Sat, 7 May 2016 18:19:29 +0000 (20:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2016 04:09:01 +0000 (00:09 -0400)
commit8acca6acebd07b238af2e61e4f7d55e6232c7e3a
tree49bb6b2c5bc461d4d4ffdb8ba3f3eabf19e330ef
parentc81aa7979432aa10f23656ef6fa113764eab5e5c
macsec: key identifier is 128 bits, not 64

The MACsec standard mentions a key identifier for each key, but
doesn't specify anything about it, so I arbitrarily chose 64 bits.

IEEE 802.1X-2010 specifies MKA (MACsec Key Agreement), and defines the
key identifier to be 128 bits (96 bits "member identifier" + 32 bits
"key number").

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macsec.c
include/uapi/linux/if_macsec.h