3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-21 22:09:23 +01:00

hwsim: add remaining ciphers to supported list

This list was not updated when adding the new ciphers which prevented
these ciphers from being disabled.
This commit is contained in:
James Prestwood 2022-11-01 13:17:40 -07:00 committed by Denis Kenzior
parent 47b6da81b4
commit 802e9e5916

View File

@ -176,6 +176,12 @@ static const uint32_t hwsim_supported_ciphers[] = {
CRYPTO_CIPHER_TKIP, CRYPTO_CIPHER_TKIP,
CRYPTO_CIPHER_CCMP, CRYPTO_CIPHER_CCMP,
CRYPTO_CIPHER_BIP_CMAC, CRYPTO_CIPHER_BIP_CMAC,
CRYPTO_CIPHER_GCMP,
CRYPTO_CIPHER_GCMP_256,
CRYPTO_CIPHER_CCMP_256,
CRYPTO_CIPHER_BIP_GMAC,
CRYPTO_CIPHER_BIP_GMAC_256,
CRYPTO_CIPHER_BIP_CMAC_256,
}; };
static uint32_t hwsim_ciphers[L_ARRAY_SIZE(hwsim_supported_ciphers)]; static uint32_t hwsim_ciphers[L_ARRAY_SIZE(hwsim_supported_ciphers)];
static int hwsim_num_ciphers = 0; static int hwsim_num_ciphers = 0;