airo: switch to skcipher interface
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 17 Jun 2019 08:43:38 +0000 (10:43 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 05:12:20 +0000 (08:12 +0300)
commite5db0ad7563c38b7b329504836c9a64ae025a47a
tree9108a9d15117c1642dee4f6a78aa666055b92439
parent0f47aeeada2a1fe296258eab9a08ced258009481
airo: switch to skcipher interface

The AIRO driver applies a ctr(aes) on a buffer of considerable size
(2400 bytes), and instead of invoking the crypto API to handle this
in its entirety, it open codes the counter manipulation and invokes
the AES block cipher directly.

Let's fix this, by switching to the sync skcipher API instead.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/cisco/Kconfig
drivers/net/wireless/cisco/airo.c