[PATCH] Update Algorithm Agility ID

Jaap Keuter jaap.keuter at xs4all.nl
Thu Apr 6 05:50:49 PDT 2017


The Algorithm Agility parameter value 00-80-C2-01 is corrected to
IEEE 802.1X-2010 in IEEE 802.1Xbx-2014. Change the identifier to
reflect this correction.

Signed-off-by: Jaap Keuter <jaap.keuter at xs4all.nl>
---
 src/pae/ieee802_1x_kay.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/pae/ieee802_1x_kay.c b/src/pae/ieee802_1x_kay.c
index 1d4ed89c0..87c00bbb6 100644
--- a/src/pae/ieee802_1x_kay.c
+++ b/src/pae/ieee802_1x_kay.c
@@ -32,8 +32,9 @@
 #define MKA_ALIGN_LENGTH(len) (((len) + 0x3) & ~0x3)
 
 /* IEEE Std 802.1X-2010, Table 9-1 - MKA Algorithm Agility */
-#define MKA_ALGO_AGILITY_2009 { 0x00, 0x80, 0xC2, 0x01 }
-static u8 mka_algo_agility[4] = MKA_ALGO_AGILITY_2009;
+/* IEEE Std 802.1Xbx-2014, Table 9-1 - MKA Algorithm Agility */
+#define MKA_ALGO_AGILITY_2010 { 0x00, 0x80, 0xC2, 0x01 }
+static u8 mka_algo_agility[4] = MKA_ALGO_AGILITY_2010;
 
 /* IEEE802.1AE-2006 Table 14-1 MACsec Cipher Suites */
 static struct macsec_ciphersuite cipher_suite_tbl[] = {
@@ -51,7 +52,7 @@ static struct macsec_ciphersuite cipher_suite_tbl[] = {
 
 static struct mka_alg mka_alg_tbl[] = {
 	{
-		.parameter = MKA_ALGO_AGILITY_2009,
+		.parameter = MKA_ALGO_AGILITY_2010,
 
 		/* 128-bit CAK, KEK, ICK, ICV */
 		.cak_len = DEFAULT_ICV_LEN,
-- 
2.11.0




More information about the Hostap mailing list