Add support for CCMP-256 and GCMP-256 ciphers
[project/iwinfo.git] / iwinfo_lua.c
index e49e454d3a81e12a58e5bb546b8ad63ecc59be3b..a2fe9d18ffbfe630fe3b3a5e2c3409e39d10c72c 100644 (file)
@@ -61,9 +61,15 @@ static char * iwinfo_crypto_print_ciphers(int ciphers)
        if (ciphers & IWINFO_CIPHER_CCMP)
                pos += sprintf(pos, "CCMP, ");
 
+       if (ciphers & IWINFO_CIPHER_CCMP256)
+               pos += sprintf(pos, "CCMP-256, ");
+
        if (ciphers & IWINFO_CIPHER_GCMP)
                pos += sprintf(pos, "GCMP, ");
 
+       if (ciphers & IWINFO_CIPHER_GCMP256)
+               pos += sprintf(pos, "GCMP-256, ");
+
        if (ciphers & IWINFO_CIPHER_WRAP)
                pos += sprintf(pos, "WRAP, ");