From 0dad3e6660594592071ae49a77a907e2b11a98fe Mon Sep 17 00:00:00 2001 From: Joerg Werner Date: Fri, 19 Aug 2022 11:06:22 +0200 Subject: Add support for CCMP-256 and GCMP-256 ciphers Signed-off-by: Joerg Werner --- iwinfo_lua.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'iwinfo_lua.c') 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, "); -- cgit v1.2.1