From: Vladimir Kondratiev Date: Thu, 5 Jul 2012 11:36:20 +0000 (+0300) Subject: introduce GCMP cipher X-Git-Tag: v3.6~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8b3da9df8d15b857b13887feccdd05c46c7347e;p=thirdparty%2Fiw.git introduce GCMP cipher Recognize cipher suite selector and print "GCMP" name Signed-off-by: Vladimir Kondratiev --- diff --git a/info.c b/info.c index e896eb5..50a9073 100644 --- a/info.c +++ b/info.c @@ -36,6 +36,8 @@ static char *cipher_name(__u32 c) return "CCMP (00-0f-ac:4)"; case 0x000fac06: return "CMAC (00-0f-ac:6)"; + case 0x000fac08: + return "GCMP (00-0f-ac:8)"; case 0x00147201: return "WPI-SMS4 (00-14-72:1)"; default: diff --git a/scan.c b/scan.c index 5f8ce93..7ae7929 100644 --- a/scan.c +++ b/scan.c @@ -305,6 +305,9 @@ static void print_cipher(const uint8_t *data) case 6: printf("AES-128-CMAC"); break; + case 8: + printf("GCMP"); + break; default: printf("%.02x-%.02x-%.02x:%d", data[0], data[1] ,data[2], data[3]);