diff options
author | Joerg Werner <schreibubi@gmail.com> | 2022-08-19 11:06:22 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-08-20 17:59:11 +0200 |
commit | 0dad3e6660594592071ae49a77a907e2b11a98fe (patch) | |
tree | 7f39c96f332fc51ff6f8ac3720f711a02cf36959 /iwinfo_lua.c | |
parent | 705d3b5cc30ed1ac3b2fed131259bcbc61177e41 (diff) | |
download | iwinfo-0dad3e6660594592071ae49a77a907e2b11a98fe.tar.gz |
Add support for CCMP-256 and GCMP-256 ciphers
Signed-off-by: Joerg Werner <schreibubi@gmail.com>
Diffstat (limited to 'iwinfo_lua.c')
-rw-r--r-- | iwinfo_lua.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/iwinfo_lua.c b/iwinfo_lua.c index e49e454..a2fe9d1 100644 --- a/iwinfo_lua.c +++ b/iwinfo_lua.c @@ -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, "); |