]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9bdf09583bdd009ec7203fd52f51b2cca11e6a69
tree9108a9d15117c1642dee4f6a78aa666055b92439
parent5f90a665c9443e6df0eedd5d027eb9d37a7ba311
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